[r1152] Linux - compiling error on parse_xlat.cpp

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
scen
Posts: 17
Joined: Tue Aug 08, 2006 9:42 am
Location: Padova, Italy
Contact:

[r1152] Linux - compiling error on parse_xlat.cpp

Post by scen »

Hi, i'm trying to compile ZDoom, from SVN (r1152), but building process dies with this error:

Code: Select all

[ 30%] Building CXX object src/CMakeFiles/zdoom.dir/xlat/parse_xlat.o
/home/davide/src/svn/zdoom/src/xlat/parse_xlat.cpp: In member function ‘virtual bool XlatParseContext::FindToken(char*, int*)’:
/home/davide/src/svn/zdoom/src/xlat/parse_xlat.cpp:124: error: ‘XLAT_MAXLINESPECIAL’ was not declared in this scope
make[2]: *** [src/CMakeFiles/zdoom.dir/xlat/parse_xlat.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
I'm on Gentoo Linux AMD64, and i'm using GCC-4.1.2
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [r1152] Linux - compiling error on parse_xlat.cpp

Post by Graf Zahl »

Strange. That constant is declared in a Lemon generated header. Can you post your xlat_parser.c and xlat_parser.h files? Something must have gone wrong while generating them.
Guest

Re: [r1152] Linux - compiling error on parse_xlat.cpp

Post by Guest »

[OT]
LOL, "Clara Settingbore"? :lol:
[/OT]
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [r1152] Linux - compiling error on parse_xlat.cpp

Post by Graf Zahl »

The constant is there. This should compile.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [r1152] Linux - compiling error on parse_xlat.cpp

Post by randi »

I just did a compile with Gentoo AMD64 and GCC 4.3.1, and had no trouble.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Re: [r1152] Linux - compiling error on parse_xlat.cpp

Post by randi »

I just wiped my source directory and re-checked it out, and still no trouble compiling on Linux.
User avatar
scen
Posts: 17
Joined: Tue Aug 08, 2006 9:42 am
Location: Padova, Italy
Contact:

Re: [r1152] Linux - compiling error on parse_xlat.cpp

Post by scen »

randy wrote:I just wiped my source directory and re-checked it out, and still no trouble compiling on Linux.
You're right, wiping and redoing the checkout was the key :oops:

Sorry for this useless bug report, close it immediately :cry: :roll:
Post Reply

Return to “Closed Bugs [GZDoom]”