This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


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

Re: gcc-2.95.2 on HP-UX 10.20 and unresolved __main()



  In message <567.942273629@brown.pfcs.com>you write:
  > I like to think I followed the directions on the build/install.  Twice.
  > 
  > No problems reported on either, but when I try to compile/link anything I
  > get messages like this:
  > 
  >  % gcc hello.c
  >  /usr/lib/dld.sl: Unresolved symbol: __main (code)  from /usr/local/lib/gcc
  > -lib/hppa2.0-hp-hpux10.20/2.95.2/collect2
  >  gcc: Internal compiler error: program collect2 got fatal signal 6
Let me guess, you built with HP's make.  It mucks things up by trying to
rebuild/relink code during the make install phase.  What you see above is a
symptom of that braindamage.

Start over and use a make that works :)

jeff


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