From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arindam Haldar Date: Fri, 19 Apr 2002 05:35:06 +0000 Subject: Re: [LARTC] complie error Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org thanx bert it worked !! bert hubert wrote: > On Thu, Apr 18, 2002 at 05:47:31PM +0530, Arindam Haldar wrote: > >>hi all, >> >>while compiling iproute2-2.4.7-now-ss010824 with kernel-2.4.18 i got the >>following error ! ... i need ur help friends ! >> >> >>gcc -D_GNU_SOURCE -O9 -Wstrict-prototypes -Wall -Werror -g >> > > Remove -Werror > > >>-I../include-glibc >>-include ../include-glibc/glibc-bugs.h -I/usr/src/linux-2.4.18/include >>-I../include -DRESOLVE_HOSTNAMES -c -o utils.o utils.c >>cc1: warnings being treated as errors >>utils.c: In function `invarg': >>utils.c:281: warning: `noreturn' function does return >>utils.c: In function `duparg': >>utils.c:287: warning: `noreturn' function does return >>utils.c: In function `duparg2': >>utils.c:293: warning: `noreturn' function does return >>make[1]: *** [utils.o] Error 1 >>make[1]: Leaving directory `/usr/local/src/iproute2/lib' >>make: *** [all] Error 2 >> > > Boy this sucks :-) > > It is probaby best to look somewhere above line 281 and remove the noreturn > statement. > > Regards, > bert > > _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/