[Pw_forum] compilation problem

Vivek Ranjan vranjan at ncsu.edu
Tue Jan 9 22:06:29 CET 2007


Hello,

I am trying to compile the latest (CVS) version of pwscf on IBM SP4
machine. I get the following error message.


        ( cd clib ; if test "make" = "" ; then make  TLDEPS= all ;  else
make  TLDEPS= all ; fi )
        xlc_r -q64 -O2 -D__AIX -D__XLF -D__ESSL -D__MASS -D__MPI -D__PARA
-I../include   -c c_mkdir.c
"c_mkdir.c", line 42.5: 1506-033 (S) Function F77_FUNC_ is not valid.
Function cannot return a function.
"c_mkdir.c", line 49.41: 1506-045 (S) Undeclared identifier length.
"c_mkdir.c", line 51.19: 1506-045 (S) Undeclared identifier dirname.
"c_mkdir.c", line 62.11: 1506-1332 (W) A function with return type
"int(*)(const char*,const int*)" may not return a  value of type "int".
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.


Any comments/suggestions ?

Thanks in advance,
Vivek






More information about the Pw_forum mailing list