Dear Eugene,
it appears from the log that your system is a bit confused.
Which version are you trying to install? the standard compiler of the SL is
not good enough so you have two options:
get the compatibility libraries and install the g77 version
Or you install another compiler with the devtoolset options of the SL
http://linux.web.cern.ch/linux/devtoolset/
devtoolset 1.1 is sufficient to compile with gfortran
Please check the installation instruction carefully once you decide which
version you want to install
http://www.fluka.org/fluka.php?id=ins_run&mm2=3
This
*now linking *
*/home/egalyaev/Install/fluka*
*g77*
tells me you are compiling with g77
But this
*/usr/bin/ld: crt1.o: No such file: No such file or directory*
*collect2: ld returned 1 exit status*
*cd flutil; FLUPRO=/home/egalyaev/Install/fluka make all; cd ..*
*make[1]: Entering directory `/home/egalyaev/Install/fluka/flutil'*
*gfortran -o actdline actdline.o*
also tells me that hes tring to compile something with gfortran
In addition this
*gcc -lc -lgcc_s_32 -lgcc
/usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtend.o /usr/lib64/crtn.o*
*/usr/lib64/crt1.o: could not read symbols: File in wrong format*
*collect2: ld returned 1 exit status*
tells me you are trying have only 64 bit libs installed.
Best V.
On Wed, Mar 5, 2014 at 11:36 PM, Eugene Galyaev <egalyaev_at_gmail.com> wrote:
> Dear FLUKA experts,
>
>
>
> I am just trying to start up / learn using FLUKA, and immediately have
> gotten myself in trouble with inability to install.
>
> The error I get in the execution of make that looks like this (log is
> attached):
>
>
>
> gcc -lc -lgcc_s_32 -lgcc
> /usr/lib/gcc/x86_64-redhat-linux/3.4.6/32/crtend.o /usr/lib64/crtn.o
>
> /usr/lib64/crt1.o: could not read symbols: File in wrong format
>
> collect2: ld returned 1 exit status
>
>
>
> lib and lib64 locations have been added to $LIBRARY_PATH etc...
>
> gcc version is gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4)
>
> I am running CERN Scientific Linux 6.
>
> All of the devel headers have been installed...
>
>
>
> Could you please suggest a solution?
>
> Thanks to everyone in the community -
>
> Eugene.
>
>
>
>
>
Received on Fri Mar 07 2014 - 10:20:50 CET