Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge failed for sun-j2sdk
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Jim Wang
n00b
n00b


Joined: 04 Dec 2002
Posts: 10

PostPosted: Sun Feb 16, 2003 7:12 pm    Post subject: Emerge failed for sun-j2sdk Reply with quote

I try to emerge sun-j2sdk in order to have java-plugin with mozilla.
But I got such error message:(Only part of it)

Quote:

/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: methodIterator.o: invalid string offset 537558304 >= 7866 for section `.strtab'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: methodIterator.o: invalid string offset 1633641582 >= 7866 for section `.strtab'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: methodIterator.o: invalid string offset 1684955506 >= 7866 for section `.strtab'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: methodIterator.o: invalid string offset 1919250511 >= 7866 for section `.strtab'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: methodIterator.o: invalid string offset 1595947808 >= 7866 for section `.strtab'
methodIterator.o(ncls/_graphKit.cpp.incl" 2
# 1 "/var/tmp/portage+0x0): In function `__i686.get_pc_thunk.bx':
: multiple definition of `__i686.get_pc_thunk.bx'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/crtbeginS.o(.gnu.linkonce.t.__i686.get_pc_thunk.bx+0x0): first defined here
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: methodIterator.o: bad relocation section name `egMask INTERPRETER_FRAME_POINTER_REG_mask;
# 214 "../generated/incls/_graphKit.cpp.incl" 2
# 1 "/var/tmp/portage'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld: methodIterator.o: bad relocation section name `generated/incls/_graphKit.cpp.incl" 2
# 1 "/var/tmp/portage'
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld:methodKlass.o: file format not recognized; treating as linker script
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.1/../../../../i686-pc-linux-gnu/bin/ld:methodKlass.o:2: parse error
collect2: ld returned 1 exit status
make[3]: *** [libjvm.so] Error 1
make[2]: *** [the_vm] Error 2
make[1]: *** [product] Error 2
make: *** [product] Error 2

!!! ERROR: dev-java/sun-j2sdk-1.4.1 failed.
!!! Function src_compile, Line 37, Exitcode 2
!!! (no error message)


And my emerge info is :

Quote:

Portage 2.0.46-r12 (default-x86-1.4, gcc-3.2.1, glibc-2.3.1-r2)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://www.zentek-international.com/mirrors/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="oss apm arts crypt libg++ libwww mikmod mmx motif mpeg ncurses pdflib png qtmt quicktime spell xml2 xmms zlib gdbm berkdb slang readline bonobo svga tcltk guile sdl gpm tcpd pam ssl perl python imlib oggvorbis cdr gnome java gtk truetype truetype2cjk lprng 3dnow esd opengl X xv x86 mozilla jpeg gif encode alsa nls avi -kde -qt -cups -sparc -ppc -sparc64 -alpha"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow"
CXXFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="no"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"


Can someone tell me how to solve it.
Back to top
View user's profile Send private message
bsolar
Bodhisattva
Bodhisattva


Joined: 12 Jan 2003
Posts: 2764

PostPosted: Sun Feb 16, 2003 7:20 pm    Post subject: Reply with quote

I don't know if it's your problem but to emerge sun-j2sdk you must have a previous java 1.4 installed (either blackdown or sun).
_________________
I may not agree with what you say, but I'll defend to the death your right to say it.
Back to top
View user's profile Send private message
Jim Wang
n00b
n00b


Joined: 04 Dec 2002
Posts: 10

PostPosted: Mon Feb 17, 2003 5:28 am    Post subject: Reply with quote

I have try many kind of java vm such as blackdown and sun.
But it still fail... :cry:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum