Re: [Evolution-hackers] SVN head build fails 'O_LARGEFILE' undeclared (first use in this function)



On Mon, 2008-04-07 at 15:13 -0400, Reid Thompson wrote:
> build error....
> ccache gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../../../evolution-data-server/camel/providers/local -I../../../../../evolution-data-server/camel -I../../../../../evolution-data-server/intl -I../../../../../evolution-data-server -pthread -DORBIT2=1 -I/opt/evo/include/glib-2.0 -I/opt/evo/lib/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -DG_LOG_DOMAIN=\"camel-local-provider\" -g -Wall -Wmissing-prototypes -Wno-sign-compare -Wno-pointer-sign -MT camel-mbox-folder.lo -MD -MP -MF .deps/camel-mbox-folder.Tpo -c ../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c  -fPIC -DPIC -o .libs/camel-mbox-folder.o
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-store.c: In function 'get_folder':
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-store.c:185: error: 'O_LARGEFILE' undeclared (first use in this function)
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-store.c:185: error: (Each undeclared identifier is reported only once
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-store.c:185: error: for each function it appears in.)
> make[5]: *** [camel-mbox-store.lo] Error 1
> make[5]: *** Waiting for unfinished jobs....
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c: In function 'mbox_lock':
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c:153: error: 'O_LARGEFILE' undeclared (first use in this function)
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c:153: error: (Each undeclared identifier is reported only once
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c:153: error: for each function it appears in.)
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c: In function 'mbox_append_message':
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c:214: error: 'O_LARGEFILE' undeclared (first use in this function)
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c: In function 'mbox_get_message':
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c:365: error: 'O_LARGEFILE' undeclared (first use in this function)
> make[5]: *** [camel-mbox-folder.lo] Error 1
>  ccache gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../../../evolution-data-server/camel/providers/local -I../../../../../evolution-data-server/camel -I../../../../../evolution-data-server/intl -I../../../../../evolution-data-server -pthread -DORBIT2=1 -I/opt/evo/include/glib-2.0 -I/opt/evo/lib/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -DG_LOG_DOMAIN=\"camel-local-provider\" -g -Wall -Wmissing-prototypes -Wno-sign-compare -Wno-pointer-sign -MT camel-mbox-summary.lo -MD -MP -MF .deps/camel-mbox-summary.Tpo -c ../../../../../evolution-data-server/camel/providers/local/camel-mbox-summary.c  -fPIC -DPIC -o .libs/camel-mbox-summary.o
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-summary.c: In function 'summary_update':
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-summary.c:438: error: 'O_LARGEFILE' undeclared (first use in this function)
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-summary.c:438: error: (Each undeclared identifier is reported only once
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-summary.c:438: error: for each function it appears in.)
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-summary.c: In function 'mbox_summary_sync_full':
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-summary.c:611: error: 'O_LARGEFILE' undeclared (first use in this function)
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-summary.c: In function 'mbox_summary_sync_quick':
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-summary.c:708: error: 'O_LARGEFILE' undeclared (first use in this function)
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-summary.c: In function 'fix_summary_mismatch':
> ../../../../../evolution-data-server/camel/providers/local/camel-mbox-summary.c:968: error: 'O_LARGEFILE' undeclared (first use in this function)
> make[5]: *** [camel-mbox-summary.lo] Error 1
> 
> Thanks,
> reid

explicitly passing --disable-largefile still yields an error...

rthompso raker ~/evo-src/obj/evolution-data-server $ grep large *
config.h:/* Define for large files, on AIX-style hosts. */
config.log:  $ ../../evolution-data-server/configure --enable-maintainer-mode --prefix=/opt/evo --disable-maintainer-mode --disable-largefile --with-openldap=yes --enable-gnome-keyring=yes --with-e2k-debug --with-gconf-source=xml:merged:/opt/evo/etc/gconf/gconf.xml.defaults
config.log:| /* The state buf must be large enough to hold one state per character in the main buffer.
config.log:|         /* Create the reject buffer large enough to save one state per allowed character. */
config.log:| "input buffer overflow, can't enlarge buffer because scanner uses REJECT" );
config.log:configure:35283: running /bin/sh ../../../../evolution-data-server/calendar/libical/configure '--prefix=/opt/evo'  '--enable-maintainer-mode' '--disable-maintainer-mode' '--disable-largefile' '--with-openldap=yes' '--enable-gnome-keyring=yes' '--with-e2k-debug' '--with-gconf-source=xml:merged:/opt/evo/etc/gconf/gconf.xml.defaults' 'CC=ccache gcc' 'CFLAGS=-g' --cache-file=/dev/null --srcdir=../../../../evolution-data-server/calendar/libical
config.log:configure:35283: running /bin/sh ../../../../evolution-data-server/libdb/dist/configure '--prefix=/opt/evo'  '--enable-maintainer-mode' '--disable-maintainer-mode' '--disable-largefile' '--with-openldap=yes' '--enable-gnome-keyring=yes' '--with-e2k-debug' '--with-gconf-source=xml:merged:/opt/evo/etc/gconf/gconf.xml.defaults' 'CC=ccache gcc' 'CFLAGS=-g' --cache-file=/dev/null --srcdir=../../../../evolution-data-server/libdb/dist
config.status:  with options \"'--enable-maintainer-mode' '--prefix=/opt/evo' '--disable-maintainer-mode' '--disable-largefile' '--with-openldap=yes' '--enable-gnome-keyring=yes' '--with-e2k-debug' '--with-gconf-source=xml:merged:/opt/evo/etc/gconf/gconf.xml.defaults' 'CC=ccache gcc' 'CFLAGS=-g'\"
config.status:  echo "running CONFIG_SHELL=/bin/sh /bin/sh ../../evolution-data-server/configure " '--enable-maintainer-mode' '--prefix=/opt/evo' '--disable-maintainer-mode' '--disable-largefile' '--with-openldap=yes' '--enable-gnome-keyring=yes' '--with-e2k-debug' '--with-gconf-source=xml:merged:/opt/evo/etc/gconf/gconf.xml.defaults' 'CC=ccache gcc' 'CFLAGS=-g' $ac_configure_extra_args " --no-create --no-recursion" >&6
config.status:  exec /bin/sh "../../evolution-data-server/configure" '--enable-maintainer-mode' '--prefix=/opt/evo' '--disable-maintainer-mode' '--disable-largefile' '--with-openldap=yes' '--enable-gnome-keyring=yes' '--with-e2k-debug' '--with-gconf-source=xml:merged:/opt/evo/etc/gconf/gconf.xml.defaults' 'CC=ccache gcc' 'CFLAGS=-g' $ac_configure_extra_args --no-create --no-recursion
..........

 ccache gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../../../evolution-data-server/camel/providers/local -I../../../../../evolution-data-server/camel -I../../../../../evolution-data-server/intl -I../../../../../evolution-data-server -pthread -DORBIT2=1 -I/opt/evo/include/glib-2.0 -I/opt/evo/lib/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -DG_LOG_DOMAIN=\"camel-local-provider\" -g -Wall -Wmissing-prototypes -Wno-sign-compare -Wno-pointer-sign -MT camel-mbox-folder.lo -MD -MP -MF .deps/camel-mbox-folder.Tpo -c ../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c  -fPIC -DPIC -o .libs/camel-mbox-folder.o
../../../../../evolution-data-server/camel/providers/local/camel-mbox-store.c: In function 'get_folder':
../../../../../evolution-data-server/camel/providers/local/camel-mbox-store.c:185: error: 'O_LARGEFILE' undeclared (first use in this function)
../../../../../evolution-data-server/camel/providers/local/camel-mbox-store.c:185: error: (Each undeclared identifier is reported only once
../../../../../evolution-data-server/camel/providers/local/camel-mbox-store.c:185: error: for each function it appears in.)
make[5]: *** [camel-mbox-store.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c: In function 'mbox_lock':
../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c:153: error: 'O_LARGEFILE' undeclared (first use in this function)
../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c:153: error: (Each undeclared identifier is reported only once
../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c:153: error: for each function it appears in.)
../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c: In function 'mbox_append_message':
../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c:214: error: 'O_LARGEFILE' undeclared (first use in this function)
../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c: In function 'mbox_get_message':
../../../../../evolution-data-server/camel/providers/local/camel-mbox-folder.c:365: error: 'O_LARGEFILE' undeclared (first use in this function)
make[5]: *** [camel-mbox-folder.lo] Error 1
 ccache gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../../../evolution-data-server/camel/providers/local -I../../../../../evolution-data-server/camel -I../../../../../evolution-data-server/intl -I../../../../../evolution-data-server -pthread -DORBIT2=1 -I/opt/evo/include/glib-2.0 -I/opt/evo/lib/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -DG_LOG_DOMAIN=\"camel-local-provider\" -g -Wall -Wmissing-prototypes -Wno-sign-compare -Wno-pointer-sign -MT camel-local-provider.lo -MD -MP -MF .deps/camel-local-provider.Tpo -c ../../../../../evolution-data-server/camel/providers/local/camel-local-provider.c  -fPIC -DPIC -o .libs/camel-local-provider.o
mv -f .deps/camel-local-provider.Tpo .deps/camel-local-provider.Plo




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]