Odd linking behavior (RH 5.1)
Alexandre Oliva
oliva@dcc.unicamp.br
Tue Sep 8 21:44:00 GMT 1998
Dave Steffen <steffend@helicon.physics.colostate.edu> writes:
> c++ -ansi -Wall -o eigen eigen.o -llapack -lblas -lf2c
> /usr/lib/libf2c.so: undefined reference to `MAIN__'
The fortran library is called libg2c since egcs 1.1. try -lg2c
instead of -lf2c, otherwise you'll be linking with an outdated
version.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil
More information about the Gcc-bugs
mailing list