Odd linking behavior (RH 5.1)
Mumit Khan
khan@xraylith.wisc.edu
Tue Sep 8 21:44:00 GMT 1998
On Tue, 8 Sep 1998, Dave Steffen wrote:
> c++ -ansi -Wall -o eigen eigen.o -llapack -lblas -lf2c
> /usr/lib/libf2c.so: undefined reference to `MAIN__'
Try,
% c++ -ansi -Wall -Wl,-u,MAIN__ -o eigen eigen.o -llapack -lblas -lf2c
if you use the shared libf2c.
DejaNews search for this topic in comp.os.linux.development.apps should
pull up a history of discussion on this.
Regards,
Mumit
More information about the Gcc-bugs
mailing list