Thread (2 messages) 2 messages, 1 author, 2013-02-27

Re: iproute-3.8.0 build error on Linux ppc64

From: nello martuscielli <hidden>
Date: 2013-02-27 05:39:36

Possibly related (same subject, not in this thread)

sorry, it was the previous commit about -Werror

 thanks,
 Nell



On Wed, Feb 27, 2013 at 6:15 AM, nello martuscielli [off-list ref] wrote:
hi,
after  commit:
http://git.kernel.org/?p=linux/kernel/git/shemminger/iproute2.git;a=commitdiff;h=6398d3a65277a2ebed085ad9deef15fea6f4ed09

specifically -Wmissing-prototypes and I get this error on Linux ppc64

[...]
gcc -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
-Wmissing-declarations -Wold-style-definition -O2 -I../include
-DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\"
-D_GNU_SOURCE   -c -o ipneigh.o ipneigh.c
gcc -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
-Wmissing-declarations -Wold-style-definition -O2 -I../include
-DRESOLVE_HOSTNAMES -DLIBDIR=\"/usr/lib\" -DCONFDIR=\"/etc/iproute2\"
-D_GNU_SOURCE   -c -o ipntable.o ipntable.c
cc1: warnings being treated as errors
ipntable.c: In function 'print_ntable':
ipntable.c:435:3: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:488:4: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:492:4: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:496:4: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:505:4: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:509:4: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:539:4: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:543:4: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:551:4: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:563:3: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:564:3: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:565:3: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:570:3: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:571:3: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:572:3: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:577:3: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:578:3: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:583:3: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
ipntable.c:584:3: error: format '%llu' expects type 'long long
unsigned int', but argument 3 has type '__u64'
make[1]: *** [ipntable.o] Error 1
make[1]: Leaving directory `/root/iproute2-3.8.0/ip'
make: *** [all] Error 2


my system is IBM POWER4+ with a CRUX PPC 3.0alpha (64bit).


thanks,
Nell
--
my blog: http://linuxpowerpc.blogspot.com/


-- 
--
Power Mac G4 AGP 450MHz - CRUX PPC (32bit)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help