This is the error message, and further on are my emerge --info and make.conf Making all in include make[1]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/include' make all-recursive make[2]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/include' Making all in Dt make[3]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/include/Dt' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/include/Dt' make[3]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/include' make[3]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/include' make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/include' make[1]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/include' Making all in tools make[1]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/tools' Making all in wml make[2]: Entering directory `/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/tools/wml' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib -I./../../lib -I./../../include -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -c wmlparse.c y.tab.c: In function 'yyparse': y.tab.c:746: warning: suggest parentheses around assignment used as truth value wmlparse.y:457: warning: implicit declaration of function 'wmlAddClassChild' wmlparse.y:529: warning: implicit declaration of function 'wmlCreateChild' wmlparse.y:576: warning: implicit declaration of function 'wmlCreateOrAppendCtrlList' wmlparse.y:594: warning: implicit declaration of function 'wmlAddCtrlListControl' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib -I./../../lib -I./../../include -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -c wml.c wml.c: In function 'main': wml.c:212: warning: implicit declaration of function 'dup2' wml.c:226: warning: implicit declaration of function 'yyparse' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib -I./../../lib -I./../../include -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -c wmloutkey.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib -I./../../lib -I./../../include -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -c wmlouth.c wmlouth.c: In function 'wmlOutputUilSymCtl': wmlouth.c:1252: warning: 'itemno' may be used uninitialized in this function wmlouth.c: In function 'wmlOutputUilSymChTa': wmlouth.c:1130: warning: 'itemno' may be used uninitialized in this function wmlouth.c: In function 'wmlOutputUilSymArTa': wmlouth.c:1005: warning: 'itemno' may be used uninitialized in this function wmlouth.c: In function 'wmlOutputUilSymReas': wmlouth.c:879: warning: 'itemno' may be used uninitialized in this function wmlouth.c: In function 'wmlOutputUilConst': wmlouth.c:786: warning: 'bitno' may be used uninitialized in this function i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib -I./../../lib -I./../../include -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -c wmloutmm.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib -I./../../lib -I./../../include -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -c wmloutp1.c wmloutp1.c: In function 'wmlOutput': wmloutp1.c:75: warning: implicit declaration of function 'wmlOutputKeyWordFiles' wmloutp1.c:81: warning: implicit declaration of function 'wmlOutputMmFiles' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib -I./../../lib -I./../../include -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -c wmlresolve.c wmlresolve.c: In function 'wmlResolvePrintClassArgs': wmlresolve.c:1523: warning: implicit declaration of function 'strcmp' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib -I./../../lib -I./../../include -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -c wmlsynbld.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib -I./../../lib -I./../../include -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -c wmlutils.c wmlutils.c: In function 'wmlInsertInKeyList': wmlutils.c:362: warning: 'cmpres' may be used uninitialized in this function wmlutils.c:360: warning: 'midndx' may be used uninitialized in this function wmlutils.c: In function 'wmlInsertInHList': wmlutils.c:279: warning: 'cmpres' may be used uninitialized in this function wmlutils.c:277: warning: 'midndx' may be used uninitialized in this function rm -f libwml.a i686-pc-linux-gnu-ar cru libwml.a wmlparse.o wml.o wmloutkey.o wmlouth.o wmloutmm.o wmloutp1.o wmlresolve.o wmlsynbld.o wmlutils.o i686-pc-linux-gnu-ranlib libwml.a /bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -o wml wml.o -L. -lwml mkdir .libs i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -o wml wml.o -L/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/tools/wml -lwml i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../lib -I./../../lib -I./../../include -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -c wmluiltok.c /bin/sh ../../libtool --mode=link i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -o wmluiltok wmluiltok.o i686-pc-linux-gnu-gcc -O2 -march=pentium-m -pipe -msse2 -Wall -Wno-unused -Wno-comment -o wmluiltok wmluiltok.o /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/../../../crt1.o: In function `_start': init.c:(.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status make[2]: *** [wmluiltok] Error 1 make[2]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/tools/wml' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/openmotif-2.2.3-r9/work/openMotif-2.2.3/tools' make: *** [all-recursive] Error 1 !!! ERROR: x11-libs/openmotif-2.2.3-r9 failed. Call stack: ebuild.sh, line 1933: Called dyn_compile ebuild.sh, line 971: Called src_compile !!! make failed, if you have lesstif installed removed it, compile openmotif and recompile lesstif !!! If you need support, post the topmost build error, and the call stack if relevant. localhost ~ # emerge --info Portage 2.1_pre5-r4 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.3.6-r3, 2.6.15-gentoo-r7 i686) ================================================================= System uname: 2.6.15-gentoo-r7 i686 Intel(R) Pentium(R) M processor 2.00GHz Gentoo Base System version 1.12.0_pre16 ccache version 2.4 [enabled] dev-lang/python: 2.4.2-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-r1 sys-devel/binutils: 2.16.1, 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -pipe -msse2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium-m -pipe -msse2 -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en_GB ru" 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 acl acpi alsa apache2 apm avi bash-completion berkdb bidi bitmap-fonts bzip2 canna cdb cdparanoia cdr clamav crypt cups dbus doc dv dvd dvdr dvdread emboss encode esd exif fbcon fftw flac foomaticdb fortran ftp gcj gd gdbm geoip gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 hal icc ieee1394 imagemagick imlib innodb ipv6 jikes jpeg jpeg2k kde kdeenablefinal libg++ libwww mad memlimit mhash mikmod mime mmx mono motif mp3 mpeg mysql mysqli ncurses nls nptl nptlonly nsplugin objc objc++ objc-gc odbc ogg openal opengl oss pam pdf pdflib perl php plotutils png posix ppds python qt quicktime readline ruby samba sdl session sharedmem simplexml smartcard sockets socks5 spell sqlite3 sse sse2 ssl svg tcpd tetex tidy tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis wifi win32codecs xcomposite xine xml xml2 xmms xosd xpm xprint xscreensaver xv xvid zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_vmmouse kernel_linux linguas_en_GB linguas_ru userland_GNU video_cards_vmware video_cards_vesa video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS `cat /etc/make.conf` # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CFLAGS="-O2 -march=pentium-m -pipe -msse2" CHOST="i686-pc-linux-gnu" CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden" ACCEPT_KEYWORDS="~x86" MAKEOPTS="-j2" LINGUAS="en_GB ru" USE="-arts -eds a52 aac acl acpi alsa apache2 bash-completion berkdb bidi bzip2 canna cdb cdr cdparanoia clamav crypt cups" USE="${USE} dbus doc dv dvd dvdr dvdread encode exif fbcon fftw flac foomaticdb ftp gcj gd geoip gif glut gmp gnome gphoto2" USE="${USE} gpm gtk2 gstreamer hal icc ieee1394 imagemagick innodb ipv6 jikes jpeg jpeg2k kde kdeenablefinal -ldap mad" USE="${USE} memlimit mime mmx mono mp3 -mozilla mpeg mysql mysqli ncurses nls nptl nptlonly nsplugin odbc ogg openal opengl" USE="${USE} pdf php plotutils png posix ppds python qt quicktime readline ruby samba sdl session sharedmem simplexml smartcard" USE="${USE} sockets socks5 spell sqlite3 sse sse2 ssl svg tetex tidy truetype unicode usb vcd wifi win32codecs X xine xml2" USE="${USE} xosd xpm xprint xv xvid zlib xcomposite" #Misc USE="${USE} tiff mhash xscreensaver" #Objective C USE="${USE} objc objc++ objc-gc" FEATURES="ccache" CCACHE_SIZE="5G" CCACHE_DIR="/root/.ccache" PORTDIR_OVERLAY="/usr/local/portage" VIDEO_CARDS="vmware vesa nvidia" INPUT_DEVICES="evdev keyboard mouse synaptics vmmouse"
Tried again with a clean world (2006.0 stage3, compiled gcc glibc and openmotif merges)