hi
thanks!
i am able to recover from the errors by
compiling
gcc -oserver -lsctp -lglib echo_server.c
sctp_wrapper.c
but when i tried to execute
./server
it gives me the following error
./server: error while loading shared libraries:
libsctp.so.1: cannot open shared object file: No such
file or directory
i checked my /usr/local/lib
it has 1.libsctp.la 2.libsctp.so.1.0.1 and links to
the second files.
then i tried to copy the libray files to /usr/lib
and the errors get removed.
now ./server working but its not echoing as xpected.
can u help?
amar
--- "Nils O. Selåsdal"
<NOS AT Utel.no>
wrote:
amar deka wrote:
hi all
i have installed sctplib-1.0.1 and socketapi-1.3.1
by the following commandsechoserver.c
./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.
it gives me the followowing errorsIt seems "make" didn't cause this error, but rather
[root@localhost programs]# gcc -lsctp -lglib
you tried
to compile it yourself. You should look at the
makefiles on what they
do, it is RIGHT there.
Notably, all examples uses the sctp_wrapper.c , so
you want
to compile and link that in as well..
has
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
support for sctp.
with folowing steps
make oldconfig
make
make modules
make modules_install
make install
If you have support for SCTP in the kernel, there is
no reason to use
sctplib.
see lksctp.sf.net for info/examples etc on the in
(linux) kernel SCTP
support.
These are 2 different project with diffrent goals.
(Both implement the
SCTP protocol ofcourse..)
-- Nils O. Selåsdal
www.utelsystems.com
_______________________________________________________________________ _
Yahoo! India Matrimony: Find your life partner online
Go to: http://yahoo.shaadi.com/india-matrimony
_______________________________________________
discussion mailing list
discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/discussion
Archive powered by MHonArc 2.6.19+.