glib-2.36.3 build fails with gcc46

Andriy Gapon avg at FreeBSD.org
Sat Aug 3 14:25:36 UTC 2013


on 03/08/2013 16:33 Andriy Gapon said the following:
> 
> glib-2.36.3 build fails with gcc46:
> 
> glib-unix.c: In function 'g_unix_open_pipe':
> glib-unix.c:97:5: error: implicit declaration of function 'pipe2'
> [-Werror=implicit-function-declaration]
> cc1: some warnings being treated as errors
> 
> I think that unistd.h must be included.

Sorry for the noise, this was a pilot error.  I use head, but keep forgetting
that once in a while lang/gcc* have to be rebuilt after changes in the system
headers (because those gccs install some "fixed" versions of them in
/usr/local/lib/gcc*/gcc/*/*/include-fixed/).


-- 
Andriy Gapon


More information about the freebsd-ports mailing list