-
Notifications
You must be signed in to change notification settings - Fork 3
Description
make[3]: Entering directory `/build/socket++-AfGgk6/socket++-1.12.13/socket++'
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c -o sockstream.lo sockstream.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I.. -D_FORTIFY_SOURCE=2 -Wall -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -c sockstream.cpp -fPIC -DPIC -o .libs/sockstream.o
In file included from sockstream.cpp:51:0:
../socket++/sockstream.h:141:21: error: 'MSG_MAXIOVLEN' was not declared in this scope
msg_maxiovlen = MSG_MAXIOVLEN
^
In file included from /usr/include/features.h:372:0,
from /usr/include/i386-kfreebsd-gnu/c++/4.8/bits/os_defines.h:39,
from /usr/include/i386-kfreebsd-gnu/c++/4.8/bits/c++config.h:426,
from /usr/include/c++/4.8/cstddef:41,
from ./local.h:7,
from ./config.h:131,
from sockstream.cpp:50:
/usr/include/unistd.h:901:61: error: declaration of C function 'int gethostname(char_, size_t)' conflicts with
extern int gethostname (char *__name, size_t __len) __THROW _nonnull ((1));
^
In file included from ./config.h:131:0,
from sockstream.cpp:50:
./local.h:93:18: error: previous declaration 'int gethostname(char, int)' here
extern "C" int gethostname (char* hostname, int len);
^