SCTP Discussions

Text archives Help


[SCTP-Discussion] Building sctp_test_app.c on Solaris 8 using gcc 2.95.3


Chronological Thread 
  • From: "S. Faizi" <sf8487 AT mindspring.com>
  • To: <discussion AT sctp.de>
  • Subject: [SCTP-Discussion] Building sctp_test_app.c on Solaris 8 using gcc 2.95.3
  • Date: Fri Mar 29 12:47:02 2002
  • List-id: SCTP Discussions <discussion.sctp.de>
  • Organization: na

I am using ref implementation 4.5 from www.sctp.org website. I also purchased the SCTP book, but the CDROM that it came with seems corrupted, but I think the CDROM has the same version (4.5).
 
When I make the apps, I get the following error:
 
make -f GNUmakefile
gcc   solaris/addrtest.o   -L/opt/FSFlibg++/lib -DSOLARIS -DWITH_IP_HDRINCL -DSOL_26   -Wall -g  -I. -I../include -I../user -I../baselib -I../apps   ../user/solaris/libsctp.a ../baselib/solaris/libbaselib.a -lsocket -lnsl -lm -lposix4 -lpthread -ltermcap -lhistory  -o solaris/addrtest
ld: fatal: symbol `_init' is multiply-defined:
        (file /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crti.o and file /usr/local/lib/libhistory.so);
ld: fatal: symbol `_start' is multiply-defined:
        (file /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crt1.o and file /usr/local/lib/libhistory.so);
ld: fatal: symbol `_fini' is multiply-defined:
        (file /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crti.o and file /usr/local/lib/libhistory.so);
ld: fatal: symbol `_lib_version' is multiply-defined:
        (file /usr/ccs/lib/values-Xa.o and file /usr/local/lib/libhistory.so);
ld: fatal: File processing errors. No output written to solaris/addrtest
collect2: ld returned 1 exit status
make: *** [solaris/addrtest] Error 1
There were a lot more errors, but after removing libreadline, those were eliminated. I even tried removing usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crti.o and usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3/crt1.o, but then I get ld errors complaining about missing files.
 
 
Also, is there a sample client and server side application that does not use the user interface available for this implementation.
 
Thanks!



Archive powered by MHonArc 2.6.19+.

Top of page