svn build fails
svn build fails
Hi,
Already posted this in the "Beta-testers for campaign needed" thread.
I'm trying to build svn (rev 5570 as of today) on opensuse 10.3, but it fails. Any help?
stdout dump:
make[4]: se ingresa al directorio `/usr/src/packages/BUILD/warzone/lib/framework'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DYY_NO_INPUT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -DDEBUG -DDATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -O0 -g -Wall -Werror -Wno-unused-label -Wno-pointer-to-int-cast -Wmissing-field-initializers -Wcast-align -Wwrite-strings -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -MT resource_lexer.lex.o -MD -MP -MF .deps/resource_lexer.lex.Tpo -c -o resource_lexer.lex.o resource_lexer.lex.c
cc1: warnings being treated as errors
resource_lexer.lex.c:1737: warning: no previous declaration for ‘res_get_lineno’
resource_lexer.lex.c:1746: warning: no previous declaration for ‘res_get_in’
resource_lexer.lex.c:1754: warning: no previous declaration for ‘res_get_out’
resource_lexer.lex.c:1762: warning: no previous declaration for ‘res_get_leng’
resource_lexer.lex.c:1771: warning: no previous declaration for ‘res_get_text’
resource_lexer.lex.c:1780: warning: no previous declaration for ‘res_set_lineno’
resource_lexer.lex.c:1792: warning: no previous declaration for ‘res_set_in’
resource_lexer.lex.c:1797: warning: no previous declaration for ‘res_set_out’
resource_lexer.lex.c:1802: warning: no previous declaration for ‘res_get_debug’
resource_lexer.lex.c:1807: warning: no previous declaration for ‘res_set_debug’
make[4]: *** [resource_lexer.lex.o] Error 1
make[4]: se sale del directorio `/usr/src/packages/BUILD/warzone/lib/framework'
make[3]: *** [all] Error 2
make[3]: se sale del directorio `/usr/src/packages/BUILD/warzone/lib/framework'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/usr/src/packages/BUILD/warzone/lib'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/usr/src/packages/BUILD/warzone'
make: *** [all] Error 2
Already posted this in the "Beta-testers for campaign needed" thread.
I'm trying to build svn (rev 5570 as of today) on opensuse 10.3, but it fails. Any help?
stdout dump:
make[4]: se ingresa al directorio `/usr/src/packages/BUILD/warzone/lib/framework'
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -DYY_NO_INPUT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -DDEBUG -DDATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -O0 -g -Wall -Werror -Wno-unused-label -Wno-pointer-to-int-cast -Wmissing-field-initializers -Wcast-align -Wwrite-strings -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -MT resource_lexer.lex.o -MD -MP -MF .deps/resource_lexer.lex.Tpo -c -o resource_lexer.lex.o resource_lexer.lex.c
cc1: warnings being treated as errors
resource_lexer.lex.c:1737: warning: no previous declaration for ‘res_get_lineno’
resource_lexer.lex.c:1746: warning: no previous declaration for ‘res_get_in’
resource_lexer.lex.c:1754: warning: no previous declaration for ‘res_get_out’
resource_lexer.lex.c:1762: warning: no previous declaration for ‘res_get_leng’
resource_lexer.lex.c:1771: warning: no previous declaration for ‘res_get_text’
resource_lexer.lex.c:1780: warning: no previous declaration for ‘res_set_lineno’
resource_lexer.lex.c:1792: warning: no previous declaration for ‘res_set_in’
resource_lexer.lex.c:1797: warning: no previous declaration for ‘res_set_out’
resource_lexer.lex.c:1802: warning: no previous declaration for ‘res_get_debug’
resource_lexer.lex.c:1807: warning: no previous declaration for ‘res_set_debug’
make[4]: *** [resource_lexer.lex.o] Error 1
make[4]: se sale del directorio `/usr/src/packages/BUILD/warzone/lib/framework'
make[3]: *** [all] Error 2
make[3]: se sale del directorio `/usr/src/packages/BUILD/warzone/lib/framework'
make[2]: *** [all-recursive] Error 1
make[2]: se sale del directorio `/usr/src/packages/BUILD/warzone/lib'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/usr/src/packages/BUILD/warzone'
make: *** [all] Error 2
- lav_coyote25
- Professional
- Posts: 3434
- Joined: 08 Aug 2006, 23:18
Re: svn build fails
please do not spread posts over the forums... one is usually sufficient... i would say that your problem has been noted and that it may be a while due to the coders being busy with R/L stuff... thanks.
Re: svn build fails
was dieses Ding ist, sagen Sie "svn". Ist das ein Baum? Ein Pfannkuchen?
Sie stellen poopoo in meinem Kopf! Ihre ganze Basis ist gehören uns!
Sie stellen poopoo in meinem Kopf! Ihre ganze Basis ist gehören uns!
- lav_coyote25
- Professional
- Posts: 3434
- Joined: 08 Aug 2006, 23:18
Re: svn build fails
what??
is german - i recognize some of the words... but...
O_O Translation: German » English
was dieses Ding ist, sagen Sie "svn". Ist das ein Baum? Ein Pfannkuchen? Sie stellen poopoo in meinem Kopf! Ihre ganze Basis ist gehören uns!
what this thing is, say "svn". Is it a tree? A pancake? : ninja:
They poopoo in my head! Your whole basis include us!
is german - i recognize some of the words... but...
O_O Translation: German » English
was dieses Ding ist, sagen Sie "svn". Ist das ein Baum? Ein Pfannkuchen? Sie stellen poopoo in meinem Kopf! Ihre ganze Basis ist gehören uns!
what this thing is, say "svn". Is it a tree? A pancake? : ninja:
They poopoo in my head! Your whole basis include us!
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: svn build fails
Machine translated german. The last is obviously "All your base are belong to us". The rest is something like "What is this thing you call "svn"? Is it a tree? A pancake? They/You put poopoo in my head!", but I don't know what it alludes to, so I'm just going by the words.
As to the actual topic of this thread, when you run ./configure with "--enable-debug=relaxed" (or "no"), it should compile.
As to the actual topic of this thread, when you run ./configure with "--enable-debug=relaxed" (or "no"), it should compile.
Re: svn build fails
Hehe
Really bad english + Online Translator = Even worse german. xD
Ok now I feel really bad for hijacking the thread...
Carry on..
Really bad english + Online Translator = Even worse german. xD
Ok now I feel really bad for hijacking the thread...
Carry on..
Re: svn build fails
Actually that's ^^ a dump of stderr . Anyway, which version of Flex do you use? ("flex --version" will tell you). As Flex 2.5.33+ is required and Flex 2.5.34 is known to cause exactly this kind of problem. Thus you really should have either Flex 2.5.33 or 2.5.35+maacruz wrote:stdout dump:
resource_lexer.lex.c:1737: warning: no previous declaration for ‘res_get_lineno’
Re: svn build fails
It is worse than that, it's just a mouse copy of a console dumpGiel wrote:Actually that's ^^ a dump of stderr .maacruz wrote:stdout dump:
resource_lexer.lex.c:1737: warning: no previous declaration for ‘res_get_lineno’
Yes, I noticed that somewhere in the build instructions. I have Flex 2.5.33, so it should work.Giel wrote: Anyway, which version of Flex do you use? ("flex --version" will tell you). As Flex 2.5.33+ is required and Flex 2.5.34 is known to cause exactly this kind of problem. Thus you really should have either Flex 2.5.33 or 2.5.35+
Those are the last entries in the flex rpm changelog:
Distribution: openSUSE 10.3 (i586)
* lun mar 26 2007 - [email protected]
- Add bison BuildRequires.
* mié may 17 2006 - [email protected]
- update to 2.5.33
* bugfix release
* obsoleted patches:
- YY_DECL.patch
- array-yymore.patch
- double-free.patch
- keep-macros.patch
- overflow.patch
* kept fPIC.patch, yylineno.patch and doc-fix.diff
It seems a stable package, nothing strange here.
Problem solved
So it was flex the culprit. I updated flex to 2.5.35 and the problem was gone.
Thanks for pointing it out
Thanks for pointing it out
-
- New user
- Posts: 3
- Joined: 27 Jul 2008, 13:10
Re: svn build fails
I've just packaged wx2100 for openSUSE, including 10.3. It says it built, but I don't have a real 10.3 install to test it on - viewtopic.php?f=19&t=1955&p=18403&hilit=openSUSE#p18403 has the details if you want to try it out.