Undefined symbol: .TIMING (on Hitachi SR11000)
Posted: Fri Dec 08, 2006 7:38 am
I am trying to compile VASP 4.6 on Hitachi SR11000 but I came across two errors:
1) "/usr/bin/sh: .f.o:: not found": I deleted ".f. o." in the makefile to solve this. Is that safe? This error happened during the compilation.
2) "ld: 0711-317 ERROR: Undefined symbol: .TIMING" and other undefined symbols like .DCOPY, .ZCOPY, etc.
The function name "timing" is defined in vasp.4.lib/timing.c and if I edit the file to change "void timing" to "void TIMING", the error about .TIMING being undefined disappears. I guess I could find all the files where functions are defined and then change from minor to upper case but it's not that easy to find them all. Is there a C processor option to deal with that problem? This error happens at the end of the compilation, during linking with ld and when all my *.o files have been created.
Thank you very much for your help, I'd greatly appreciate. There was a similar post regarding this kind of error on SR8000 (http://cms.mpi.univie.ac.at/vasp-forum/ ... .php?2.791)
But I couldn't find any clear answer. I have also started from the makefiles posted on this same forum by wyxsdu (http://cms.mpi.univie.ac.at/vasp-forum/ ... .php?2.679)
Best regards,
Rudy Coquet.
1) "/usr/bin/sh: .f.o:: not found": I deleted ".f. o." in the makefile to solve this. Is that safe? This error happened during the compilation.
2) "ld: 0711-317 ERROR: Undefined symbol: .TIMING" and other undefined symbols like .DCOPY, .ZCOPY, etc.
The function name "timing" is defined in vasp.4.lib/timing.c and if I edit the file to change "void timing" to "void TIMING", the error about .TIMING being undefined disappears. I guess I could find all the files where functions are defined and then change from minor to upper case but it's not that easy to find them all. Is there a C processor option to deal with that problem? This error happens at the end of the compilation, during linking with ld and when all my *.o files have been created.
Thank you very much for your help, I'd greatly appreciate. There was a similar post regarding this kind of error on SR8000 (http://cms.mpi.univie.ac.at/vasp-forum/ ... .php?2.791)
But I couldn't find any clear answer. I have also started from the makefiles posted on this same forum by wyxsdu (http://cms.mpi.univie.ac.at/vasp-forum/ ... .php?2.679)
Best regards,
Rudy Coquet.