SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Problems with compiling an application


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: Andreas Weick <andreasweick AT gmx.de>
  • Cc: sctp-discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] Problems with compiling an application
  • Date: Fri, 6 Mar 2009 18:53:24 +0100
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

Hi Andras,

what about
gcc -o test test.c -L/usr/local/lib -lsctp -lglib
?

Or using the Linux kernel implementation?

Best regards
Michael

On Mar 6, 2009, at 5:55 PM, Andreas Weick wrote:

Hi,

I have some problems with compiling a test application for sctplib. I have successfully installed sctplib-1.0.8 and socketapi-2.2.0 under Ubuntu 8.10 and the example programs like echo_server work fine as well. But when I try to compile a test application with the command the API provides I get the following error:

/gcc -o test test.c -lsctp -lglib
/>>//usr/bin/ld: cannot find -lsctp
/>>/collect2: ld returned 1 exit status

/

I get the same error when I try this:

//gcc -o test test.c -L/usr/local/lib/ -lsctp -lglib
//

/
/

I heard about compiling by using the makefile, but I am not very familiar with Linux and I don't know exactly what to do about this problem. It would be apprectiated, if you could help me.

regards
Andreas

_______________________________________________
sctp-discussion mailing list
sctp-discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/sctp-discussion





Archive powered by MHonArc 2.6.19+.

Top of page