Compiler error emerging xpp: >>> emerge (32 of 36) net-print/xpp-1.1-r1 to / >>> md5 ;-) xpp-1.1.tar.gz >>> Unpacking source... >>> Unpacking xpp-1.1.tar.gz * Applying cups.diff... [ ok ] >>> Source unpacked. creating cache ./config.cache 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 for gawk... gawk checking for c++... g++ checking whether the C++ compiler (g++ -march=i686 -O3 -pipe -L/usr/lib/fltk-1.0) works... yes checking whether the C++ compiler (g++ -march=i686 -O3 -pipe -L/usr/lib/fltk-1.0) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether g++ accepts -g... yes checking for a BSD compatible install... /bin/install -c checking whether ln -s works... yes checking for strip... /usr/bin/strip checking how to run the C preprocessor... gcc -E checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include 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 main in -lX11... yes checking for main in -lXext... yes checking for main in -lGL... yes checking for main in -lGLU... yes checking for libfltk.a... /usr/lib/libfltk.a checking for main in -lfltk... yes checking for main in -lm... yes checking for ANSI C header files... yes checking for cups/cups.h... yes checking for FL/Fl.H... yes checking for working const... yes checking for inline... inline checking for socket in -lsocket... no checking for gethostbyaddr in -lnsl... yes checking for httpConnect in -lcups... yes checking for cupsd... /usr/sbin/cupsd checking for fluid... /usr/bin/fluid updating cache ./config.cache creating ./config.status creating Makefile /usr/bin/fluid -c mainwindow.fl mainwindow.fl:2: unknown version '1.0100' g++ -DPACKAGE=\"xpp\" -DVERSION=\"1.1\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1 -I. -I. -I/usr/include/fltk-1.0 -I/usr/X11R6/include -march=i686 -O3 -pipe -c mainwindow.cxx g++ -DPACKAGE=\"xpp\" -DVERSION=\"1.1\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1 -I. -I. -I/usr/include/fltk-1.0 -I/usr/X11R6/include -march=i686 -O3 -pipe -c passworddialog.cxx g++ -DPACKAGE=\"xpp\" -DVERSION=\"1.1\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1 -I. -I. -I/usr/include/fltk-1.0 -I/usr/X11R6/include -march=i686 -O3 -pipe -c cupshelper.cxx g++ -DPACKAGE=\"xpp\" -DVERSION=\"1.1\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1 -I. -I. -I/usr/include/fltk-1.0 -I/usr/X11R6/include -march=i686 -O3 -pipe -c xpp.cxx g++ -DPACKAGE=\"xpp\" -DVERSION=\"1.1\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1 -I. -I. -I/usr/include/fltk-1.0 -I/usr/X11R6/include -march=i686 -O3 -pipe -c xppmain.cxx g++ -DPACKAGE=\"xpp\" -DVERSION=\"1.1\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1 -I. -I. -I/usr/include/fltk-1.0 -I/usr/X11R6/include -march=i686 -O3 -pipe -c inputslider.cxx g++ -march=i686 -O3 -pipe -L/usr/lib/fltk-1.0 -o xpp mainwindow.o passworddialog.o cupshelper.o xpp.o xppmain.o inputslider.o -lcups -lnsl -lm /usr/lib/libfltk.a -lGLU -lGL -lXext -lX11 -L/usr/X11R6/lib -lSM -lICE mainwindow.o(.text+0x26): In function `xppMainWindow::cb_Browse(Fl_Button *, void *)': : undefined reference to `fl_file_chooser(char const *, char const *, char const *)' mainwindow.o(.text+0x1266): In function `xppMainWindow::xppMainWindow(int, char **, int &)': : undefined reference to `define_FL_SHADOW_LABEL(void)' mainwindow.o(.text+0x5a5d): In function `xppMainWindow::xppInstanceDialog(void)': : undefined reference to `define_FL_ROUND_UP_BOX(void)' mainwindow.o(.text+0x5adc): In function `xppMainWindow::xppInstanceDialog(void)': : undefined reference to `define_FL_ROUND_UP_BOX(void)' mainwindow.o(.text+0x5cbc): In function `xppMainWindow::xppInstanceDialog(void)': : undefined reference to `define_FL_ROUND_UP_BOX(void)' collect2: ld returned 1 exit status make: *** [xpp] Error 1 !!! ERROR: net-print/xpp-1.1-r1 failed. !!! Function src_compile, Line -259, Exitcode 2 !!! make failed ------------------------------------- # emerge info Portage 2.0.46-r9 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7) ================================================================= System uname: 2.4.20-xfs_pre3 i686 Pentium III (Coppermine) GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /opt/jakarta/tomcat/conf /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt encode jpeg libg++ mikmod mmx mpeg ncurses pdflib qtmt quicktime spell xml2 xv arts cdr esd gdbm gif gnome-libs gtk gtkhtml guile imlib java kde libwww motif mysql nls oggvorbis opengl pam perl png python qt readline sdl slang ssl svga tcltk tcpd tiff gnome bonobo -ipv6 mozilla mozxmlterm mozinterfaceinfo mozp3p moznoirc innodb -berkdb 3dfx voodoo3 gphoto2 gpm X xmms truetype freetype scanner cups" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
i see you are run a strange combination of software... the latest kde-3.1 on a 1.0 profile... interesting... Regarding the compile error, check for an updated version of fltk Configure appears to be reporting 1.0.10... there is a 1.0.11-r3 in portage currently. Let me know what version of fltk you are working with.
Hrm. I seem to have x11-libs/fltk-1.1.2-r1 installed... Is that good or bad? ;)
xpp depends on the 1.0.x series of fltk... maybe even 1.0.11 specifically having fltk-1.1.x on the system shouldn't get in the way though... you can have both on the system.
Oops, looks like I did have a 1.0 version: # qpkg -I fltk -v x11-libs/fltk-1.0.11-r3 * x11-libs/fltk-1.1.0_rc4 * x11-libs/fltk-1.1.2-r1 * So I re-emerged the 1.0 version: # emerge '=x11-libs/fltk-1.0.11-r3' and still get the same error emerging xpp...
This appears to be a problemw with gcc2... I don't have any systems to test gcc2 compiles.... It appears to be trying to link to /usr/lib/libfltk.a instead of dynamically linking which might also solve the problem...
any news on this? i don't have gcc2 anymore ..
setting to RESOLVED-NEEDINFO for now (since bugzilla is annoying me with mails )
works here ... anyone objects against closing?