[Xorp-users] xorp-1.1 build failure on Gentoo AMD64

Gernot W. Schmied gernot.schmied@chello.at
Mon, 09 May 2005 00:04:59 +0200


pavlin@icir.org wrote:
>>I got a bit further, nevertheless:
>>
>>/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..
>>   -g -W -Wall -Wwrite-strings -Wcast-qual -Werror -Wpointer-arith
>>-Wcast-align -Woverloaded-virtual -ftemplate-depth-22 -pipe -c -o
>>ifconfig_parse_nlm.lo `test -f ifconfig_parse_nlm.cc || echo
>>'./'`ifconfig_parse_nlm.cc
>>g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -W -Wall -Wwrite-strings
>>-Wcast-qual -Werror -Wpointer-arith -Wcast-align -Woverloaded-virtual
>>-ftemplate-depth-22 -pipe -c ifconfig_parse_nlm.cc -MT
>>ifconfig_parse_nlm.lo -MD -MP -MF .deps/ifconfig_parse_nlm.TPlo -o
>>ifconfig_parse_nlm.o
>>ifconfig_parse_nlm.cc: In function `void
>>nlm_newdeladdr_to_fea_cfg(IfConfig&, IfTree&, const ifaddrmsg*, int, bool)':
>>ifconfig_parse_nlm.cc:461: warning: int format, different type arg (arg 4)
>>ifconfig_parse_nlm.cc:461: warning: int format, different type arg (arg 5)
>>ifconfig_parse_nlm.cc:483: warning: int format, different type arg (arg 4)
>>ifconfig_parse_nlm.cc:483: warning: int format, different type arg (arg 5)
>>ifconfig_parse_nlm.cc:510: warning: int format, different type arg (arg 4)
>>ifconfig_parse_nlm.cc:510: warning: int format, different type arg (arg 5)
>>make[3]: *** [ifconfig_parse_nlm.lo] Error 1
>>make[3]: Leaving directory `/usr/local/src/Routing/xorp-1.1/fea'
>>make[2]: *** [all-recursive] Error 1
>>make[2]: Leaving directory `/usr/local/src/Routing/xorp-1.1/fea'
>>make[1]: *** [all-recursive] Error 1
>>make[1]: Leaving directory `/usr/local/src/Routing/xorp-1.1'
>>make: *** [all] Error 2
> 
> 
> Patch included below.
> 
> Thanks,
> Pavlin

Thanks, getting closer ;-).

make[3]: Entering directory `/usr/local/src/Routing/xorp-1.1/fea'
source='mfea_proto_comm.cc' object='mfea_proto_comm.lo' libtool=yes \
depfile='.deps/mfea_proto_comm.Plo'
tmpdepfile='.deps/mfea_proto_comm.TPlo' \
depmode=gcc3 /bin/sh ../config/depcomp \
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..
   -g -W -Wall -Wwrite-strings -Wcast-qual -Werror -Wpointer-arith
-Wcast-align -Woverloaded-virtual -ftemplate-depth-22 -pipe -c -o
mfea_proto_comm.lo `test -f mfea_proto_comm.cc || echo
'./'`mfea_proto_comm.cc
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -g -W -Wall -Wwrite-strings
-Wcast-qual -Werror -Wpointer-arith -Wcast-align -Woverloaded-virtual
-ftemplate-depth-22 -pipe -c mfea_proto_comm.cc -MT mfea_proto_comm.lo
-MD -MP -MF .deps/mfea_proto_comm.TPlo -o mfea_proto_comm.o
mfea_proto_comm.cc: In member function `void
ProtoComm::proto_socket_read(int, SelectorMask)':
mfea_proto_comm.cc:1048: warning: int format, different type arg (arg 4)
make[3]: *** [mfea_proto_comm.lo] Error 1
make[3]: Leaving directory `/usr/local/src/Routing/xorp-1.1/fea'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/Routing/xorp-1.1/fea'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/Routing/xorp-1.1'
make: *** [all] Error 2

Regards,
Gernot