LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-19-2004, 08:04 PM   #1
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Rep: Reputation: 30
Error when trying to install Xfree ===>SOLVED


i got this error when i try to emerge it

Code:
install in programs/scripts done
make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs
/scripts'
installing in programs/glxinfo...
make[3]: Entering directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/program
s/glxinfo'
rm -f glxinfo
gcc -o glxinfo -mno-mmx -ansi -pedantic -Wno-return-type -w     -L../../expo
rts/lib   glxinfo.o -lGLU -lGL -lXext -lX11  -lpthread -lm   -Wl,-rpath-link
,../../exports/lib
/usr/lib/libstdc++.so.5: warning: `sys_nerr' is deprecated; use `strerror' o
r `strerror_r' instead
../../exports/lib/libGLU.so: undefined reference to `operator new(unsigned)@
GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::
__class_type_info@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::
__vmi_class_type_info@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `__gxx_personality_v0@CX
XABI_1.2'
../../exports/lib/libGLU.so: undefined reference to `operator delete[](void*
)@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `vtable for __cxxabiv1::
__si_class_type_info@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `__cxa_pure_virtual@CXXA
BI_1.2'
../../exports/lib/libGLU.so: undefined reference to `operator new[](unsigned
)@GLIBCPP_3.2'
../../exports/lib/libGLU.so: undefined reference to `operator delete(void*)@        GLIBCPP_3.2'
collect2: ld returned 1 exit status
make[3]: *** [glxinfo] Error 1
make[3]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs        /glxinfo'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc/programs        '
make[1]: *** [install] Error 2
make[1]: Leaving directory `/var/tmp/portage/xfree-4.3.0-r5/work/xc'
make: *** [install] Error 2

!!! ERROR: x11-base/xfree-4.3.0-r5 failed.
!!! Function src_install, Line 614, Exitcode 2
!!! (no error message)
can anyone help plz

and my system innfo
Code:
System uname: 2.6.3-rc2-love2 i686 Intel(R) Celeron(R) CPU 1.70GHz
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/mnt/distfiles/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com"
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="X aalib alsa apm arts avi cdr crypt cups encode fbcon foomaticdb gdbm gif gpm gtk gtk+ gtk2 imlib jpeg kde libg++ libwww mad md5sum mikmod mmx motif mozinterfaceinfo moznoirc moznomail mozp3p mozsvg mozxmlterm mpeg ncurses nls oggvorbis opengl oss pam pdflib perl pic png ppds prebuilt prelink python qt quicktime readline sdl slang spell sse ssl tcltk tcpd tiff truetype video_cards_i830 x86 xml xml2 xmms xv zlib"

Last edited by safrout; 03-20-2004 at 02:52 AM.
 
Old 03-20-2004, 01:47 AM   #2
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038

Rep: Reputation: 51
your sys info is useless i think by the way..

anyway it appears to be a dependency problem, my best guess will be for you to reconfigure the config file , or my other guess is that glibc is either to old or ain't installed right

by the way, get rid of the compiler flags, Makfile's handel that stuff, pluss it can mess up what make wants to do, and somtimes breaks compiles.. so try that first

Last edited by SciYro; 03-20-2004 at 01:49 AM.
 
Old 03-20-2004, 01:53 AM   #3
vi0lat0r
Member
 
Registered: Aug 2003
Location: Lewisville, TX
Distribution: Kubuntu
Posts: 295

Rep: Reputation: 30
libGlu seems to need reinstalling or something... Here is a link (rpm):

ftp://ftp.surfnet.nl/pub/os/Linux/di...-3mdk.i586.rpm
 
Old 03-20-2004, 01:58 AM   #4
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
i think it is a gcc error in the first place
and i am using gentoo and my glibc version is 2.3.2

i believe that the error is because of the lib /usr/lib/libstdc++.so.5 is not fine or not updated during the emerging of gcc-3.3.3
 
Old 03-20-2004, 02:51 AM   #5
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
it worked after doing this
Code:
ln -sf /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/libstdc++.so.5 /usr/lib/libstdc++.so.5
 
Old 10-21-2004, 09:57 PM   #6
joevalleyfield
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
/etc/ld.so.conf

The same thing happened to me. The creation of the symbolic link didn't seem the cleanest thing to do but reminded me that it must be in the library path. For me, i had to change the line in ld.so.conf that reads '/usr/lib/gcc-lib/x86_64-pc-linux-gnu/3.4.1', incrementing the version number to the newly current on my machine glibc version, 3.4.2.
 
Old 10-24-2004, 11:00 AM   #7
safrout
Member
 
Registered: Mar 2002
Location: egypt
Distribution: Gentoo
Posts: 457

Original Poster
Rep: Reputation: 30
here it looks like this be default now

Code:
usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4
notice the date of this thread my friend
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandrake 10.0 Xfree error?? sos20 Mandriva 3 01-26-2005 11:29 PM
XFree fatal error - help sabodis Mandriva 2 04-30-2004 04:25 AM
Radeon 9000, xfree error feua Slackware 3 03-23-2004 09:00 AM
HELP! XFree Error, can't start x Aeiri Linux - Software 1 02-29-2004 08:57 AM
xfree error k3v0 Linux - Software 1 01-07-2003 12:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration