SCTP Discussions

Text archives Help


[SCTP-Discussion] COMPILE ERROR


Chronological Thread 
  • From: amar deka <amar_nitw2000 AT yahoo.co.in>
  • To: discussion AT sctp.de
  • Subject: [SCTP-Discussion] COMPILE ERROR
  • Date: Fri Mar 4 10:42:02 2005
  • List-id: SCTP Discussions <discussion.sctp.de>

hi all

i have installed sctplib-1.0.1 and socketapi-1.3.1
by the following commands
./configure
make
make install
as root and the path for the above was
/root/sctplib-1.0.1
/root/socketapi-1.3.1

it was fine ..
but when i compile the sample programs in the
/root/sctplib-1.0.1/sctplib/programs viz. echoserver.c
it gives me the followowing errors

[root@localhost programs]# gcc -lsctp -lglib
echo_server.c

/tmp/ccSNOnQS.o(.text+0x3a1): In function
`dataArriveNotif':
: undefined reference to `SCTP_receive'
/tmp/ccSNOnQS.o(.text+0x3f9): In function
`dataArriveNotif':
: undefined reference to `SCTP_send'
/tmp/ccSNOnQS.o(.text+0x4b0): In function
`networkStatusChangeNotif':
: undefined reference to `SCTP_getPrimary'
/tmp/ccSNOnQS.o(.text+0x4cf): In function
`networkStatusChangeNotif':
: undefined reference to `SCTP_getAssocStatus'
/tmp/ccSNOnQS.o(.text+0x507): In function
`networkStatusChangeNotif':
: undefined reference to `SCTP_getPathStatus'
/tmp/ccSNOnQS.o(.text+0x544): In function
`networkStatusChangeNotif':
: undefined reference to `SCTP_setPrimary'
/tmp/ccSNOnQS.o(.text+0x64f): In function
`communicationLostNotif':
: undefined reference to `SCTP_receiveUnsent'
/tmp/ccSNOnQS.o(.text+0x6a3): In function
`communicationLostNotif':
: undefined reference to `SCTP_receiveUnacked'
/tmp/ccSNOnQS.o(.text+0x6d1): In function
`communicationLostNotif':
: undefined reference to `SCTP_deleteAssociation'
/tmp/ccSNOnQS.o(.text+0x76d): In function
`restartNotif':
: undefined reference to `SCTP_getAssocStatus'
/tmp/ccSNOnQS.o(.text+0x7d3): In function
`shutdownCompleteNotif':
: undefined reference to `SCTP_deleteAssociation'
/tmp/ccSNOnQS.o(.text+0x87f): In function `main':
: undefined reference to `SCTP_initLibrary'
/tmp/ccSNOnQS.o(.text+0x88b): In function `main':
: undefined reference to `SCTP_getLibraryParameters'
/tmp/ccSNOnQS.o(.text+0x8a9): In function `main':
: undefined reference to `SCTP_setLibraryParameters'
/tmp/ccSNOnQS.o(.text+0x8da): In function `main':
: undefined reference to `SCTP_registerInstance'
/tmp/ccSNOnQS.o(.text+0x8e2): In function `main':
: undefined reference to `SCTP_eventLoop'
collect2: ld returned 1 exit status

wat may be the problem?? can you kindly help us.

we also tried

modprobe sctp
insmode sctp

but none of them worked.

we are running on mandrake linux 9.1
with kernel 2.4.21 that comes with it.

we also tried to upgrade the kernel to 2.6.9 which has

support for sctp.
with folowing steps
make oldconfig
make
make modules
make modules_install
make install

but all we get is an ultimate crash.

SOS PLZ!!!!


amar


________________________________________________________________________
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony




Archive powered by MHonArc 2.6.19+.

Top of page