static lib question
Orion Poplawski
orion at cora.nwra.com
Mon Aug 22 22:17:15 UTC 2005
Quentin Spencer wrote:
> I'm still struggling with packaging ATLAS, and I'm trying first to get
> the static libs working. I've run into the following problem. Compiling
> a test program from Octave's configure script, I get this error:
>
> /usr/lib/libf77blas.a(sgemm.o)(.text+0x20d): In function `sgemm_':
> : undefined reference to `atl_f77wrap_sgemm_'
>
> "nm /usr/lib/libf77blas.a | grep sgemm" reveals
> ATL_F77wrap_sgemm.o:
> 00000000 T atl_f77wrap_sgemm__
>
> If I go into the build directory and do the same thing to the file
> before it was copied to $RPM_BUILD_ROOT, I get:
> ATL_F77wrap_sgemm.o:
> 00000000 T atl_f77wrap_sgemm_
>
Looks like you need to tell ATLAS the gfortran only wants one _ appended
to fortran names. This should be a configuration option somewhere.
--
Orion Poplawski
System Administrator 303-415-9701 x222
Colorado Research Associates/NWRA FAX: 303-415-9702
3380 Mitchell Lane, Boulder CO 80301 http://www.co-ra.com
More information about the fedora-extras-list
mailing list