Re: Cross compile, no grmic/grmiregistry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Rui Wang wrote:

> I then tried to compile gcc to a native compile, a error has been thrown out:
> collect2: ld returned 1 exit status
> make[2]: *** [jv-convert.exe] Error 1
> make[2]: Leaving directory `/root/wingccbuild/mingw32/libjava'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/root/wingccbuild/mingw32/libjava'
> make: *** [install-target-libjava] Error 2

You've omitted the actual error.  The lines above are just generic "I'm
exiting now" messages, the actual cause of the problem is whatever
messages were printed right before this.

That aside since you're in libjava you're probably running into this:
<http://gcc.gnu.org/ml/java/2005-11/msg00004.html>.  Without that patch
you will get an error about multiple symbols in libgcj.a when linking. 
The patch was just only checked in yesterday, so if you're using a
release version or a snapshot you will have to manually patch, or "svn
up".

Brian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux