SCTP Discussions

Text archives Help


Re: [SCTP-Discussion] compile socketAPI-2.1.0 errors


Chronological Thread 
  • From: Michael Tuexen <Michael.Tuexen AT micmac.franken.de>
  • To: amine bsila <amine.bsila AT enst-bretagne.fr>
  • Cc: sctp-discussion AT sctp.de
  • Subject: Re: [SCTP-Discussion] compile socketAPI-2.1.0 errors
  • Date: Wed, 30 Jan 2008 18:35:31 +0100
  • List-archive: <http://lists.franken.de/pipermail/sctp-discussion>
  • List-id: SCTP Discussions <sctp-discussion.sctp.de>

Hi Amine,

you should not run aclocal, and so on.

Try in a fresh directory:
./configure
make
sudo make install

What happens?

Best regards
Michael

On Jan 30, 2008, at 1:55 PM, amine bsila wrote:

hello
I compile sctblib-1.0.7 successfully on linux (ubuntu 7.10),but when i compile socketAPI-2.1.0 as following the README in socketAPI-2.1.0:
- Go to the socketapi directory
prompt> aclocal
prompt> autoconf
prompt> autoheader
prompt> automake
prompt> ./configure
prompt> make
prompt> make install (as root!)
it is unsuccessful.the errors are:
make all-recursive
make[1]: Entering directory `/home/amine/Desktop/socketapi-2.1.0'
Making all in socketapi
make[2]: Entering directory `/home/amine/Desktop/socketapi-2.1.0/ socketapi'
/bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -DLINUX -Wall
-g3 -O0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API
-I/usr/local/include -version-info 0:0:0 -release 2100 -o
libsctpsocket.la -rpath /usr/local/lib thread.lo tdstrings.lo
synchronizable.lo sctpsocketwrapper.lo sctpsocketmaster.lo
sctpsocket.lo sctpnotificationqueue.lo sctpassociation.lo
randomizer.lo internetaddress.lo condition.lo tools.lo
socketaddress.lo staticglobals.lo internetflow.lo unixaddress.lo
/usr/local/lib/libsctplib.a -lglib-2.0 -lpthread

*** Warning: Linking the shared library libsctpsocket.la against the
*** static library /usr/local/lib/libsctplib.a is not portable!
rm -fr .libs/libsctpsocket-2100.0 .libs/libsctpsocket-2100.0.0.0
g++ -shared -nostdlib
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/crti.o
/usr/lib/gcc/i486-linux-gnu/4.1.3/crtbeginS.o .libs/thread.o
.libs/tdstrings.o .libs/synchronizable.o .libs/sctpsocketwrapper.o
.libs/sctpsocketmaster.o .libs/sctpsocket.o
.libs/sctpnotificationqueue.o .libs/sctpassociation.o
.libs/randomizer.o .libs/internetaddress.o .libs/condition.o
.libs/tools.o .libs/socketaddress.o .libs/staticglobals.o
.libs/internetflow.o .libs/unixaddress.o /usr/local/lib/libsctplib.a
/usr/lib/libglib-2.0.so -lpthread -L/usr/lib/gcc/i486-linux-gnu/4.1.3
-L/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib -L/lib/../lib
-L/usr/lib/../lib -lstdc++ -lm -lc -lgcc_s
/usr/lib/gcc/i486-linux-gnu/4.1.3/crtendS.o
/usr/lib/gcc/i486-linux-gnu/4.1.3/../../../../lib/crtn.o -Wl,-soname
-Wl,libsctpsocket-2100.0 -o .libs/libsctpsocket-2100.0.0.0
(cd .libs && rm -f libsctpsocket-2100.0 && ln -s
libsctpsocket-2100.0.0.0 libsctpsocket-2100.0)
(cd .libs && rm -f libsctpsocket && ln -s libsctpsocket-2100.0.0.0
libsctpsocket)
ar cru .libs/libsctpsocket.a /usr/local/lib/libsctplib.a thread.o
tdstrings.o synchronizable.o sctpsocketwrapper.o sctpsocketmaster.o
sctpsocket.o sctpnotificationqueue.o sctpassociation.o randomizer.o
internetaddress.o condition.o tools.o socketaddress.o staticglobals.o
internetflow.o unixaddress.o~ranlib .libs/libsctpsocket.a
ar: unixaddress.o~ranlib: No such file or directory
make[2]: *** [libsctpsocket.la] Error 1
make[2]: Leaving directory `/home/amine/Desktop/socketapi-2.1.0/ socketapi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amine/Desktop/socketapi-2.1.0'
make: *** [all] Error 2


Any help is appreciated ;)
thanks in advance.
_______________________________________________
sctp-discussion mailing list
sctp-discussion AT sctp.de
http://www.sctp.de/mailman/listinfo/sctp-discussion





Archive powered by MHonArc 2.6.19+.

Top of page