News:

SMF - Just Installed!

Main Menu

Problems on Compiling RASPA2

Started by LHZF, May 01, 2021, 10:10:58 PM

Previous topic - Next topic

LHZF

Hi, Greetings!

On trying to install RASPA on my PC an unrecorded error in the community has been reported: I encounter a problem in the file output.ac;
The problem is described as the following:

"(...)

output.c  -DDLL_EXPORT -DPIC -o .libs/output.o
output.c: In function 'ReadRestartOutput':
output.c:7981:62:error: request for member '__pos' in something not a structure or union
7981 |       if(((OutputFilePtr=fopen(buffer2,"r+"))!=NULL)||(pos.__pos<0))
      |                                                              ^
output.c:8005:40: error: request for member '__pos' in something not a structure or union
8005 |         if(feof(OutputFilePtr)||(pos.__pos>sz))
      |                                        ^
output.c:8012:99: error: request for member '__pos' in something not a structure or union
8012 |           fprintf(stderr,"Failed to Reposition output-file at %ld ( beyond file-length %ld)\n",pos.__pos,sz);
      |                                                                                                   ^
output.c:8024:101: error: request for member '__pos' in something not a structure or union
8024 |           fprintf(stderr,"Succesfully repositioned output-file of size %ld to position %ld\n",sz,pos.__pos);
      |                                                                                                     ^



I have tried to compile the software by changing the highlighted variable, deleting "__pos", although it was not a way out.

Important information:
I'm working on Windows 10 OS, using VSCode with a ZSH terminal.

Hope for instructions,