Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

compiling with hddk for ni6602

Hello

is it right to do

g++ osiUserCode.cpp (which includes than all the osiBus etc.)

So this should give me a executable binary? or a object file, to load as a
module?

But instead of it i get this error:

[root@proto OSinterface]# gcc osiUserCode.cpp
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/3.2/../../../crt1.o(.text+0x18):
undefined reference to `main'
/tmp/ccYjxK5B.o: In function `acquireBoard(unsigned long)':
/tmp/ccYjxK5B.o(.text+0xac): undefined reference to `operator
new(unsigned)'
/tmp/ccYjxK5B.o(.text+0xfc): undefined reference to `operator
delete(void*)'
/tmp/ccYjxK5B.o(.text+0x121): undefined reference to `operator
delete(void*)'
/tmp/ccYjxK5B.o(.text+0x
168): undefined reference to `operator
new(unsigned)'
/tmp/ccYjxK5B.o: In function `releaseBoard(iBus*&)':
/tmp/ccYjxK5B.o(.text+0x1d2): undefined reference to `operator
delete(void*)'
/tmp/ccYjxK5B.o(.eh_frame+0x12): undefined reference to
`__gxx_personality_v0'
collect2: ld returned 1 exit status
[root@proto OSinterface]# ls

Is there any docu for how to build it, except the register level hardware
manual?

So once this works, i could just compile the exsample programms and start
them?

Thanks

Mario

--
Mario Behn
Microwave Remote Sensing Laboratory Room 104
University of Massachusetts
Knowles Engineering Building
Amherst, MA 01003-4410

phone (413) 545-4675
fax (413) 545-4652
email behn@mirsl.ecs.umass.edu
0 Kudos
Message 1 of 2
(2,204 Views)
Hi,

I am not sure if you have taken a look at the following or not.

Link 1

Sincerely,
Sastry V
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,204 Views)