I've seen something similar before which turned out to be a linker quirk. If you rearrange the order of libraries it's linking, it might work.
--Micah On Fri, Sep 26, 2003 at 09:34:08PM +0200, Michael Obenland wrote: > Hi, > > I try to build 0.45 on my linux box for a psion using arm-linux-gcc. I > think I configured it right, compilation of pgserver works fine. > > Problem starts while linking with the ranlib: The last commands are: > > ==================================================================== > > ar cru .libs/libpgserver.a .libs/libpgserver.lax/libnet.a/eventq.o > > ... etc ... etc ... > > .libs/libpgserver.lax/libos.a/posix_commandline.o > arm-linux-ranlib .libs/libpgserver.a > rm -fr .libs/libpgserver.lax > creating libpgserver.la > (cd .libs && rm -f libpgserver.la && ln -s ../libpgserver.la libpgserver.la) > source='pgmain.c' object='pgmain.o' libtool=no \ > depfile='.deps/pgmain.Po' tmpdepfile='.deps/pgmain.TPo' \ > depmode=gcc /bin/sh ./depcomp \ > arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -Iinclude -I./include -O2 > -fomit-frame-pointer -c `test -f 'pgmain.c' || echo './'`pgmain.c > /bin/sh ./libtool --mode=link arm-linux-gcc -O2 -fomit-frame-pointer > -o pgserver pgmain.o libpgserver.la > arm-linux-gcc -O2 -fomit-frame-pointer -o pgserver pgmain.o > ./.libs/libpgserver.a > ./.libs/libpgserver.a(init.o): In function `pgserver_init': > init.o(.text+0x7c): undefined reference to `input_init' > init.o(.text+0x7c): relocation truncated to fit: R_ARM_PC24 input_init > init.o(.text+0x8c): undefined reference to `infilter_init' > init.o(.text+0x8c): relocation truncated to fit: R_ARM_PC24 infilter_init > > ...etc ...etc ...etc > > collect2: ld returned 1 exit status > make[2]: *** [pgserver] Fehler 1 > > =================================================================== > > Can someone help me with a tip where to look? I don't have a clue why > this wont't link as expected. > > Regards, > > Michael > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Pgui-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/pgui-devel -- Only you can prevent creeping featurism! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
