Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132476 - spidermonkey-1.5-r1 fails to compile
Summary: spidermonkey-1.5-r1 fails to compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-06 10:32 UTC by jsado_sc3
Modified: 2006-05-06 13:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jsado_sc3 2006-05-06 10:32:18 UTC
The subject says it all. Here is the error:

i686-pc-linux-gnu-gcc -o Linux_All_OPT.OBJ/js.o -c -Os -mcpu=pentium4 -msse2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -Wno-format -O -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy  -UDEBUG -DNDEBUG -UDEBUG_root -DEDITLINE -ILinux_All_OPT.OBJ  -Wall -Wno-format -O -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy  -UDEBUG -DNDEBUG -UDEBUG_root -DEDITLINE -ILinux_All_OPT.OBJ  js.c
i686-pc-linux-gnu-gcc -o Linux_All_OPT.OBJ/js -Os -mcpu=pentium4 -msse2 -mfpmath=sse -pipe -fomit-frame-pointer -Wall -Wno-format -O -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy  -UDEBUG -DNDEBUG -UDEBUG_root -DEDITLINE -ILinux_All_OPT.OBJ  -Wall -Wno-format -O -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DHAVE_LOCALTIME_R -DHAVE_VA_COPY -DVA_COPY=va_copy  -UDEBUG -DNDEBUG -UDEBUG_root -DEDITLINE -ILinux_All_OPT.OBJ  Linux_All_OPT.OBJ/js.o Linux_All_OPT.OBJ/libjs.a  -lm -Lfdlibm/Linux_All_OPT.OBJ -lfdm \
    -lreadline
/lib/libreadline.so: undefined reference to `tgetnum'
/lib/libreadline.so: undefined reference to `tgoto'
/lib/libreadline.so: undefined reference to `tgetflag'
/lib/libreadline.so: undefined reference to `BC'
/lib/libreadline.so: undefined reference to `tputs'
/lib/libreadline.so: undefined reference to `PC'
/lib/libreadline.so: undefined reference to `tgetent'
/lib/libreadline.so: undefined reference to `UP'
/lib/libreadline.so: undefined reference to `tgetstr'
collect2: ld returned 1 exit status
make[1]: *** [Linux_All_OPT.OBJ/js] Error 1
make[1]: Leaving directory `/var/tmp/portage/spidermonkey-1.5-r1/work/js/src'
make: *** [all] Error 2

emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.4.20040808-r1, 2.6.14-gentoo-r2 i686)
=================================================================
System uname: 2.6.14-gentoo-r2 i686 Transmeta Efficeon(tm) Processor TM8000
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4
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.14.90.0.8-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -mcpu=pentium4 -msse2 -mfpmath=sse -pipe -fomit-frame-pointer"
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/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -mcpu=pentium4 -msse2 -mfpmath=sse -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apm audiofile avi berkdb bitmap-fonts bonobo bzip2 bzlib cdr cpdflib crypt cscope curl dga dio directfb divx4linux doc dri dts dv dvb dvd eds emboss encode ethereal exif expat fam fbcon ffmpeg fftw flac fortran ftp gb gd gdbm gif glut gmp gpm gstreamer gtk gtk2 gtkhtml guile icq idn imagemagick imap imlib isdnlog jack java jpeg junit ladcca lcms lesstif libg++ libwww lua mad mikmod mime mmx mmxext mng motif mozilla mp3 mpeg mysql ncurses nis offensive ogg oggvorbis openal opengl pam pcmcia pcre pda pdflib perl png pnp posix pppd quicktime radeon readline scanner sdl slang spell sse sse2 ssl svg svga sysvipc tcltk tcpd tetex tga theora tidy tiff truetype truetype-fonts type1-fonts udev usb vim-with-x vorbis win32codecs xine xml xml2 xmms xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2006-05-06 13:33:48 UTC
What does `ldd /lib/libreadline.so` show?
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2006-05-06 13:44:25 UTC
Actually... Your toolchain is seriously outdated. Please upgrade at least both binutils and gcc to the current stable versions, reinstall readline (preferably even your entire system, but that would take a long time), and reopen if spidermonkey still fails after that.