Hi,
I am now trying to port the rsplib, socketapi and sctp to another
application under Linux SuSE 7.3. Therefore, in the MakeFile of the application
I included the directories where the necessary header files are, and tried to
link it with -lrsplib, -lsctpsocket, -lsctp and -lglib. But, I definitely
did not do it properly so the following error was displayed:
trns.o: In function `cleanUp(void)':
trns.o(.text+0x19): undefined reference to `ext_close' trns.o(.text+0x2b): undefined reference to `rspCleanUp' trns.o: In function `initAll(void)': trns.o(.text+0x47): undefined reference to `rspInitialize' trns.o(.text+0x83): undefined reference to `installBreakDetector' trns.o: In function `connectToUAS(int *)': trns.o(.text+0xe6): undefined reference to `ext_socket' trns.o(.text+0x125): undefined reference to `fputaddress' trns.o(.text+0x146): undefined reference to `setNonBlocking' trns.o(.text+0x158): undefined reference to `getSocklen' trns.o(.text+0x16d): undefined reference to `ext_connect' trns.o(.text+0x272): undefined reference to `ext_select' trns.o(.text+0x2da): undefined reference to `ext_close' collect2: ld returned 1 exit status make: *** [sipsrv] Error 1 I guess that the linking with the rsplib and socketapi libraries is not
done properly. Do you have some hint?
Best regards,
Marjan
|
Archive powered by MHonArc 2.6.19+.