On Wednesday 05 May 2010 09:55:49 pm James Richard Tyrer wrote:
> I have a strange error when trying to build ATLAS 3.9.24:
>
> make[4]: Entering directory `/usr/src/ATLAS/LINUX-ELF/tune/sysinfo'
> gcc -c -DL2SIZE=4194304 -I/usr/src/ATLAS/LINUX-ELF/include
> -I/usr/src/ATLAS/LINUX-ELF/..//include
> -I/usr/src/ATLAS/LINUX-ELF/..//include/contrib -DAdd_ -DF77_INTEGER=int
> -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_K7 -DATL_CPUMHZ=1100
> -DATL_SSE1 -DATL_3DNow -DATL_GAS_x8632  -fomit-frame-pointer
> -mfpmath=387 -O2 -falign-loops=4 -fPIC -m32
> /usr/src/ATLAS/LINUX-ELF/..//tune/sysinfo/findNT.c
> gcc -DL2SIZE=4194304 -I/usr/src/ATLAS/LINUX-ELF/include
> -I/usr/src/ATLAS/LINUX-ELF/..//include
> -I/usr/src/ATLAS/LINUX-ELF/..//include/contrib -DAdd_ -DF77_INTEGER=int
> -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_K7 -DATL_CPUMHZ=1100
> -DATL_SSE1 -DATL_3DNow -DATL_GAS_x8632  -fomit-frame-pointer
> -mfpmath=387 -O2 -falign-loops=4 -fPIC -m32 -o xfindNT findNT.o
> ATL_walltime.o -lm
> /usr/lib/gcc/i686-pc-linux-gnu/4.4.4/../../../crt1.o: In function `_start':
> (.text+0x18): undefined reference to `main'
> collect2: ld returned 1 exit status
> make[4]: *** [xfindNT] Error 1
> make[4]: Leaving directory `/usr/src/ATLAS/LINUX-ELF/tune/sysinfo'
> make[3]: *** [/usr/src/ATLAS/LINUX-ELF/include/atlas_pthreads.h] Error 2
> make[3]: Leaving directory `/usr/src/ATLAS/LINUX-ELF/src/auxil'
> make[2]: *** [IBuildPtlibs0] Error 2
> make[2]: Leaving directory `/usr/src/ATLAS/LINUX-ELF/bin'
>
> Any suggestions will be appreciated.
>
> --
> James Tyrer
>
> Linux (mostly) From Scratch

I am working onX86_64  and   my configure options looks something like

sh configure  -(options for  cpu(s))  --prefix=whatever -Ss 
flapack /path/to/lapack.


I tried with atlas-3.9.23 and 3.9.24. I get    static libs  OK. In the case of 
atlas-3.9.23  I get duff .so libs  and in the case of 3.9.24 none.  
atlas failed consistently to give shared libs.  I tried with gcc-4.4.2 and 
gcc-4.5.0.   In the end I had to use amd's acml and I am still struggling 
because some of the upstream programs seems to be expecting atlas so-libs.

I use  the recipe I reported earlier on list.   (I  build in a dedicated build 
directory INSIDE the source tree)  and turned off cpu-throttling beforehand)



-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to