Date: Sat, 13 Apr 2013 17:00:01 GMT From: Jan Beich <jbeich@tormail.org> To: gecko@FreeBSD.org Subject: Re: ports/177812: Can't build Firefox 20 on FreeBSD 9.1 Message-ID: <201304131700.r3DH01Wo011881@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/177812; it has been noted by GNATS. From: Jan Beich <jbeich@tormail.org> To: Michael Fausten <ports@michael-fausten.de> Cc: bug-followup@FreeBSD.org Subject: Re: ports/177812: Can't build Firefox 20 on FreeBSD 9.1 Date: Fri, 12 Apr 2013 20:04:03 -0500 Michael Fausten <ports@michael-fausten.de> writes: > FreeBSD glaukos 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Mon Jun 11 > 23:52:38 UTC 2012 > root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 [...] > g++46 -o FileUtils.o ... > /usr/ports/www/firefox/work/mozilla-release/xpcom/glue/FileUtils.cpp: > In function 'bool mozilla::fallocate(PRFileDesc*, int64_t)': > /usr/ports/www/firefox/work/mozilla-release/xpcom/glue/FileUtils.cpp:25:67: > error: 'posix_fallocate' was not declared in this scope Try adding the following line into FileUtils.cpp before <fcntl.h>. #define _XOPEN_SOURCE 600 If it does help try checking which macro affects __BSD_VISIBLE and __POSIX_VISIBLE by inspecting compiler output from adding -E to cflags. Otherwise, make sure gcc private copies of system headers under /usr/local/lib/gcc46/gcc/*/*/include-fixed/ are up to date.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304131700.r3DH01Wo011881>