pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bootstrap problem under Ubuntu Intrepid Ibex [SOLVED]



 >> Under Ubuntu Intrepid Ibis, I get:
 >>
 >> gcc -O2 -D_PATH_DEFSYSPATH=\"/usr/pkgsrc/bootstrap/work/share/mk\"
 >> -I. -I/usr/pkgsrc/bootstrap/work/bmake -DHAVE_CONFIG_H
 >> -I../../libnbcompat -I/usr/pkgsrc/bootstrap/work/bmake/missing
 >> -DNEED_HOST_CDEFS_H -DMAKE_NATIVE  -DSIGNAL_FLAGS=SA_RESTART
 >> -Werror   -I../../libnbcompat -c
 >> /usr/pkgsrc/bootstrap/work/bmake/arch.c
 >> cc1: warnings being treated as errors
 >> /usr/pkgsrc/bootstrap/work/bmake/arch.c: In function Arch_Touch:
 >> /usr/pkgsrc/bootstrap/work/bmake/arch.c:1036: error: ignoring return
 >> value of fwrite, declared with attribute warn_unused_result
...
> I tried a different approach per another message that was sent to the list:

> CFLAGS="-U_FORTIFY_SOURCE" ./bootstrap
Just for your information

http://mail-index.netbsd.org/tech-misc/2008/09/13/msg000069.html

Subject: __attribute__((warn_unused_result)) for NetBSD?

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index