Re: OpenJDK linking error

2009-01-12 Thread Peng Du
Hi, Kelly After a bit of messing with OpenJDK, the compilation finally succeeded, though I don't fully understand all the hows and whys? Here are what I've done: I kept only one libstdc++ and uninstalled the other versions. Also, I installed both the devel and static-devel packages of libstdc++.

Re: OpenJDK linking error

2009-01-12 Thread Peng Du
To Andrew, Thanks. I tried to modify the Makefile to include -L/usr/lib/gcc/i586-manbo-linux-gnu/4.3.2/ in the gcc command line. Compilation still failed. To Kelly, Thanks for your hints and sorry for the bad wording. Actually, I am early trying to figure out how to build OpenJDK, not just wai

Re: OpenJDK linking error

2009-01-12 Thread Kelly O'Hair
"Waiting for a solution"? You mean "still looking for a solution"? Your wait could be a long one. --- Anytime you install new rpm packages, you should always build completely from scratch. Run 'make clean'. Did you do that? In what I have seen of this problem, it looks like a cascading probl

Re: OpenJDK linking error

2009-01-12 Thread Andrew Haley
Peng Du wrote: > However, the problem is still not resolved even if I've installed > libstdc++ from my distribution: > > = > [p...@localhost openjdk]$ locate libstdc++.so > /usr/lib/libstdc++.so.5 > /usr/lib/libstdc++.so.5.0.7 > /us

Re: OpenJDK linking error

2009-01-12 Thread Peng Du
Thanks, Andrew I do have libstdc++-devel installed. === [p...@localhost openjdk]$ rpm -qa | grep libstdc++ libstdc++-devel-4.3.2-3mnb2 libstdc++6-4.3.2-3mnb2 libstdc++5-3.3.6-4mdv2009.0 libstdc++5-devel-3.3.6-4mdv2009.0

Re: OpenJDK linking error

2009-01-12 Thread Andrew Haley
Peng Du wrote: > Thanks, Weijun > > However, the problem is still not resolved even if I've installed > libstdc++ from my distribution: There's probably a libstdc++-devel package. Andrew.

Re: OpenJDK linking error

2009-01-12 Thread Peng Du
Thanks, Weijun However, the problem is still not resolved even if I've installed libstdc++ from my distribution: = [p...@localhost openjdk]$ locate libstdc++.so /usr/lib/libstdc++.so.5 /usr/lib/libstdc++.so.5.0.7 /usr/lib/libstdc++.

Re: OpenJDK linking error

2009-01-11 Thread Weijun Wang
libstdc++ is a separate package, not included in gcc/g++. You may need to install it and try again. Peng Du wrote: > Hello, everyone > > I tried to generate a debug build of OpenJDK Build b42 on a x86 Linux > box. Everything went well except for the following link error. It seemed > the 'gamma' l

OpenJDK linking error

2009-01-11 Thread Peng Du
Hello, everyone I tried to generate a debug build of OpenJDK Build b42 on a x86 Linux box. Everything went well except for the following link error. It seemed the 'gamma' launcher can't be linked and LD complained about missing '-lstdc++' and '-ljvm'. But I am sure I have gcc/g++ properly installe