SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] Undefined reference to SCTP function calls during compilation


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: "Mohit Gupta" <mgupta AT ucdavis.edu>
  • Cc: <discussion AT sctp.de>
  • Subject: Re: [SCTP-Discussion] Undefined reference to SCTP function calls during compilation
  • Date: Mon Nov 10 23:22:02 2003
  • List-id: SCTP Discussions <discussion.sctp.de>

The 1.1.3 version is experimental. Please try the 1.0.0 stable version.

Best regards
Michael

On Nov 8, 2003, at 8:16 Uhr, Mohit Gupta wrote:

Hi All,
 
I am new to SCTP and trying to compile my first SCTP program. I installed 2.6.0-test9 kernel, with sctplib-1.1.3 and socketapi-1.3.1. I wrote a very simple client server application but while trying to compile the program using
cc server.c -lsctp -glib
 
I am getting undefined reference to 'rcv' (or whatever sctp specific function I use like rcvmsg, sendmsg). I have included the sctp.h header file in my program, do I have to include any other file also? Or am I missing anything? Any help will be greatly appreciated
 
 
 
Regards,
Mohit
 
Mohit Gupta
Graduate Student
Computer Science Department
http://wwwcsif.cs.ucdavis.edu/~gupta/
(425) 239-2667





Archive powered by MHonArc 2.6.19+.

Top of page