[uClinux-dev] trouble compiling shared libraries

Justin Clacherty justin at tmq.com.au
Wed Mar 19 02:48:00 EST 2003


I'm having some trouble getting something to compile as a shared
library.  Can anyone see what I'm doing wrong?  Here is the command that
my makefile spits out along with the first few error messages.

m68k-elf-g++ -shared -fPIC -O2 -Wall -D_REENTRANT -I../../
-I/usr/local/include/ -m5307 -msep-data -D__UCLINUX__ -DTARGET -o
libserialwrapper.so SerialWrapper.o NMEASerialWrapper.o
/usr/local/m68k-elf/bin/ld.real: warning: cannot find entry symbol
_start; defaulting to
SerialWrapper.o: In function `LibSerial::SerialWrapper::Open(char const
SerialWrapper.o(.text+0xd6): undefined reference to `open'
SerialWrapper.o(.text+0xec): undefined reference to `tcgetattr'


More information about the uClinux-dev mailing list