This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-2.95.2 on HP-UX 10.20 and unresolved __main()
- To: Harlan Stenn <Harlan dot Stenn at pfcs dot com>
- Subject: Re: gcc-2.95.2 on HP-UX 10.20 and unresolved __main()
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Wed, 10 Nov 1999 21:46:47 -0700
- cc: gcc-bugs at gcc dot gnu dot org
- Reply-To: law at cygnus dot com
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