Can't open ... crtxi.o

Can't open ... crtxi.o

Hi! all

I am starting to use ifc on linux. The system is Suse 7.3.

The binary is installed at/usr/local/compilers60/ia32/bin

and libraries (alos the crtxi.o and crtxn.o) at
/usr/local/lib

When linking the code, I got the error:

ld: cannot open /usr/local/compiler60/ia32/lib/crtxi.o: No such file or directory

I have already set the LD_LIBRARY_PATH to include /usr/local/lib. So can you tell me how to let ld to link the /usr/local/lib/crtxi.o ?

Thanks !

Yongtao

4 posts / 0 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

Please do a build adding the ifc switch -v and show the resulting output.

Steve

Steve - Intel Developer Support

Thanks, the results are:

$> ifc -v Obj_i386/hornte.o Obj_i386/twodesc.o Obj_i386/twodexact.o -o ../../Yang/Bin_i386/hornte
ld
/usr/lib/crt1.o
/usr/lib/crti.o
/usr/local/compiler60/ia32/lib/crtxi.o
-dynamic-linker
/lib/ld-linux.so.2
-o
../../Yang/Bin_i386/hornte
Obj_i386/hornte.o
Obj_i386/twodesc.o
Obj_i386/twodexact.o
-Qy
/usr/local/compiler60/ia32/lib/icrt.link
-u
___pseudo_link
-L/usr/local/compiler60/ia32/lib
-L/usr/lib
-Bstatic
-lintrins
-lIEPCF90
-lF90
-lintrins
-limf
-Bdynamic
-lm
-Bstatic
-lirc
-Bdynamic
-lcxa
-Bstatic
-lcprts
-lunwind
-Bdynamic
-lcxa
-Bdynamic
-lc
/usr/local/compiler60/ia32/lib/crtxn.o
/usr/lib/crtn.o

ld: cannot open /usr/local/compiler60/ia32/lib/crtxi.o: No such file or directory

By checking with the 'rpm -ql ' command, seems that my SA moved those files after installing the rpm.

I have to admit I'm not all that familiar with Linux, but the search order of the libraries seems odd. I suggest you report the problem, including what you've shown here, to Intel tech support via the link above.

Steve

Steve - Intel Developer Support

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui