SCTP Discussions

Text archives Help


[SCTP-Discussion] Hi I am new to SCTP , planning to use for project but stuck on starting i have install sctp-1.0.1 spcktapi 1.3.1 rsplib-0.3.0


Chronological Thread 
  • From: Rahul <rahultamrakar AT ittoolbox.net>
  • To: discussion AT sctp.de
  • Subject: [SCTP-Discussion] Hi I am new to SCTP , planning to use for project but stuck on starting i have install sctp-1.0.1 spcktapi 1.3.1 rsplib-0.3.0
  • Date: Thu Apr 15 16:13:25 2004
  • List-id: SCTP Discussions <discussion.sctp.de>

on the redhat 9 system

i can run all the sample programes given in
"/sctp-1.0.1/sctplib.program"
directory .
But I am getting below error if i want to compile terminal.c
mysqlf

using this command to compile
gcc -o exp_terminal terminal.c
-lsctp -lsctpsocket -lglib

/tmp/ccfY6q6a.o(.text+0x45f): In function
`dataArriveNotif':
: undefined reference to `SCTP_receive'
/tmp/ccfY6q6a.o(.text+0x54f):
In function `networkStatusChangeNotif':
: undefined reference to `SCTP_getPrimary'

/tmp/ccfY6q6a.o(.text+0x56e): In function `networkStatusChangeNotif':
:
undefined reference to `SCTP_getAssocStatus'
/tmp/ccfY6q6a.o(.text+0x5a6):
In function `networkStatusChangeNotif':
: undefined reference to `SCTP_getPathStatus'

/tmp/ccfY6q6a.o(.text+0x5e3): In function `networkStatusChangeNotif':
:
undefined reference to `SCTP_setPrimary'
/tmp/ccfY6q6a.o(.text+0x6d0):
In function `communicationLostNotif':
: undefined reference to `SCTP_receiveUnsent'

/tmp/ccfY6q6a.o(.text+0x783): In function `communicationLostNotif':
: undefined
reference to `SCTP_receiveUnacked'
/tmp/ccfY6q6a.o(.text+0x802): In function
`communicationLostNotif':
: undefined reference to `SCTP_deleteAssociation'

/tmp/ccfY6q6a.o(.text+0x815): In function `communicationLostNotif':
: undefined
reference to `SCTP_unregisterInstance'
/tmp/ccfY6q6a.o(.text+0x8e5): In
function `shutdownCompleteNotif':
: undefined reference to `SCTP_deleteAssociation'

/tmp/ccfY6q6a.o(.text+0x8f8): In function `shutdownCompleteNotif':
: undefined
reference to `SCTP_unregisterInstance'
/tmp/ccfY6q6a.o(.text+0x9a7): In
function `stdinCallback':
: undefined reference to `SCTP_abort'
/tmp/ccfY6q6a.o(.text+0x9ba):
In function `stdinCallback':
: undefined reference to `SCTP_shutdown'

/tmp/ccfY6q6a.o(.text+0x9ff): In function `stdinCallback':
: undefined
reference to `SCTP_send'
/tmp/ccfY6q6a.o(.text+0xaa3): In function `main':

: undefined reference to `SCTP_initLibrary'
/tmp/ccfY6q6a.o(.text+0xab2):
In function `main':
: undefined reference to `SCTP_getLibraryParameters'

/tmp/ccfY6q6a.o(.text+0xae3): In function `main':
: undefined reference
to `SCTP_setLibraryParameters'
/tmp/ccfY6q6a.o(.text+0xb16): In function
`main':
: undefined reference to `SCTP_registerInstance'
/tmp/ccfY6q6a.o(.text+0xb36):
In function `main':
: undefined reference to `SCTP_getAssocDefaults'

/tmp/ccfY6q6a.o(.text+0xb69): In function `main':
: undefined reference
to `SCTP_setAssocDefaults'
/tmp/ccfY6q6a.o(.text+0xb8a): In function `main':

: undefined reference to `SCTP_registerUserCallback'
/tmp/ccfY6q6a.o(.text+0xbae):
In function `main':
: undefined reference to `SCTP_associate'
/tmp/ccfY6q6a.o(.text+0xbbb):
In function `main':
: undefined reference to `SCTP_eventLoop'
collect2:
ld returned 1 exit status

Could u please let me know why im getting
this error ..

Thanks in advance..
RahulHi
I am new to SCTP , planning
to use for project but stuck on starting
i have install
sctp-1.0.1

spcktapi 1.3.1
rsplib-0.3.0
on the redhat 9 system

i can run all
the sample programes given in "/sctp-1.0.1/sctplib.program" directory .

But I am getting below error if i want to compile terminal.c mysqlf


using this command to compile
gcc -o exp_terminal terminal.c -lsctp
-lsctpsocket -lglib

/tmp/ccfY6q6a.o(.text+0x45f): In function `dataArriveNotif':

: undefined reference to `SCTP_receive'
/tmp/ccfY6q6a.o(.text+0x54f): In
function `networkStatusChangeNotif':
: undefined reference to `SCTP_getPrimary'

/tmp/ccfY6q6a.o(.text+0x56e): In function `networkStatusChangeNotif':
:
undefined reference to `SCTP_getAssocStatus'
/tmp/ccfY6q6a.o(.text+0x5a6):
In function `networkStatusChangeNotif':
: undefined reference to `SCTP_getPathStatus'

/tmp/ccfY6q6a.o(.text+0x5e3): In function `networkStatusChangeNotif':
:
undefined reference to `SCTP_setPrimary'
/tmp/ccfY6q6a.o(.text+0x6d0):
In function `communicationLostNotif':
: undefined reference to `SCTP_receiveUnsent'

/tmp/ccfY6q6a.o(.text+0x783): In function `communicationLostNotif':
: undefined
reference to `SCTP_receiveUnacked'
/tmp/ccfY6q6a.o(.text+0x802): In function
`communicationLostNotif':
: undefined reference to `SCTP_deleteAssociation'

/tmp/ccfY6q6a.o(.text+0x815): In function `communicationLostNotif':
: undefined
reference to `SCTP_unregisterInstance'
/tmp/ccfY6q6a.o(.text+0x8e5): In
function `shutdownCompleteNotif':
: undefined reference to `SCTP_deleteAssociation'

/tmp/ccfY6q6a.o(.text+0x8f8): In function `shutdownCompleteNotif':
: undefined
reference to `SCTP_unregisterInstance'
/tmp/ccfY6q6a.o(.text+0x9a7): In
function `stdinCallback':
: undefined reference to `SCTP_abort'
/tmp/ccfY6q6a.o(.text+0x9ba):
In function `stdinCallback':
: undefined reference to `SCTP_shutdown'

/tmp/ccfY6q6a.o(.text+0x9ff): In function `stdinCallback':
: undefined
reference to `SCTP_send'
/tmp/ccfY6q6a.o(.text+0xaa3): In function `main':

: undefined reference to `SCTP_initLibrary'
/tmp/ccfY6q6a.o(.text+0xab2):
In function `main':
: undefined reference to `SCTP_getLibraryParameters'

/tmp/ccfY6q6a.o(.text+0xae3): In function `main':
: undefined reference
to `SCTP_setLibraryParameters'
/tmp/ccfY6q6a.o(.text+0xb16): In function
`main':
: undefined reference to `SCTP_registerInstance'
/tmp/ccfY6q6a.o(.text+0xb36):
In function `main':
: undefined reference to `SCTP_getAssocDefaults'

/tmp/ccfY6q6a.o(.text+0xb69): In function `main':
: undefined reference
to `SCTP_setAssocDefaults'
/tmp/ccfY6q6a.o(.text+0xb8a): In function `main':

: undefined reference to `SCTP_registerUserCallback'
/tmp/ccfY6q6a.o(.text+0xbae):
In function `main':
: undefined reference to `SCTP_associate'
/tmp/ccfY6q6a.o(.text+0xbbb):
In function `main':
: undefined reference to `SCTP_eventLoop'
collect2:
ld returned 1 exit status

Could u please let me know why im getting
this error ..

Thanks in advance..
Urgent
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Hi
I am new to SCTP , planning to use for project but stuck in starting
i have install
sctp-1.0.1
spcktapi 1.3.1
rsplib-0.3.0
on the redhat 9 system

i can run all the sample programes given in
"/sctp-1.0.1/sctplib.program" directory .
But I am getting below error if i want to compile terminal.c mysqlf

using this command to compile
gcc -o exp_terminal terminal.c -lsctp -lsctpsocket -lglib

/tmp/ccfY6q6a.o(.text+0x45f): In function `dataArriveNotif':
: undefined reference to `SCTP_receive'
/tmp/ccfY6q6a.o(.text+0x54f): In function `networkStatusChangeNotif':
: undefined reference to `SCTP_getPrimary'
/tmp/ccfY6q6a.o(.text+0x56e): In function `networkStatusChangeNotif':
: undefined reference to `SCTP_getAssocStatus'
/tmp/ccfY6q6a.o(.text+0x5a6): In function `networkStatusChangeNotif':
: undefined reference to `SCTP_getPathStatus'
/tmp/ccfY6q6a.o(.text+0x5e3): In function `networkStatusChangeNotif':
: undefined reference to `SCTP_setPrimary'
/tmp/ccfY6q6a.o(.text+0x6d0): In function `communicationLostNotif':
: undefined reference to `SCTP_receiveUnsent'
/tmp/ccfY6q6a.o(.text+0x783): In function `communicationLostNotif':
: undefined reference to `SCTP_receiveUnacked'
/tmp/ccfY6q6a.o(.text+0x802): In function `communicationLostNotif':
: undefined reference to `SCTP_deleteAssociation'
/tmp/ccfY6q6a.o(.text+0x815): In function `communicationLostNotif':
: undefined reference to `SCTP_unregisterInstance'
/tmp/ccfY6q6a.o(.text+0x8e5): In function `shutdownCompleteNotif':
: undefined reference to `SCTP_deleteAssociation'
/tmp/ccfY6q6a.o(.text+0x8f8): In function `shutdownCompleteNotif':
: undefined reference to `SCTP_unregisterInstance'
/tmp/ccfY6q6a.o(.text+0x9a7): In function `stdinCallback':
: undefined reference to `SCTP_abort'
/tmp/ccfY6q6a.o(.text+0x9ba): In function `stdinCallback':
: undefined reference to `SCTP_shutdown'
/tmp/ccfY6q6a.o(.text+0x9ff): In function `stdinCallback':
: undefined reference to `SCTP_send'
/tmp/ccfY6q6a.o(.text+0xaa3): In function `main':
: undefined reference to `SCTP_initLibrary'
/tmp/ccfY6q6a.o(.text+0xab2): In function `main':
: undefined reference to `SCTP_getLibraryParameters'
/tmp/ccfY6q6a.o(.text+0xae3): In function `main':
: undefined reference to `SCTP_setLibraryParameters'
/tmp/ccfY6q6a.o(.text+0xb16): In function `main':
: undefined reference to `SCTP_registerInstance'
/tmp/ccfY6q6a.o(.text+0xb36): In function `main':
: undefined reference to `SCTP_getAssocDefaults'
/tmp/ccfY6q6a.o(.text+0xb69): In function `main':
: undefined reference to `SCTP_setAssocDefaults'
/tmp/ccfY6q6a.o(.text+0xb8a): In function `main':
: undefined reference to `SCTP_registerUserCallback'
/tmp/ccfY6q6a.o(.text+0xbae): In function `main':
: undefined reference to `SCTP_associate'
/tmp/ccfY6q6a.o(.text+0xbbb): In function `main':
: undefined reference to `SCTP_eventLoop'
collect2: ld returned 1 exit status

Could u please let me know why im getting this error ..

Thanks in advance..
Rahul




  • [SCTP-Discussion] Hi I am new to SCTP , planning to use for project but stuck on starting i have install sctp-1.0.1 spcktapi 1.3.1 rsplib-0.3.0, Rahul, 04/15/2004

Archive powered by MHonArc 2.6.19+.

Top of page