On 05/05/10 15:50, David Jensen wrote: > On Wed, 05 May 2010 13:55:49 -0700 James Richard > Tyrer<[email protected]> 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. >> Thanks. > > main is in findNT.c,
Right, that is why the error is so strange. > it compliled above without errors. main will not build if ATL_NCPU > is undefined. try: grep -n ATL_NCPU > LINUX-ELF/include/atlas_buildinfo.h if it's there, I fold. > I don't have a file: "atlas_buildinfo.h". :-( > Maybe corrupt download, maybe Fortran, never used it? > Have tried downloading again twice. Have read bad things about gfortran. But ATLAS now used it instead of f77. > Builds fine here, x86_64, gcc 4.4.3, 'No Fortran' ../configure > --nof77 make So, I will try it with "--nof77" first. If that works, I will know that it is a FORTRAN issue. Will report in a day or so. -- James Tyrer Linux (mostly) From Scratch -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
