Hi Qaisar,
did you do a plain
./configure
make
and then try to run the programs?
It looks like you are not doing the correct dynamic linking.
Best regards
Michael
On Mar 19, 2007, at 7:48 AM, Qaisar Sardar Khan wrote:
> Hi,
>
> I have compiled sctplib-1.0.5 and everything seems fine. But none
> of the programs would run. I am not sure why? These are the kind of
> errors that i am getting.
> //////////////////////////////////////////////////////////////////////
> ////////////////////////////////
> [root@localhost programs]# gcc -o terminal terminal.c
> /tmp/ccYKjtpj.o(.text+0x5e1): In function `dataArriveNotif':
> : undefined reference to `SCTP_receive'
> /tmp/ccYKjtpj.o(.text+0x689): In function `networkStatusChangeNotif':
> : undefined reference to `SCTP_getPathStatus'
> /tmp/ccYKjtpj.o(.text+0x6e6): In function `networkStatusChangeNotif':
> : undefined reference to `SCTP_getPrimary'
> /tmp/ccYKjtpj.o(.text+0x705): In function `networkStatusChangeNotif':
> : undefined reference to `SCTP_getAssocStatus'
> /tmp/ccYKjtpj.o(.text+0x73b): In function `networkStatusChangeNotif':
> ...................
> ...................
> ...................
> //////////////////////////////////////////////////////////////////////
> //////////////////////////////////
>
> I will be very grateful if someone helps me out. By the way i am
> using Scientific Linux which is very similar to RedHat linux.
>
> Regards,
> Qaisar
Archive powered by MHonArc 2.6.19+.