Fails with the following error(s) Here is 1.1.8 In file included from pgfilearchive.cpp:29: /usr/include/physfs.h:1866: error: expected `;' before '(' token /usr/include/physfs.h:1867: error: `size_t' has not been declared make[2]: *** [pgfilearchive.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -MT pgcolors.lo -MD -MP -MF .deps/pgcolors.Tpo -c pgcolors.cpp -o pgcolors.o >/dev/null 2>&1 make[2]: Leaving directory `/var/tmp/portage/paragui-1.1.8/work/paragui-1.1.8/src/core' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/paragui-1.1.8/work/paragui-1.1.8/src' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/paragui-1.1.8 failed. !!! Function src_compile, Line 556, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message AND 1.0.4 mv -f .libs/pgapplication.lo pgapplication.lo /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgeventobject.cpp rm -f .libs/pgeventobject.lo c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgeventobject.cpp -fPIC -DPIC -o .libs/pgeventobject.lo c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgeventobject.cpp -o pgeventobject.o >/dev/null 2>&1 mv -f .libs/pgeventobject.lo pgeventobject.lo /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgfilearchive.cpp rm -f .libs/pgfilearchive.lo c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgfilearchive.cpp -fPIC -DPIC -o .libs/pgfilearchive.loc++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgcolors.cpp -o pgcolors.o >/dev/null 2>&1 In file included from pgfilearchive.cpp:29: /usr/include/physfs.h:1866: error: expected `;' before '(' token /usr/include/physfs.h:1867: error: `size_t' has not been declared make[2]: *** [pgfilearchive.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... mv -f .libs/pgcolors.lo pgcolors.lo make[2]: Leaving directory `/var/tmp/portage/paragui-1.0.4/work/paragui-1.0.4/src/core' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/paragui-1.0.4/work/paragui-1.0.4/src' And /usr/include/physfs.h (Lines that cause the bail out) typedef struct { int (*Init)(void); void (*Deinit)(void); void *(*Malloc)(size_t); void *(*Realloc)(void *, size_t); void (*Free)(void *); } PHYSFS_Allocator;
# emerge info Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13 i686) ================================================================= System uname: 2.6.13 i686 Pentium III (Katmai) Gentoo Base System version 1.6.13 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.4.19-r1, 2.4.22, 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium3 -mmmx -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=pentium3 -mmmx -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache cvs distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="en_GB.utf8" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzlib cdr crypt cscope ctype cups curl directfb divx4linux eds emboss encode esd ethereal examples exif fam fbcon foomaticdb fortran ftp gd gdbm geoip gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imlib imlib2 innodb ipv6 javascript jpeg ldap libg++ libwww mad mbox md5sum mikmod mmx motif mozilla mp3 mpeg mpeg4 mysql ncurses nls nvidia odbc offensive ogg oggvorbis opengl oss pam pdflib perl php png python qt quicktime readline ruby sdl slang spell sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb vanilla vorbis win32codecs xml xml2 xmms xosd xv xvid zlib linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LDFLAGS
Yah, I like fixed this in cvs.
Same error, now with 1.0.4 Fix it PUNK ;) c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgeventobject.cpp -fPIC -DPIC -o .libs/pgeventobject.lo mv -f .libs/pgcolors.lo pgcolors.lo /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgfilearchive.cpp c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgeventobject.cpp -o pgeventobject.o >/dev/null 2>&1 mv -f .libs/pgeventobject.lo pgeventobject.lo /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgfile.cpp rm -f .libs/pgfilearchive.lo c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgfilearchive.cpp -fPIC -DPIC -o .libs/pgfilearchive.lo rm -f .libs/pgfile.lo c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgfile.cpp -fPIC -DPIC -o .libs/pgfile.lo In file included from pgfilearchive.cpp:29: /usr/include/physfs.h:1866: error: expected `;' before '(' token /usr/include/physfs.h:1867: error: `size_t' has not been declared make[2]: *** [pgfilearchive.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... c++ -DHAVE_CONFIG_H -I. -I. -I../../include -I/usr/include/SDL -D_REENTRANT -I../../include -O3 -march=pentium3 -mmmx -pipe -Wall -I/usr/include/freetype2 -fno-exceptions -c pgfile.cpp -o pgfile.o >/dev/null 2>&1 mv -f .libs/pgfile.lo pgfile.lo make[2]: Leaving directory `/var/tmp/portage/paragui-1.0.4/work/paragui-1.0.4/src/core' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/paragui-1.0.4/work/paragui-1.0.4/src' make: *** [all-recursive] Error 1 !!! ERROR: media-libs/paragui-1.0.4 failed. !!! Function src_compile, Line 567, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message.
Hey Chris, any luck? :)
Ok, I backported the fix to all versions. Should be ok now.