[test@localhost sctplib-1.0.11]$ ls -R /home/test/sctp_build/install_dir
/home/test/sctp_build/install_dir:
include lib
/home/test/sctp_build/install_dir/include:
sctp.h
/home/test/sctp_build/install_dir/lib:
libsctplib.a libsctplib.la libsctplib.so libsctplib.so.1 libsctplib.so.1.0.8
The socketapi package has been configured with the following options:
Build with Maintainer Mode : no
Build with SCTP over UDP : sctplib libraries : -L/home/test/sctp_build/install_dir/lib -lsctplib
glib_LIBS : -lglib-2.0 Thread Libraries : -lpthread
CFLAGS : -g -O2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include
CXXFLAGS : -g -O2 -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include
LDFLAGS :
make all-recursive
make[1]: Entering directory `/home/test/sctp_build/socketapi-2.2.5'
Making all in socketapi
make[2]: Entering directory `/home/test/sctp_build/socketapi-2.2.5/socketapi'
Making all in docs
make[3]: Entering directory `/home/test/sctp_build/socketapi-2.2.5/socketapi/docs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/test/sctp_build/socketapi-2.2.5/socketapi/docs'
make[3]: Entering directory `/home/test/sctp_build/socketapi-2.2.5/socketapi'
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include -MT thread.lo -MD -MP -MF .deps/thread.Tpo -c -o thread.lo thread.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include -MT thread.lo -MD -MP -MF .deps/thread.Tpo -c thread.cc -fPIC -DPIC -o .libs/thread.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include -MT thread.lo -MD -MP -MF .deps/thread.Tpo -c thread.cc -o thread.o >/dev/null 2>&1
mv -f .deps/thread.Tpo .deps/thread.Plo
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include -MT tdstrings.lo -MD -MP -MF .deps/tdstrings.Tpo -c -o tdstrings.lo tdstrings.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include -MT tdstrings.lo -MD -MP -MF .deps/tdstrings.Tpo -c tdstrings.cc -fPIC -DPIC -o .libs/tdstrings.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include -MT tdstrings.lo -MD -MP -MF .deps/tdstrings.Tpo -c tdstrings.cc -o tdstrings.o >/dev/null 2>&1
mv -f .deps/tdstrings.Tpo .deps/tdstrings.Plo
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include -MT synchronizable.lo -MD -MP -MF .deps/synchronizable.Tpo -c -o synchronizable.lo synchronizable.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include -MT synchronizable.lo -MD -MP -MF .deps/synchronizable.Tpo -c synchronizable.cc -fPIC -DPIC -o .libs/synchronizable.o
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include -MT synchronizable.lo -MD -MP -MF .deps/synchronizable.Tpo -c synchronizable.cc -o synchronizable.o >/dev/null 2>&1
mv -f .deps/synchronizable.Tpo .deps/synchronizable.Plo
/bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include -MT sctpsocketwrapper.lo -MD -MP -MF .deps/sctpsocketwrapper.Tpo -c -o sctpsocketwrapper.lo sctpsocketwrapper.cc
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -g -O2 -DLINUX -Wall -O3 -g0 -D_REENTRANT -D_THREAD_SAFE -DSCTP_SOCKET_API -I/home/test/sctp_build/install_dir/include -MT sctpsocketwrapper.lo -MD -MP -MF .deps/sctpsocketwrapper.Tpo -c sctpsocketwrapper.cc -fPIC -DPIC -o .libs/sctpsocketwrapper.o
In file included from tdmessage.h:220:0,
from sctpsocketwrapper.cc:61:
tdmessage.icc: In member function 'SocketAddress* SocketMessage<size>::getAddress() const':
tdmessage.icc:78:49: error: no matching function for call to 'SocketAddress::createSocketAddress(sockaddr*&, long unsigned int&)'
(sockaddr*)&Address,sizeof(Address)));
^
tdmessage.icc:78:49: note: candidates are:
In file included from internetaddress.h:44:0,
from sctpsocket.h:46,
from extsocketdescriptor.h:44,
from sctpsocketwrapper.cc:40:
socketaddress.h:200:26: note: static SocketAddress* SocketAddress::createSocketAddress(integer)
static SocketAddress* createSocketAddress(const integer family);
^
socketaddress.h:200:26: note: candidate expects 1 argument, 2 provided
socketaddress.h:209:26: note: static SocketAddress* SocketAddress::createSocketAddress(cardinal, const String&) <near match>
static SocketAddress* createSocketAddress(const cardinal flags, const String& name);
^
socketaddress.h:209:26: note: no known conversion for argument 1 from 'sockaddr*' to 'cardinal {aka unsigned int}'
socketaddress.h:219:26: note: static SocketAddress* SocketAddress::createSocketAddress(cardinal, const String&, card16)
static SocketAddress* createSocketAddress(const cardinal flags,
^
socketaddress.h:219:26: note: candidate expects 3 arguments, 2 provided
socketaddress.h:231:26: note: static SocketAddress* SocketAddress::createSocketAddress(cardinal, sockaddr*, socklen_t)
static SocketAddress* createSocketAddress(const cardinal flags,
^
socketaddress.h:231:26: note: candidate expects 3 arguments, 2 provided
sctpsocketwrapper.cc: In function 'ssize_t sctp_sendmsg(int, const void*, size_t, const sockaddr*, socklen_t, uint32_t, uint32_t, uint16_t, uint32_t, uint32_t)':
sctpsocketwrapper.cc:3285:4: warning: narrowing conversion of 'flags' from 'uint32_t {aka unsigned int}' to 'int' inside { } is ill-formed in C++11 [-Wnarrowing]
};
^
sctpsocketwrapper.cc: In function 'ssize_t sctp_sendx(int, const void*, size_t, const sockaddr*, int, const sctp_sndrcvinfo*, int)':
sctpsocketwrapper.cc:3362:4: warning: narrowing conversion of 'addrcnt' from 'int' to 'socklen_t {aka unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing]
};
^
make[3]: *** [sctpsocketwrapper.lo] Error 1
make[3]: Leaving directory `/home/test/sctp_build/socketapi-2.2.5/socketapi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/test/sctp_build/socketapi-2.2.5/socketapi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/test/sctp_build/socketapi-2.2.5'
make: *** [all] Error 2
Archive powered by MHonArc 2.6.19+.