This is the mail archive of the java-discuss@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: ld for gcc and libgcj


Chris Dornan wrote:

>         ld: warning: option -o appears more than once, first setting taken
>         ld: fatal: file libzgcj.so.0: cannot open file: No such file or directory
>         ld: fatal: File processing errors. No output written to .libs/libzgcj.so.0.0.0
>         collect2: ld returned 1 exit status
>         make[1]: *** [libzgcj.la] Error 1
> 
> Is this because gcc was built with a different ld?  Do I need to
> rebuild gcc with the new ld?

Yes, also make sure that the gnu ld is found first via your path, 
not the /usr/ccs/bin/ld

Good luck,

Jörg

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]