[r1152] Linux - compiling error on parse_xlat.cpp

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [r1152] Linux - compiling error on parse_xlat.cpp

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

by scen » Tue Aug 12, 2008 4:59 am

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:

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

by randi » Mon Aug 11, 2008 4:42 pm

I just wiped my source directory and re-checked it out, and still no trouble compiling on Linux.

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

by randi » Mon Aug 11, 2008 4:28 pm

I just did a compile with Gentoo AMD64 and GCC 4.3.1, and had no trouble.

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

by Graf Zahl » Mon Aug 11, 2008 7:54 am

The constant is there. This should compile.

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

by Guest » Mon Aug 11, 2008 7:50 am

[OT]
LOL, "Clara Settingbore"? :lol:
[/OT]

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

by Guest » Mon Aug 11, 2008 7:48 am

Here you are:

xlat_parser.h: http://rafb.net/p/YfBPDc47.html

xlat_parser.c: http://rafb.net/p/ohDQKi97.html

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

by Graf Zahl » Mon Aug 11, 2008 7:14 am

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.

[r1152] Linux - compiling error on parse_xlat.cpp

by scen » Mon Aug 11, 2008 5:10 am

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

Top