[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130227072830.6ab4373e@nehalam.linuxnetplumber.net>
Date: Wed, 27 Feb 2013 07:28:30 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: nello martuscielli <ppc.addon@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: iproute-3.8.0 build error on Linux ppc64
On Wed, 27 Feb 2013 06:37:46 +0100
nello martuscielli <ppc.addon@...il.com> wrote:
> sorry, it was your previous commit about -Werror
>
> thanks,
> Nell
>
>
>
> On Wed, Feb 27, 2013 at 6:08 AM, nello martuscielli <ppc.addon@...il.com> wrote:
> > hi,
> > after your 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 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
Pushed up a fix for this using casts.
Would rather have used inttypes.h but that was incompatible with kernel's __u64.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists