Linking error

From: Christian Schmidt (christian.schmidt_at_ipc.uni-tuebingen.de)
Date: 01/11/04


Date: Sun, 11 Jan 2004 13:49:28 +0100

Hi,

I'm trying to compile and link a Program using the Lapack Library.

I get the following Error:

christsc@fuchur Test $ g77 -c test.f
christsc@fuchur Test $ g77 -o test.o -lblas -llapack
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/libfrtbegin.a(frtbegin.o
(.text+0x32): In function `main':
: undefined reference to `MAIN__'
collect2: ld returned 1 exit status

Any idea what I do wrong.

Thanks