[Bacnet-developers] Compiling bacnet stack problem
Brought to you by:
skarg
|
From: Isaac C. <son...@ya...> - 2008-01-29 05:09:16
|
Hi,
I compiled the bacnet stack under Ubuntu without problem, I then compiled under Windows XP using free Borland builder 5.5 without problem. I start the server on Linux then query (read propert) from Windows XP fine and I even tried the reverse (Win server) Linux query (read property) and it also runs good. Then I tried to cross compile for an Arm 9 board TS-7200 from www.embeddedarm.com by replacing all the Makefile with this CC = arm-linux-gcc and it started compiling but giving me an error on this line:
arm-linux-gcc -pthread main.o -Wl, -Map=bacrp.map,-lc,-lgcc,-lm,-L=../../lib,-lbacnet -o bacrp
/home/guest/usr/local/opt/crosstool/arm-linux/gcc-3.3.4-glibc-2.3.2/bin/../lib/gcc-lib/arm-linux/3.3.4/../../../../arm-linux/bin/ld: cannot find -lbacnet
collect2: ld returned 1 exit status
make[1]: *** [bacrp] Error 1
make[1]: Leaving directory '/home/guest/bacnet-stack-0.4.2/demo/readprop'
cp: cannot stat 'bacrp': No such file or directory
make: *** [readprop] Error 1
Sorry for the long error result but I think it's failing on the line cannot find -lbacnet which is using by LIBRARIES on the Makefile but it works fine on Linux and Windows (using Borland).
Any ideas?
Thanks,
Sonny
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
|