[Pw_forum] Linking of pw.x reported wrong ElF class

Andrea Ferretti ferretti.andrea at unimore.it
Wed Oct 4 18:37:01 CEST 2006


time ago I got a similar problem on a SGI machine;
the configure script set the 64bit option in FFLAGS (due to a preset in 
the script, I guess) while the loader was only 32bit able.
after I removed the 64bit flag it worked fine

andrea
 
On Wed, 4 Oct 2006, Paolo Giannozzi wrote:

> On Oct 4, 2006, at 18:04 , Stan Toporek wrote:
> 
> > ld: fatal: file pwscf.o: wrong ELF class: ELFCLASS64
> 
> since ELF = Electron Localization Function seems unlikely, I guess
> that ELF = Executable and Linkable Format. This message means
> that pwscf.o has the wrong format (apparently 64-bit), so it was
> either produced by the wrong compiler, or by the right compiler with
> wrong options, or is being linked by the wrong linker, or by the right
> linker with bad options (or any combination of the above)
> 
> Paolo
> 
> 
> 
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
> 



More information about the users mailing list