When attempting to compile POSE (Palm OS Emulator), I get compile errors. See below Reproducible: Always Steps to Reproduce: 1. emerge pose 2. 3. Actual Results: dan pose # emerge pose Calculating dependencies ...done! >>> emerge (1 of 1) app-emulation/pose-3.5-r4 to / >>> md5 files ;-) pose-3.5-r1.ebuild >>> md5 files ;-) pose-3.5-r4.ebuild >>> md5 files ;-) files/choose-gl.diff >>> md5 files ;-) files/init-clipwidget.diff >>> md5 files ;-) files/digest-pose-3.5-r1 >>> md5 files ;-) files/digest-pose-3.5-r4 >>> md5 files ;-) files/separate-builddir.diff >>> md5 files ;-) files/detect-fluid.diff >>> md5 files ;-) files/gcc-3.3_fix.diff.bz2 >>> md5 src_uri ;-) emulator_src_3.5.tar.gz >>> Unpacking source... >>> Unpacking emulator_src_3.5.tar.gz to /var/tmp/portage/pose-3.5-r4/work patching file BuildUnix/Makefile.am patching file BuildUnix/configure.in patching file BuildUnix/Gzip/Makefile.am patching file BuildUnix/Makefile.am patching file BuildUnix/espws-2.0/Makefile.am patching file BuildUnix/jpeg/Makefile.am patching file BuildUnix/configure.in patching file SrcUnix/EmApplicationFltk.cpp patching file SrcShared/Hardware/EmRegs328.cpp patching file SrcShared/Hardware/EmRegsEZ.cpp patching file SrcShared/Hardware/EmRegsVZ.cpp FATAL ERROR: Autoconf version 2.50 or higher is required for this script >>> Source unpacked. creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether make sets ${MAKE}... (cached) yes checking for gcc... gcc checking whether the C compiler (gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse,387 -L/var/tmp/portage/pose-3.5-r4/work/Emulator_Src_3.5/static-libs) works... yes checking whether the C compiler (gcc -O2 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse,387 -L/var/tmp/portage/pose-3.5-r4/work/Emulator_Src_3.5/static-libs) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -O2 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse,387 -L/var/tmp/portage/pose-3.5-r4/work/Emulator_Src_3.5/static-libs) works... yes checking whether the C++ compiler (c++ -O2 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse,387 -L/var/tmp/portage/pose-3.5-r4/work/Emulator_Src_3.5/static-libs) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for X... libraries , headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... yes checking for endian.h... yes checking for machine/endian.h... no checking for sys/isa_defs.h... no checking for fcntl.h... yes checking for limits.h... yes checking for strings.h... yes checking for sys/time.h... yes checking for unistd.h... yes checking for working const... yes checking for inline... inline checking for 'sa_len' in 'struct sockaddr'... no checking for 'sin_len' in 'struct sockaddr_in'... no checking for 'socklen_t'... yes checking for working alloca.h... yes checking for alloca... yes checking for mkdir... yes checking for mkstemp... yes checking for tempnam... yes checking whether virtual function default arguments work... yes checking how to run the C++ preprocessor... c++ -E checking for GL/gl.h... yes checking for glXMakeCurrent in -lGL... yes checking for GL/glu.h... yes updating cache ./config.cache checking for 'int fl_height (void)' in -lfltk... yes updating cache ./config.cache creating ./config.status creating Makefile creating Gzip/Makefile creating jpeg/Makefile creating espws-2.0/Makefile Making all in Gzip make[1]: Entering directory `/var/tmp/portage/pose-3.5-r4/work/Emulator_Src_3.5/build-normal/Gzip' [compiles Gzip, JPEG and espws libs fine] make[1]: Entering directory `/var/tmp/portage/pose-3.5-r4/work/Emulator_Src_3.5/build-normal' c++ -DHAVE_DIRENT_H=1 -DSTDC_HEADERS=1 -DHAVE_ENDIAN_H=1 -DHAVE_FCNTL_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_TYPE_SOCKLEN_T=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_MKDIR=1 -DHAVE_MKSTEMP=1 -DHAVE_TEMPNAM=1 -DHAVE_GL=1 -DHAVE_GL_GLU_H=1 -DHAVE_LIBFLTK=1 -I. -I../BuildUnix -I../BuildUnix/../SrcShared -I../BuildUnix/../SrcShared/Hardware -I../BuildUnix/../SrcShared/Hardware/TRG -I../BuildUnix/../SrcShared/Palm/Device -I../BuildUnix/../SrcShared/Palm/Platform -I../BuildUnix/../SrcShared/Palm/Platform/Core/Hardware/IncsPrv -I../BuildUnix/../SrcShared/Palm/Platform/Core/System/IncsPrv -I../BuildUnix/../SrcShared/Palm/Platform/Incs -I../BuildUnix/../SrcShared/Palm/Platform/Incs/Core -I../BuildUnix/../SrcShared/Palm/Platform/Incs/Core/Hardware -I../BuildUnix/../SrcShared/Palm/Platform/Incs/Core/System -I../BuildUnix/../SrcShared/Palm/Platform/Incs/Core/UI -I../BuildUnix/../SrcShared/Palm/Platform/Incs/Libraries -I../BuildUnix/../SrcShared/Gzip -I../BuildUnix/../SrcShared/jpeg -I../BuildUnix/../SrcShared/omnithread -I../BuildUnix/../SrcShared/Patches -I../BuildUnix/../SrcShared/UAE -I../BuildUnix/../SrcUnix -I../BuildUnix/../SrcUnix/espws-2.0 -I/var/tmp/portage/pose-3.5-r4/work/Emulator_Src_3.5/install-fltk/include -DFLTK_1_0_COMPAT -DPLATFORM_UNIX=1 -D__PALMOS_TRAPS__=0 -DEMULATION_LEVEL=EMULATION_UNIX -O2 -fno-strict-aliasing -DHAS_PROFILING=0 -DNDEBUG -fexceptions -Wall -Wno-multichar -Wno-unknown-pragmas -Wno-conversion -D_REENTRANT -DNoNanoSleep -DPthreadDraftVersion=10 -c ../BuildUnix/../SrcUnix/EmApplicationFltk.cpp In file included from ../BuildUnix/../SrcShared/CGremlins.h:17, from ../BuildUnix/../SrcShared/Hordes.h:19, from ../BuildUnix/../SrcShared/Logging.h:17, from ../BuildUnix/../SrcShared/EmDlg.h:23, from ../BuildUnix/../SrcUnix/EmDlgFltk.h:17, from ../BuildUnix/../SrcUnix/EmApplicationFltk.cpp:17: ../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream& EmStream::operator>>(std::deque<T, std::allocator<_CharT> >&)': ../BuildUnix/../SrcShared/EmStream.h:93: error: expected `;' before "iter" ../BuildUnix/../SrcShared/EmStream.h:94: error: `iter' undeclared (first use this function) ../BuildUnix/../SrcShared/EmStream.h:94: error: (Each undeclared identifier is reported only once for each function it appears in.) ../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream& EmStream::operator>>(std::list<T, std::allocator<_CharT> >&)': ../BuildUnix/../SrcShared/EmStream.h:111: error: expected `;' before "iter" ../BuildUnix/../SrcShared/EmStream.h:112: error: `iter' undeclared (first use this function) ../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream& EmStream::operator>>(std::vector<T, std::allocator<_CharT> >&)': ../BuildUnix/../SrcShared/EmStream.h:129: error: expected `;' before "iter" ../BuildUnix/../SrcShared/EmStream.h:130: error: `iter' undeclared (first use this function) ../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream& EmStream::operator<<(const std::deque<T, std::allocator<_CharT> >&)': ../BuildUnix/../SrcShared/EmStream.h:146: error: expected `;' before "iter" ../BuildUnix/../SrcShared/EmStream.h:147: error: `iter' undeclared (first use this function) ../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream& EmStream::operator<<(const std::list<T, std::allocator<_CharT> >&)': ../BuildUnix/../SrcShared/EmStream.h:163: error: expected `;' before "iter" ../BuildUnix/../SrcShared/EmStream.h:164: error: `iter' undeclared (first use this function) ../BuildUnix/../SrcShared/EmStream.h: In member function `EmStream& EmStream::operator<<(const std::vector<T, std::allocator<_CharT> >&)': ../BuildUnix/../SrcShared/EmStream.h:180: error: expected `;' before "iter" ../BuildUnix/../SrcShared/EmStream.h:181: error: `iter' undeclared (first use this function) ../BuildUnix/../SrcUnix/EmApplicationFltk.h: In constructor `EmApplicationFltk::EmApplicationFltk()': ../BuildUnix/../SrcUnix/EmApplicationFltk.h:44: warning: `EmApplicationFltk::fClipboardWidget' will be initialized after ../BuildUnix/../SrcUnix/EmApplicationFltk.h:43: warning: `EmWindowFltk*EmApplicationFltk::fAppWindow' ../BuildUnix/../SrcUnix/EmApplicationFltk.cpp:120: warning: when initialized here make[1]: *** [EmApplicationFltk.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/pose-3.5-r4/work/Emulator_Src_3.5/build-normal' make: *** [all-recursive] Error 1 !!! ERROR: app-emulation/pose-3.5-r4 failed. !!! Function src_compile, Line 55, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: package app-emulation/pose-3.5-r4 installed successfully I also tried CFLAGS="" CXXFLAGS="" and gcc-3.3, but it does not change the results. When I try pose-3.5-r1, it fails on FATAL ERROR: Autoconf version 2.50 or higher is required for this script. In a normal director, autoconf --version gives me: autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. In /var/tmp/portage/pose-3.5-r4/work/Emulator_Src_3.5/BuildUnix/, I get: Autoconf version 2.13 Please tell me what else I should post. dan pose # emerge info Portage 2.0.51.21 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 i686) ================================================================= System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm) XP 3000+ Gentoo Base System version 1.6.11 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.2 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse,387" 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 /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -mfpmath=sse,387" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://open-systems.ufl.edu/mirrors/gentoo ftp://ftp.ndlug.nd.edu/pub/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" LDFLAGS="-Wl,-z,now" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X a52 aac aalib acpi adns alsa apm avi bash-completion berkdb bidi bitmap-fonts cdr crypt cups curl divx4linux dvd dvdr dvdread eds emboss encode faad fam ffmpeg flac foomaticdb fortran gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 i8x0 imagemagick imlib ipv6 jack java joystick jpeg junit kde libg++ libwww lirc mad matroska mikmod mmx mmxext mng motif mozilla mp3 mpeg nas ncurses nptl nptlonly offensive ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline real samba sdl spell sse ssl stream svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb v4l vorbis wxwindows xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LINGUAS, PORTDIR_OVERLAY
same here... I've tried with older versions of fltk and got the same...
Created attachment 61288 [details] Updated ebuld to fix autoconf Here's an attempt to fix the autoconf issues and to install the ROMs and skins in the ebuild (as requested in bug 33028).
Created attachment 61418 [details, diff] Part of sourceforge's attachment This is part of the Patch 'recent-gcc-fltk.diff' found at http://sourceforge.net/projects/pose I have modified Daniel's recently posted pose-3.5-r5.ebuild to accomodate it. I haven't had time to go through recent-gcc-fltk.diff thoroughly, as there are conflicts with some of the patches in the gentoo emerge. I just gleaned enough to make my emerge work. See how yours goes!
Created attachment 61420 [details] Update of Daniel's 'pose-3.5-r5.ebuild to accomodate new patch Use this with the patch in my previous post.
The latest attachments (id=61418 and id=61420) solved it for me. I guess I had same error, sort of. Thanks all :)
Created attachment 74771 [details, diff] Fixes for gcc 3.4.4
*** Bug 127400 has been marked as a duplicate of this bug. ***
removed