Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing -Wall -Os -mtune=pentium4 -msse2 -mfpmath=sse -pipe -fomit-frame-pointer -MT gconf_support.lo -MD -MP -MF .deps/gconf_support.Tpo -c gconf_support.c -fPIC -DPIC -o .libs/gconf_support.o if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing -Wall -Os -mtune=pentium4 -msse2 -mfpmath=sse -pipe -fomit-frame-pointer -MT gconf.lo -MD -MP -MF ".deps/gconf.Tpo" -c -o gconf.lo gconf.c; \ then mv -f ".deps/gconf.Tpo" ".deps/gconf.Plo"; else rm -f ".deps/gconf.Tpo"; exit 1; fi i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing -Wall -Os -mtune=pentium4 -msse2 -mfpmath=sse -pipe -fomit-frame-pointer -MT gconf.lo -MD -MP -MF .deps/gconf.Tpo -c gconf.c -fPIC -DPIC -o .libs/gconf.o In file included from gconf_support.h:15, from gconf.c:57: /usr/include/libintl.h:40: error: syntax error before "const" /usr/include/libintl.h:45: error: syntax error before "const" /usr/include/libintl.h:52: error: syntax error before "const" /usr/include/libintl.h:62: error: syntax error before "unsigned" /usr/include/libintl.h:68: error: syntax error before "unsigned" /usr/include/libintl.h:74: error: syntax error before "unsigned" /usr/include/libintl.h:83: error: syntax error before ';' token /usr/include/libintl.h:87: error: syntax error before ';' token /usr/include/libintl.h:92: error: syntax error before "const" gconf.c: In function `gconf_main': gconf.c:1695: warning: statement with no effect make[4]: *** [gconf.lo] Error 1 make[4]: Leaving directory `/var/tmp/portage/gnunet-0.7.0d-r1/work/GNUnet-0.7.0d/src/conf' make[3]: *** [all] Error 2 make[3]: Leaving directory `/var/tmp/portage/gnunet-0.7.0d-r1/work/GNUnet-0.7.0d/src/conf' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/gnunet-0.7.0d-r1/work/GNUnet-0.7.0d/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gnunet-0.7.0d-r1/work/GNUnet-0.7.0d' make: *** [all] Error 2 root@bit:~ 5> emerge --info Portage 2.1.1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.14-gentoo-r2 i686) ================================================================= System uname: 2.6.14-gentoo-r2 i686 Transmeta Efficeon(tm) Processor TM8000 Gentoo Base System version 1.12.5 Last Sync: Fri, 15 Sep 2006 16:00:05 +0000 app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.3.4, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -mtune=pentium4 -msse2 -mfpmath=sse -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-Os -mtune=pentium4 -msse2 -mfpmath=sse -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aac acpi alsa apache2 apm audiofile avi berkdb bitmap-fonts bonobo bzlib cli cpdflib crypt cscope dga dio directfb divx4linux dlloader doc dri dts dv dvb dvd dvdread eds elibc_glibc emboss encode fbcon fftw firefox flac fortran ftp gb gd gdbm gif gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog jack jpeg kernel_linux ladcca lcms lesstif libg++ libwww mad mikmod mime mmx mmxext mng motif mp3 mpeg mysql ncurses nis nptl nptlonly offensive ogg oggvorbis opengl pam pcmcia pcre pda pdflib perl png pnp posix pppd qt3 qt4 quicktime radeon readline reflection sdl session sndfile speex spell spl sse sse2 ssl svg sysvipc tcpd tga theora tidy tiff truetype truetype-fonts type1-fonts udev usb userland_GNU vcd video_cards_radeon vim-with-x vorbis win32codecs xine xml xmms xorg xpm xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
run `qfile /usr/include/libintl.h` and post it as an attachment
> qfile /usr/include/libintl.h sys-libs/glibc (/usr/include/libintl.h)
you didnt post it as an attachment
Created an attachment (id=97316) [edit] qfile
Here's your attachment
no, post the actual /usr/include/libintl.h as an attachment
Created an attachment (id=97376) [edit] libintl.h
Ok, now I understand.
ok, that isnt working ... run this: cd /var/tmp/portage/gnunet-0.7.0d-r1/work/GNUnet-0.7.0d/src/conf i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src/include \ -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 \ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 \ -I/usr/lib/glib-2.0/include -fno-strict-aliasing -Wall -Os -mtune=pentium4 \ -msse2 -mfpmath=sse -pipe -fomit-frame-pointer -E -dD gconf.c -fPIC -DPIC \ -o gconf.i then post the gconf.i as an attachment
I could not post the gconf.i as it is too big. Even compressed it is 217K, and bugzilla only allows files up to 100K.
then e-mail it to me
ok, that shows the problem ... it's a bug in gnunet, not the toolchain the issue shows up if you try to build with --disable-nls ... the local headers will setup macros to disable gettext: ... # 45 "../../src/include/gettext.h" #define gettext(Msgid) ((const char *) (Msgid)) ... the gconf.c does something stupid: #define ENABLE_NLS 1 which causes libintl.h to get pulled in and the prototype of gettext gets screwed up
Fixed in 0.7.0e, that is now stable. Thanks.