This is the mail archive of the java@gcc.gnu.org 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]
Other format: [Raw text]

Re: link problems under darwin5.2


>>>>> "Andreas" == Andreas Tobler <toa@pop.agri.ch> writes:

Andreas> From my point of view I find them:
Andreas> e.g MAIN_CLASS

Andreas> 00001148 D __ZN4java4util3jar15Attributes$Name10MAIN_CLASSE

Ok.

Andreas> in the .libs/libgcj.a I find MAIN_CLASS as well:

Andreas>          U __ZN4java4util3jar15Attributes$Name10MAIN_CLASSE

The `U' means there is a reference to this symbol, not that it is
defined.  So it looks like this symbol is indeed not in the archive.

Does `ar t' tell you that the .o file is in the archive?
If not, then that is the problem.
If the .o is in the archive, extract it somewhere and look at that .o.
Perhaps somehow the .a was built incorrectly?
You could try removing the .a/.la/.so files and rebuilding.

Tom


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