Undefined symbol __main [980214, solaris2.6]
Jeffrey A Law
law@cygnus.com
Sun Feb 22 14:27:00 GMT 1998
In message < Pine.GSO.3.96.980220171552.4634U-100000@alcyone.dbai.tuwien.ac.at
> The following command caused the error:
> .../egcs/bin/gcc -ftemplate-depth-20 dl.o scanner.o safety.o grounding.o
> interpret.o generate.o check.o stats.o diag_scanner.o diag.o
> sql_scanner.o sql.o -o dl -lstdc++
>
> Any hints on what I should check? `nm` didn't seems to help:
>
> markab[45]% nm *.o | grep main
> [291] | 32656| 5428|FUNC |GLOB |0 |2 |main
There was some major work done on collect2 recently that might be
the culprit. I would recommend updating "collect2.c" via CVS and
trying again.
jeff
More information about the Gcc-bugs
mailing list