LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem compiling libcin.c

Hello,

I am trying to compile a old libcin.c file to work with the new labview
6.1. The old Include.make needs cinetc.o and lvlsbhead.o files. However I
was unable to find those two files under the new labview 6.1. Are those two
files still needed in lv61? Thanks for your help.

--
Regards,

Roger
0 Kudos
Message 1 of 8
(2,787 Views)
Roger,

What version of LabVIEW were you coming from? Have you read the Using External Code in LabVIEW manual that came with LabVIEW 6.1. Go to Start»Programs»National Instruments»LabVIEW 6.1»Search the LabVIEW Bookshelf. Choose the external code manual and look under CINs.

Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
0 Kudos
Message 2 of 8
(2,787 Views)
Hi Randy,

I believe we were using LabView 3.0 before and we are trying to upgrade
to the 6.1. Is there any online documents I can download? It will take
sometimes for me to track down which person has the manual.

Thanks for your help.

Regards,

Roger

"Randy H" wrote in message
news:506500000005000000C36E0000-1017707437000@exchange.ni.com...
> Roger,
>
> What version of LabVIEW were you coming from? Have you read the
> Using External Code in LabVIEW manual that came with LabVIEW
> 6.1. Go to Start»Programs»National
> Instruments»LabVIEW 6.1»Search the LabVIEW Bookshelf
.
> Choose the external code manual and look under CINs.
>
> Randy Hoskin
> Applications Engineer
> National Instruments
> http://
www.ni.com/ask
0 Kudos
Message 3 of 8
(2,787 Views)
Randy,

I forgot to mention that our LabView is running on the Sun workstation.
(Solaris 2.6)

--
Regards,

Roger

"Randy H" wrote in message
news:506500000005000000C36E0000-1017707437000@exchange.ni.com...
> Roger,
>
> What version of LabVIEW were you coming from? Have you read the
> Using External Code in LabVIEW manual that came with LabVIEW
> 6.1. Go to Start»Programs»National
> Instruments»LabVIEW 6.1»Search the LabVIEW Bookshelf
.
> Choose the external code manual and look under CINs.
>
> Randy Hoskin
> Applications Engineer
> National Instruments
> http://www.ni.com/ask
0 Kudos
Message 4 of 8
(2,787 Views)
Roger,

The manual is pdf only. You can get to it here.
A lot of things have changed over that amount of time. You may have a lot of changes ahead.

Randy Hoskin
0 Kudos
Message 5 of 8
(2,787 Views)
Thanks for your help Randy.

I have just one more question... in the document 3-16, it says the makefile
produced assumes that cin.o, libcin.a, makeglueXXX.awk and lvsbutil files
are in certain location.... I was unable to find the makeglueXXX.awk (In our
case, it should be makeglueSVR4.awk) under the lv61 directory. Can we use
the same makeglueSVR4.awk from the older labview version? (It was dated Sep
18, 1993)

--
Regards,

Roger Chao
0 Kudos
Message 6 of 8
(2,787 Views)
Roger,

I doubt it as many things have changed. You could try it though. (Have you searched everywhere for it?)

Randy Hoskin
0 Kudos
Message 7 of 8
(2,787 Views)
I tried to search for that file but no luck so far. I am waiting for the
system admin to copy the older makeglueSRV4.awk file over.

Right now I am gettting the following message when I compile the libcin.c:

/tpsV24.1/bin/cc -I/usr/include -I../../amc2/include -I../include -I/local/
tools/vxworks/h -c libcin.c
/usr/ccs/bin/ld -L. -L../lib -L../../lib -r -o libcin.tmp
/opt/lv61/cintools/cin.o libcin.o -lcin_if
/opt/lv61/cintools/lvsbutil -c libcin -t CIN -d `pwd`
/opt/lv61/cintools/lvsbutil: error building resource file: 23
*** Error code 2
make: Fatal error: Command failed for target `libcin.lsb'

Hopefully the makeglueSRV4.awk will solve this problem. Thanks again for
your help.
--
Regards,

Roger Chao
0 Kudos
Message 8 of 8
(2,787 Views)