ResidualVM logo Forum Index - ResidualVM website - Contact us - Rules Login    Register     Search curved edge
It is currently Wed Nov 14, 2018 7:46 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Jul 03, 2018 5:30 pm 
Offline
User avatar

Joined: Tue May 05, 2009 10:57 am
Posts: 73
Location: amigans.net
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)

Quote:
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


Top
 Profile  
 
PostPosted: Wed Jul 04, 2018 10:44 am 
Offline
User avatar

Joined: Thu Jun 21, 2012 3:00 pm
Posts: 141
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 Nitrus on Sun Jul 08, 2018 9:43 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed Jul 04, 2018 11:57 am 
Offline
User avatar

Joined: Tue May 05, 2009 10:57 am
Posts: 73
Location: amigans.net
Hey Nitrus,

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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Forum design by ScummVM team, icons by raina, adopted for ResidualVM
curved edge   curved edge