[Xorp-users] Compile failure on FreeBSD 5.3

Gernot W. Schmied gernot.schmied@chello.at
Mon, 20 Dec 2004 21:34:56 +0100


Just want to report this compile failure on FreeBSD 5.3/Intel P4.


g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..    -g  -W -Wall -Wwrite-strings 
-Wcast-qua
l -Werror -Wpointer-arith -Wcast-align -Woverloaded-virtual 
-ftemplate-depth-20
-c -o mfea_proto_comm.o `test -f mfea_proto_comm.cc || echo 
'./'`mfea_proto_comm
.cc
mfea_proto_comm.cc: In member function `int 
ProtoComm::proto_socket_write(uint16
_t, const IPvX&, const IPvX&, int, int, bool, const uint8_t*, size_t)':
mfea_proto_comm.cc:1521: error: cannot bind packed field 
`ip->ip::ip_src' to `in
_addr&'
mfea_proto_comm.cc:1522: error: cannot bind packed field 
`ip->ip::ip_dst' to `in
_addr&'
gmake[3]: *** [mfea_proto_comm.o] Error 1
gmake[3]: Leaving directory `/usr/local/src/xorp-1.0/fea'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/local/src/xorp-1.0/fea'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/local/src/xorp-1.0'
gmake: *** [all] Error 2

Regards,
Gernot