SCTP Discussions

Text archives Help


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


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: discussion AT sctp.de
  • Cc: sf8487 AT mindspring.com
  • Subject: Re: [SCTP-Discussion] Building sctp_test_app.c on Solaris 8 using gcc 2.95.3
  • Date: Fri Mar 29 13:17:00 2002
  • List-id: SCTP Discussions <discussion.sctp.de>

Hi,

this mailing list supports the SCTP prototype implementation
available at www.sctp.de. The reference implementation available
at www.sctp.org (which is the one on the CD of the book) is not
our implementation, so we can not support it. Please contact
Randy Stewart
(rrs AT cisco.com)
directly fr any questions regarding
his implementation.

Best regards
Michael

On Friday, March 29, 2002, at 12:47 PM, S. Faizi wrote:

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!

Michael.Tuexen AT micmac.franken.de





Archive powered by MHonArc 2.6.19+.

Top of page