"_FILE_OFFSET_BITS" redefined

slowfranklin slowfranklin at opencsw.org
Thu May 15 12:49:08 CEST 2014


Hi guys and a cheerio from SambaXP!

I'm working on a poppler update and noticed that compilation spits out lot of LFS related warning:

---8<---
In file included from poppler-private.h:4:0,
                 from poppler-form-field.cc:22:
../config.h:262:0: warning: "_FILE_OFFSET_BITS" redefined
 #define _FILE_OFFSET_BITS 64
 ^
In file included from /usr/include/limits.h:17:0,
                 from /opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.0/include-fixed/limits.h:168,
                 from /opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.0/include-fixed/syslimits.h:7,
                 from /opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.0/include-fixed/limits.h:34,
                 from /opt/csw/lib/glib-2.0/include/glibconfig.h:11,
                 from /opt/csw/include/glib-2.0/glib/gtypes.h:32,
                 from /opt/csw/include/glib-2.0/glib/galloca.h:32,
                 from /opt/csw/include/glib-2.0/glib.h:30,
                 from /opt/csw/include/glib-2.0/gobject/gbinding.h:28,
                 from /opt/csw/include/glib-2.0/glib-object.h:23,
                 from poppler.h:22,
                 from poppler-form-field.cc:21:
/opt/csw/lib/gcc/i386-pc-solaris2.10/4.9.0/include-fixed/sys/feature_tests.h:196:0: note: this is the location of the previous definition
 #define _FILE_OFFSET_BITS 32
 ^
---8<---

poppler uses the autoconf macro for enabling LFS support so things should just work afaict.

I can't remember ever having to fix LFS issues in may OpenCSW packages. Is there anything simple I can do to fix this?

Thanks!


More information about the maintainers mailing list