Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 90230 - sci-mathematics/pari-2.1.6 build fails: Undefined reference in libreadline
Summary: sci-mathematics/pari-2.1.6 build fails: Undefined reference in libreadline
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-24 05:42 UTC by Stuart Shelton
Modified: 2005-04-24 05:59 UTC (History)
0 users

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 Stuart Shelton 2005-04-24 05:42:22 UTC
i686-pc-linux-gnu-gcc -o gp-dyn -O3 -DGCC_INLINE -Wall -Wno-implicit -fomit-frame-pointer   -Xlinker -export-dynamic gp.o gp_init.o gp_rl.o highlvl.o whatnow.o plot.o plotport.o  -Xlinker -rpath -Xlinker  /var/tmp/portage/pari-2.1.6/work/pari-2.1.6/Olinux-i686:/usr/lib:/usr/lib -L/var/tmp/portage/pari-2.1.6/work/pari-2.1.6/Olinux-i686 -L/usr/local/lib -lreadline -L/usr/lib -lpari -L/usr/lib -lX11  -ldl -lm
/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: *** [gp-dyn] Error 1

!!! ERROR: sci-mathematics/pari-2.1.6 failed.
!!! Function src_compile, Line 46, Exitcode 2
!!! Building executables failed!

Readline version is sys-libs/readline-4.3-r5

emerge info:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1,dev-lang/python-2.2.3-r6 [2.3.4 (#1, Feb  7 2005, 10:05:03)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1, 2.2.3-r6
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.6.3, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.4, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r7, 2.15.92.0.2-r1
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -mfpmath=sse -msse2 -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/X11/xkb /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -mfpmath=sse -msse2 -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="        http://distfiles.gentoo.org     http://www.ibiblio.org/pub/Linux/distributions/gentoo   http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo    http://ftp.heanet.ie/pub/gentoo   http://gentoo.osuosl.org        http://gentoo.oregonstate.edu "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib accessibility acl acpi adns alsa arts audiofile avi bash-completion berkdb bitmap-fonts bluetooth bonobo bzip2 caps cdr crypt cscope cups curl dedicated dga directfb divx4linux dv dvd dvdread eds emboss encode esd ethereal evo fam fastcgi fbcon ffmpeg fftw firebird flac flash font-server foomaticdb fortran freetds freetype gb gcj gd gdbm ggi gif glut gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl icc-pgo imagemagick imap imlib informix innodb ipv6 jack java javamail javascript joystick jpeg junit kde kdeenablefinal kerberos krb4 ladcca lcms ldap libcaca libg++ libgda libwww lua lzo mad maildir mailwrapper matroska mbox mcal memlimit mikmod milter mmap mmx mng mono motif mozilla mp3 mpeg mpi mssql multislot mysql nas ncurses net network nls nntp nptl oci8 odbc ogg oggvorbis openal opengl oss pam pcmcia pcre pdflib perl pic plotutils png pnp portaudio postgres ppds prelude python qdbm qt quicktime readline real samba sasl scanner sdl skey slang slp smartcard sndfile snmp socks5 speex spell sqlite sse sse2 ssl svg svga tcltk tcpd test theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vidix vorbis win32codecs wmf wxwindows xanim xface xim xine xinerama xml xml2 xmms xosd xprint xv xvid zeo zlib video_cards_radeon"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Stuart Shelton 2005-04-24 05:59:33 UTC
Strange - rebuild readline, and it now compiles fine.
(I've built many other things thay rely on readline, and not hit any problems...)