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 > >