|
From: Martin K. <mar...@un...> - 2005-12-02 14:04:27
|
Thank you for this helpful hint. Now I'm struggling with the next problem: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: wrapperjni_unix.o: relocation R_X86_64_32 against `handleInterrupt' can not be used when making a shared object; recompile with -fPIC Any idea? Thanks, Martin Andreas Wendt wrote: >Hi Martin, > >adding the math library to the link line with -lm should do the job: > >wrapper: $(wrapper_SOURCE) > $(COMPILE) $(wrapper_SOURCE) -lm -o $(BIN)/wrapper > >Cheers, >Andreas > > > >>Hi, >> >>When compiling the service wrapper on an Linux/AMD64 box I get following >>errors: >> >>/tmp/ccWtwCwN.o: In function `wrapperStartPendingSignalled': >>wrapper.c:(.text+0x3d4c): undefined reference to `ceil' >>/tmp/ccWtwCwN.o: In function `wrapperStopPendingSignalled': >>wrapper.c:(.text+0x3e50): undefined reference to `ceil' >>/tmp/ccWtwCwN.o: In function `wrapperProtocolRead': >>wrapper.c:(.text+0x427c): undefined reference to `ceil' >> >>Has anybody a solution for this problem? >> >> >>Martin >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >>for problems? Stop! Download the new AJAX search engine that makes >>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >>http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >>_______________________________________________ >>Wrapper-user mailing list >>Wra...@li... >>https://lists.sourceforge.net/lists/listinfo/wrapper-user >> >> > > > > >------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. Do you grep through log files >for problems? Stop! Download the new AJAX search engine that makes >searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! >http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click >_______________________________________________ >Wrapper-user mailing list >Wra...@li... >https://lists.sourceforge.net/lists/listinfo/wrapper-user > > > |