View previous topic :: View next topic |
Author |
Message |
col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Mon Aug 19, 2002 11:35 pm Post subject: arts compile problem |
|
|
collect2: ld returned 1 exit status
make[2]: *** [mcopidl] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-1.0.3/work/arts-1.0.3/mcopidl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-1.0.3/work/arts-1.0.3'
make: *** [all] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -7414, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! emerge aborting on /usr/portage/kde-base/arts/arts-1.0.3.ebuild .
can anyone help with this ? |
|
Back to top |
|
|
yardbird l33t
Joined: 20 Apr 2002 Posts: 689 Location: nl.leiden
|
Posted: Mon Aug 19, 2002 11:42 pm Post subject: |
|
|
I guess you should provide the whole error message.... seems like a linker error, but can't really say |
|
Back to top |
|
|
col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Mon Aug 19, 2002 11:52 pm Post subject: |
|
|
this is the whole error.....Its trying to compile KDE 3.0.3 & I have a GCC 3 system
make[2]: Leaving directory `/var/tmp/portage/arts-1.0.3/work/arts-1.0.3/mcop'
Making all in mcopidl
make[2]: Entering directory `/var/tmp/portage/arts-1.0.3/work/arts-1.0.3/mcopidl'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../mcop -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -fno-exceptions -fno-check-new -c -o mcopidl.o `test -f mcopidl.cc || echo './'`mcopidl.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../mcop -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -fno-exceptions -fno-check-new -c -o yacc.o `test -f yacc.cc || echo './'`yacc.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../mcop -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -fno-exceptions -fno-check-new -c -o scanner.o `test -f scanner.cc || echo './'`scanner.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I./../mcop -I/usr/kde/3/include -I/usr/qt/3/include -I/usr/X11R6/include -I../libltdl -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -fno-exceptions -fno-check-new -c -o namespace.o `test -f namespace.cc || echo './'`namespace.cc
/bin/sh ../libtool --mode=link --tag=CXX i686-pc-linux-gnu-g++ -DNDEBUG -DNO_DEBUG -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -fno-exceptions -fno-check-new -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3/lib -o mcopidl mcopidl.o yacc.o scanner.o namespace.o ../mcop/libmcop.la
mkdir .libs
i686-pc-linux-gnu-g++ -DNDEBUG -DNO_DEBUG -march=athlon-xp -m3dnow -msse -mfpmath=sse -mmmx -pipe -fno-exceptions -fno-check-new -o .libs/mcopidl mcopidl.o yacc.o scanner.o namespace.o -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3/lib ../mcop/.libs/libmcop.so -L/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/../../../../i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/../../.. -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/gcc-lib/i686-pc-linux-gnu/3.1 -L/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/../../../../i686-pc-linux-gnu/lib -lresolv -ldl /usr/lib/gcc-lib/i686-pc-linux-gnu/3.1/libstdc++.so -lm -lc -lgcc_s -Wl,--rpath -Wl,/usr/kde/3/lib -Wl,--rpath -Wl,/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1
mcopidl.o: In function `std::basic_string<char, std::char_traits<char>, std::allocator<char> >& std::basic_string<char, std::char_traits<char>, std::allocator<char> >::append<char const*>(char const*, char const*)':
mcopidl.o(.gnu.linkonce.t._ZNSs6appendIPKcEERSsT_S3_+0x53): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::replace(__gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, char const*, char const*)'
collect2: ld returned 1 exit status
make[2]: *** [mcopidl] Error 1
make[2]: Leaving directory `/var/tmp/portage/arts-1.0.3/work/arts-1.0.3/mcopidl'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/arts-1.0.3/work/arts-1.0.3'
make: *** [all] Error 2
!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -7414, Exitcode 2
!!! died running emake, kde_src_compile:make
!!! emerge aborting on /usr/portage/kde-base/arts/arts-1.0.3.ebuild . |
|
Back to top |
|
|
CHerzog Tux's lil' helper
Joined: 13 Jul 2002 Posts: 108 Location: Germany
|
|
Back to top |
|
|
col l33t
Joined: 08 May 2002 Posts: 820 Location: Melbourne - Australia
|
Posted: Tue Aug 20, 2002 9:17 pm Post subject: |
|
|
Yes this fixed the problem for me as well:
If you use gcc 3.1.1!!!!
The problem is in /usr/lib/libstdc++.la
In this Ascii File is an pointer wrong set.
In the end of this file you must change this:
# Directory that this library needs to bee installed in:
libdir='/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1'
to
libdir='/usr/lib/gcc-lib/i686-pc-linux-gnu/3.1.1' |
|
Back to top |
|
|
bobo n00b
Joined: 18 Jul 2002 Posts: 10
|
Posted: Sun Sep 01, 2002 5:54 pm Post subject: |
|
|
I had the same problem with arts-1.0.3 under gcc 3.1.1 and fixed it by doing an
emerge -P gcc
I guess there were old bits of gcc hanging around that arts was picking up. |
|
Back to top |
|
|
|