Warzone2100 / old-trac-import

Archived Import of (old) Warzone 2100 Trac
0 stars 0 forks source link

trunk no longer compiles #1701

Closed wzdev-ci closed 14 years ago

wzdev-ci commented 14 years ago

resolution_invalid type_bug | by wil


I am using Ubuntu 9.10

Making all in framework
make[3]: Entering directory `/home/wil/projects/warzone/lib/framework'
:   -oresource_lexer.lex.c resource_lexer.l
:   -ostrres_lexer.lex.c strres_lexer.l
make  all-am
make[4]: Entering directory `/home/wil/projects/warzone/lib/framework'
:   -oresource_lexer.lex.c resource_lexer.l
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -DYY_NO_INPUT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL   -DDEBUG -DWZ_DATADIR="\"/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 -Wno-format-security -Wdeclaration-after-statement -fstack-protector -MT resource_lexer.lex.o -MD -MP -MF .deps/resource_lexer.lex.Tpo -c -o resource_lexer.lex.o resource_lexer.lex.c
gcc: resource_lexer.lex.c: No such file or directory
gcc: no input files
make[4]: *** [resource_lexer.lex.o] Error 1
make[4]: Leaving directory `/home/wil/projects/warzone/lib/framework'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/wil/projects/warzone/lib/framework'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/wil/projects/warzone/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wil/projects/warzone'
make: *** [all] Error 2
wil@williambell:~/projects/warzone$ 

Edit: Fixed formatting. - Per


Issue migrated from trac:1701 at 2022-04-15 21:14:27 -0700

wzdev-ci commented 14 years ago

Per edited the issue description

wzdev-ci commented 14 years ago

Per changed milestone from unspecified to 3.0

wzdev-ci commented 14 years ago

Per commented


Works for me.

wzdev-ci commented 14 years ago

wil commented


Making all in framework
make[3]: Entering directory `/home/wil/projects/warzone/lib/framework'
:   -oresource_lexer.lex.c resource_lexer.l
bison -y  -d -oresource_parser.tab.c resource_parser.y
:   -ostrres_lexer.lex.c strres_lexer.l
bison -y  -d -ostrres_parser.tab.c strres_parser.y
make  all-am
make[4]: Entering directory `/home/wil/projects/warzone/lib/framework'
:   -oresource_lexer.lex.c resource_lexer.l
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../..  -DYY_NO_INPUT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL   -DDEBUG -DWZ_DATADIR="\"/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 -Wno-format-security -Wdeclaration-after-statement -fstack-protector -MT resource_lexer.lex.o -MD -MP -MF .deps/resource_lexer.lex.Tpo -c -o resource_lexer.lex.o resource_lexer.lex.c
gcc: resource_lexer.lex.c: No such file or directory
gcc: no input files
make[4]: *** [resource_lexer.lex.o] Error 1
make[4]: Leaving directory `/home/wil/projects/warzone/lib/framework'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/home/wil/projects/warzone/lib/framework'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/wil/projects/warzone/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/wil/projects/warzone'
make: *** [all] Error 2

Maybe it has something to do with bison?

wzdev-ci commented 14 years ago

cybersphinx commented


Works here as well. Have you tried rerunning make/the whole distclean/autogen/configure/make thing?

wzdev-ci commented 14 years ago

wil commented


Yes and I even did a

svn revert --recursive .

just in case.

wzdev-ci commented 14 years ago

wil commented


OK I do not know about the distclean I did a make clean.

wzdev-ci commented 14 years ago

jaakan commented


try deleting your local trunk and re-pulling svn

svn co https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk warzone

cd warzone/ $ svn update && ./autogen.sh && ./configure && make && sudo make install

It builds fine for me on U9.10 x64 and U10.04 x64 Trunk Revision: 10393

wzdev-ci commented 14 years ago

wil commented


I have limited bandwidth downloading 120G of files is not an option. where is the file resource_lexer.lex.c supposed to be or how does it get generated?

wzdev-ci commented 14 years ago

wil commented


OK did some googling it turned out that flex was not installed, I feel that the build system should be checking for this.

This bug can be closed. Thanks for all the help.

wzdev-ci commented 14 years ago

Per changed status from new to closed

wzdev-ci commented 14 years ago

Per set resolution to invalid

wzdev-ci commented 12 years ago

cybersphinx changed milestone from 3.0 to unspecified

wzdev-ci commented 12 years ago

cybersphinx commented


Milestone 3.0 deleted