ResidualVM Tools question

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
User avatar
Raziel
ScummVM Porter
Posts: 1539
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet
Contact:

ResidualVM Tools question

Post by Raziel »

I've got a question building the tools.

Since March or so i wasn't able to build the tools natively (it worked fine before).
Something changed in the meantime and now i hvae time again to check.

I get this in config.log which i suspect is the reason it breaks (i can't say for sure as the build process simply eats away my memory and ultimately freeze the system)
g++ -Wl,--no-keep-memory -L/sdk/local/newlib/lib -gstabs ./residualvm-conf.cpp -o ./residualvm-conf -c
./residualvm-conf.cpp: In function 'int main()':
./residualvm-conf.cpp:3:2: error: 'syntax' was not declared in this scope
syntax error
^
return code: 1
This is right at the top of config.log, but i can't find the file in question.

I "believe" the compiler is sent into an endless loop trying to move on, but can't.

Any help greatly appreciated

- clean already done
- complete new pull already done
Nitrus
Posts: 177
Joined: Wed May 18, 2011 9:49 am

Re: ResidualVM Tools question

Post by Nitrus »

Hi Raziel,

To me it looks like it is in the ./configure file, right around here (line 242, though also take a look at line 208):
https://github.com/residualvm/residualv ... igure#L242

Suggests that the "syntax" bit could get triggered by a missing input variable ($1)?
I'm not sure about the "syntax error" bit itself, as I've not seen something like that before.
The project doesn't seem to have changed since 2015, so maybe you need a compiler flag of some sort to ignore and/or allow it?

EDIT: as tmp files are being created, maybe check write permissions on the folders for the user you're running the script as.
Last edited by Guest on Sun Jul 08, 2018 9:43 am, edited 1 time in total.
User avatar
Raziel
ScummVM Porter
Posts: 1539
Joined: Tue Oct 25, 2005 8:27 am
Location: a dying planet
Contact:

Re: ResidualVM Tools question

Post by Raziel »

Hey Nitrus,

I think it's strange as that part is completely the same in scummvm-tools and there it passes just fine.
Post Reply