A slight compile problem.
Posted: Sun May 11, 2003 10:41 pm
Hello, I downloaded the source for the 11th of May.
Here is an error encountered after typing make.
==========================================================================
make[2]: Entering directory `/usr/ports/game/exult/exult/usecode'
Making all in compiler
make[3]: Entering directory `/usr/ports/game/exult/exult/usecode/compiler'
bison -y -d `test -f 'ucparse.yy' || echo './'`ucparse.yy
sed '/^#/ s|y\.tab\.c|ucparse.cc|' y.tab.c >ucparse.cc
rm -f y.tab.c
if test -f y.tab.h; then \
to=`echo "ucparse_H" | sed \
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
-e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
sed "/^#/ s/Y_TAB_H/$to/g" y.tab.h >ucparse.ht; \
rm -f y.tab.h; \
if cmp -s ucparse.ht ucparse.h; then \
rm -f ucparse.ht ;\
else \
mv ucparse.ht ucparse.h; \
fi; \
fi
if test -f y.output; then \
mv y.output ucparse.output; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../../headers -I./.. -I./../../files -I./../.. -O2 -Wno-long-long -g -O2 -MT ucparse.o -MD -MP -MF ".deps/ucparse.Tpo" \
-c -o ucparse.o `test -f 'ucparse.cc' || echo './'`ucparse.cc; \
then mv ".deps/ucparse.Tpo" ".deps/ucparse.Po"; \
else rm -f ".deps/ucparse.Tpo"; exit 1; \
fi
ucparse.cc: In function `int yyparse()':
ucparse.cc parse error before `goto'
make[3]: *** [ucparse.o] Error 1
make[3]: Leaving directory `/usr/ports/game/exult/exult/usecode/compiler'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/ports/game/exult/exult/usecode'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/ports/game/exult/exult'
make: *** [all] Error 2
==========================================================================
Some info that might help.
I have:
* glibc 2.3.2
* gcc 3.2.2
* sdl 1.2.5
* sdl mixer 1.2.5
Thanks for any help.
Here is an error encountered after typing make.
==========================================================================
make[2]: Entering directory `/usr/ports/game/exult/exult/usecode'
Making all in compiler
make[3]: Entering directory `/usr/ports/game/exult/exult/usecode/compiler'
bison -y -d `test -f 'ucparse.yy' || echo './'`ucparse.yy
sed '/^#/ s|y\.tab\.c|ucparse.cc|' y.tab.c >ucparse.cc
rm -f y.tab.c
if test -f y.tab.h; then \
to=`echo "ucparse_H" | sed \
-e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/' \
-e 's/[^ABCDEFGHIJKLMNOPQRSTUVWXYZ]/_/g'`; \
sed "/^#/ s/Y_TAB_H/$to/g" y.tab.h >ucparse.ht; \
rm -f y.tab.h; \
if cmp -s ucparse.ht ucparse.h; then \
rm -f ucparse.ht ;\
else \
mv ucparse.ht ucparse.h; \
fi; \
fi
if test -f y.output; then \
mv y.output ucparse.output; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./../../headers -I./.. -I./../../files -I./../.. -O2 -Wno-long-long -g -O2 -MT ucparse.o -MD -MP -MF ".deps/ucparse.Tpo" \
-c -o ucparse.o `test -f 'ucparse.cc' || echo './'`ucparse.cc; \
then mv ".deps/ucparse.Tpo" ".deps/ucparse.Po"; \
else rm -f ".deps/ucparse.Tpo"; exit 1; \
fi
ucparse.cc: In function `int yyparse()':
ucparse.cc parse error before `goto'
make[3]: *** [ucparse.o] Error 1
make[3]: Leaving directory `/usr/ports/game/exult/exult/usecode/compiler'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/ports/game/exult/exult/usecode'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/ports/game/exult/exult'
make: *** [all] Error 2
==========================================================================
Some info that might help.
I have:
* glibc 2.3.2
* gcc 3.2.2
* sdl 1.2.5
* sdl mixer 1.2.5
Thanks for any help.