Blitz logo

Blitz Support :

From: Julian Cummings (cummings_at_[hidden])
Date: 2003-04-25 14:01:09


Hi Ralf,

Something must have gone wrong in your initial build of libblitz.a.
Why did it end up in blitz/lib/.libs/libblitz.a? I don't know where
the ".libs/" part of that path came from. You might try doing a
"make clean" followed by a "make lib" and just see if the library is
once again placed into this .libs area. If so, perhaps you could pass
along the make output. There may be something funny in one of
your environment variables or something.

Regards, Julian C.

Ralf Denzer wrote:

> Hi,
>
> while making blitz (cvs checkout from 2003-04-24)
> the following error occurs
>
> ....
> make[2]: Entering directory
> `/mount/stokes/denzer/local/src/blitz/doc/stencils'
> make stencils
> make[3]: Entering directory
> `/mount/stokes/denzer/local/src/blitz/doc/stencils'
> g++ -O2 -funroll-loops -I../.. -I../..
> "-Dstenciltoapply=central22(A,1)" \
> -o dump-stencil dump-stencil.cpp -L../../lib -lblitz -lm
> /usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld:
> cannot find -lblitz
> collect2: ld returned 1 exit status
>
>
> It seems, that the linker couldn't find the libblitz.a file
> in 'blitz/lib'. So I copy it from blitz/lib/.libs/libblitz.a to
> blitz/lib/ and afterwards make runs smooth.
>
> I'm using gcc 3.2 under SuSE Linux 8.1
>
>
> Best regards
>
> Ralf
>
>
>

-- 
Dr. Julian C. Cummings                       E-mail: cummings_at_[hidden]
California Institute of Technology           Phone:  626-395-2543
1200 E. California Blvd., Mail Code 158-79   Fax:    626-584-5917
Pasadena, CA 91125