[FlopCpp] Lapack linking error
Vishv Jeet
vishv.jeet at gmail.com
Thu Aug 28 12:45:47 EDT 2008
I just added:
LIBS += -lgfortran
In the Makefile that compiles examples.
and it works.
vishy
On Thu, Aug 28, 2008 at 11:13 AM, Vishv Jeet <vishv.jeet at gmail.com> wrote:
>
> Is anyone familiar with the following error?
>
>
>
> vjeet at rodenbach:~/coin/coin-FlopCpp/FlopCpp/examples$ make
>
> g++ -g -I../../include/coin aircraft.cpp -L../../lib -Wl,-rpath,../../lib
> -lFlopCpp -lOsiCbc -lCbc -lOsiClp -lClp -lCgl -lOsi -lCoinUtils -o aircraft
>
> /usr/lib/atlas/liblapack.so.3gf: undefined reference to
> `_gfortran_stop_numeric'
> /usr/lib/atlas/liblapack.so.3gf: undefined reference to
> `_gfortran_pow_i4_i4'
> /usr/lib/atlas/liblapack.so.3gf: undefined reference to
> `_gfortran_transfer_character'
> /usr/lib/atlas/liblapack.so.3gf: undefined reference to
> `_gfortran_compare_string'
> /usr/lib/atlas/liblapack.so.3gf: undefined reference to
> `_gfortran_st_write_done'
> /usr/lib/atlas/liblapack.so.3gf: undefined reference to
> `_gfortran_pow_r8_i4'
> /usr/lib/atlas/liblapack.so.3gf: undefined reference to
> `_gfortran_concat_string'
> /usr/lib/atlas/liblapack.so.3gf: undefined reference to
> `_gfortran_pow_r4_i4'
> /usr/lib/atlas/liblapack.so.3gf: undefined reference to `_gfortran_etime'
> /usr/lib/atlas/liblapack.so.3gf: undefined reference to
> `_gfortran_transfer_integer'
> /usr/lib/atlas/liblapack.so.3gf: undefined reference to
> `_gfortran_st_write'
>
> collect2: ld returned 1 exit status
> make: *** [aircraft] Error 1
>
>
--
Vishv Jeet, Ph.D.,
Research Associate,
Axioma, Inc.,
Cell : 1-512-657-8678
Work : 1-678-672-5375
_______________________
Youngest Music Meastro
http://www.mayanksahu.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/flopcpp/attachments/20080828/e580a1a7/attachment.html
More information about the FlopCpp
mailing list