[Xorp-users] cc1plus: warnings being treated as errors

Diego Augusto Pinzon Carreño diego360xen at gmail.com
Mon Nov 16 08:03:57 PST 2009


I'm just doing a scons  nothing fancy at this
point.


cc1plus: warnings being treated as errors
fea/data_plane/io/io_ip_socket.cc: In member function ‘void
IoIpSocket::proto_socket_read(XorpFd, IoEventType)’:
fea/data_plane/io/io_ip_socket.cc:1614: error: ‘int inet6_option_next(const
cmsghdr*, uint8_t**)’ is deprecated (declared at
/usr/include/netinet/in.h:498)
fea/data_plane/io/io_ip_socket.cc:1614: error: ‘int inet6_option_next(const
cmsghdr*, uint8_t**)’ is deprecated (declared at
/usr/include/netinet/in.h:498)
fea/data_plane/io/io_ip_socket.cc: In member function ‘virtual int
IoIpSocket::send_packet(const std::string&, const std::string&, const IPvX&,
const IPvX&, int32_t, int32_t, bool, bool, const std::vector<unsigned char,
std::allocator<unsigned char> >&, const std::vector<std::vector<unsigned
char, std::allocator<unsigned char> >, std::allocator<std::vector<unsigned
char, std::allocator<unsigned char> > > >&, const std::vector<unsigned char,
std::allocator<unsigned char> >&, std::string&)’:
fea/data_plane/io/io_ip_socket.cc:2215: error: ‘int inet6_option_space(int)’
is deprecated (declared at /usr/include/netinet/in.h:487)
fea/data_plane/io/io_ip_socket.cc:2215: error: ‘int inet6_option_space(int)’
is deprecated (declared at /usr/include/netinet/in.h:487)
fea/data_plane/io/io_ip_socket.cc:2312: error: ‘int inet6_option_init(void*,
cmsghdr**, int)’ is deprecated (declared at /usr/include/netinet/in.h:489)
fea/data_plane/io/io_ip_socket.cc:2312: error: ‘int inet6_option_init(void*,
cmsghdr**, int)’ is deprecated (declared at /usr/include/netinet/in.h:489)
fea/data_plane/io/io_ip_socket.cc:2316: error: ‘int
inet6_option_append(cmsghdr*, const uint8_t*, int, int)’ is deprecated
(declared at /usr/include/netinet/in.h:492)
fea/data_plane/io/io_ip_socket.cc:2316: error: ‘int
inet6_option_append(cmsghdr*, const uint8_t*, int, int)’ is deprecated
(declared at /usr/include/netinet/in.h:492)
scons: *** [obj/x86_64-unknown-linux-gnu/fea/data_plane/io/io_ip_socket.o]
Error 1
scons: building terminated because of errors.

these is in a fedora 10 64x86 on a 32bits.
may i need do a cflag configuration.?  i'm using gcc-4.3.2-7(X86_64):it was
revision 11575 just donwload a few hours ago from svn



i will try it on virtualbox but a i686 to see if there is a issue about
architecture.

with the before builder gmake on fedora everything was ok at same machine
but to relocale a binary openssl.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-users/attachments/20091116/2f653512/attachment.html 


More information about the Xorp-users mailing list