[Lapack-users] lapacke-3.5.0 build failure with -m32 switch
sibu
sibxol at btconnect.com
Wed Mar 18 02:15:58 PDT 2015
Greetings,
I tried to build lapacke-3.5.0
( part of the lapack-3.5.0 distribution available from
( http://www.netlib.org/lapack/ )
on a linux-installed multilib computer. The computer has these:
--cpu AMD64 4 cores
--os blfs linux multilib ( 64-bit and 32-bit libraries )
--gcc:4.9.2, linux-3.18.4
I tried to build the lapacke library twice with switches
a) gcc -m64 and
b) gcc -m32
lapacke-3.5.0 builds fine with a ) (i.e. 64-bit library. However it fails
with the -m32 switch.
The build ends with something like so:-
############
/home/lusinteg/BUILD/lapack-3.5.0/lapacke/include/lapacke.h:16439:22: warning:
parameter names (without types) in function declaration
const lapack_int* vers_patch );
^
lapacke/CMakeFiles/lapacke.dir/build.make:54: recipe for target
'lapacke/CMakeFiles/lapacke.dir/__/src/lapacke_cbbcsd.c.o' failed
make[2]: *** [lapacke/CMakeFiles/lapacke.dir/__/src/lapacke_cbbcsd.c.o] Error
1
############
I would like to know if there are switches I could add to cflags or whatver to
enable compilation with -m32 switch.
(In a nutshell advice on whether the lapacke library is makable as a 32-
bit library and if so how so. )
Thanks in advance
Yours sincerely
SibuXolo
More information about the Lapack-users
mailing list