Recent SVN versions fail to compile on goomsl_yacc.y
#16
Thanks! Since i got the same issue on my 32bit machine i'll give it a try.
Reply
#17
I did this as a dirty workaround:
Code:
sed -i xbmc/visualizations/Goom/goom2k4-0/src/goomsl_yacc.y -e 's/case FLOAT_TK/case 264/'
sed -i xbmc/visualizations/Goom/goom2k4-0/src/goomsl_yacc.y -e 's/case INT_TK/case 263/'
sed -i xbmc/visualizations/Goom/goom2k4-0/src/goomsl_yacc.y -e 's/case PTR_TK/case 262/'
which basically replaces INT_TK, FLOAT_TK and PTR_TK with what they are defined to in the header goomsl_yacc.h. I have no idea why it doesn't resolve the defined stuff from the header, but I didn't put any effort in resolving the issue because I honestly don't care about goom...
Reply
#18
hotzenpl0tz Wrote:I have had that error on arch linux for quite some time and one day got annoyed and kicked goom from the configure.in file Big Grin ProjectM is better anyway Wink

Which lines do I have to remove. I tried some but it comes with the same error. Have I to do a new "configure"?

thx
XBMC - I LOVE IT :cool2:
Reply
#19
hampit: What distro you're on?

Try that before patching the source:
Code:
cd "xbmc/visualizations/Goom/goom2k4-0"
aclocal
./autogen.sh --enable-static --with-pic

and give run compilation again.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#20
Its SIDUX.

Thanks - I will give it a try whitout patching. BTW I really dont need Goom...
XBMC - I LOVE IT :cool2:
Reply
#21
That doesn't matter. Getting around 'homegrown' patches saves you a lot of trouble on the next svn update.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#22
hhm, i dont know but I think it will not:
Code:
root@siduxbox:/usr/local/src# cd XBMC/xbmc/visualizations/Goom/goom2k4-0
root@siduxbox:/usr/local/src/XBMC/xbmc/visualizations/Goom/goom2k4-0# aclocal
configure.in:22: warning: macro `AM_PATH_XMMS2' not found in library
configure.in:29: warning: macro `AM_PATH_SDL2' not found in library
root@siduxbox:/usr/local/src/XBMC/xbmc/visualizations/Goom/goom2k4-0# ./autogen.sh --enable-static --with-pic
libtoolize (GNU libtool) 1.5.26

Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
m4/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION2
m4/xmms.m4:17:   run info '(automake)Extending aclocal'
m4/xmms.m4:17:   or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/usr/local/src/XBMC/xbmc/visualizations/Goom/goom2k4-0/missing: Unknown `--run' option
Try `/usr/local/src/XBMC/xbmc/visualizations/Goom/goom2k4-0/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether ln -s works... yes
checking for flex... no
checking for lex... no
checking for bison... bison -y
checking whether byte ordering is bigendian... no
checking for xmms-config... no
checking for XMMS - version >= 0.9.5.1... no
*** The xmms-config script installed by XMMS could not be found.
*** If XMMS was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the XMMS_CONFIG environment variable to the
*** full path to xmms-config.
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_attr_init in -lpthread... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating xmms-goom/Makefile
config.status: creating sdl-goom/Makefile
config.status: creating libgoom2.pc
config.status: executing depfiles commands
configure: goom2k4 was configured with the following options:
configure:     PPC support disabled
configure:  ** MMX support enabled
configure:  ** goom lib will be built
configure:     XMMS plugin will not be built
configure:     goom mac application will not be built
configure:     goom mac iTunes plugin will not be built
configure:     goom sdl application will not be built
root@siduxbox:/usr/local/src/XBMC/xbmc/visualizations/Goom/goom2k4-0#
XBMC - I LOVE IT :cool2:
Reply
#23
...erm, don't see the error? why not just compile it now?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#24
Haggy Wrote:...erm, don't see the error? why not just compile it now?

hhm, I think there is a problem with xmms

And is this OK?
Code:
configure: goom2k4 was configured with the following options:
configure:     PPC support disabled
configure:  ** MMX support enabled
configure:  ** goom lib will be built
configure:     XMMS plugin will not be built
configure:     goom mac application will not be built
configure:     goom mac iTunes plugin will not be built
configure:     goom sdl application will not be built

thank - I will configure xbmc now
XBMC - I LOVE IT :cool2:
Reply
#25
scratch xmms - you don't need it for goom @xbmc
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#26
Sad

Code:
make[1]: Entering directory `/media/disk1part5/src/XBMC/tools/XBMCTex'
g++ -MD -c -O2 -g -D_DEBUG -Wall -DUSE_SDL -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="18851M"'  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I../../xbmc/linux -I../../guilib -I../../xbmc/ -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO AnimatedGif.cpp -o AnimatedGif.o
g++ -MD -c -O2 -g -D_DEBUG -Wall -DUSE_SDL -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="18851M"'  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I../../xbmc/linux -I../../guilib -I../../xbmc/ -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO Bundler.cpp -o Bundler.o
Linking CXX shared library libprojectM.so
g++ -MD -c -O2 -g -D_DEBUG -Wall -DUSE_SDL -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="18851M"'  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I../../xbmc/linux -I../../guilib -I../../xbmc/ -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO SurfaceSDL.cpp -o SurfaceSDL.o
make[4]: Leaving directory `/media/disk1part5/src/XBMC/xbmc/visualizations/XBMCProjectM/libprojectM'
g++ -MD -c -O2 -g -D_DEBUG -Wall -DUSE_SDL -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="18851M"'  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I../../xbmc/linux -I../../guilib -I../../xbmc/ -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO XBMCTex.cpp -o XBMCTex.o
[100%] Built target projectM
make[3]: Leaving directory `/media/disk1part5/src/XBMC/xbmc/visualizations/XBMCProjectM/libprojectM'
make[2]: Leaving directory `/media/disk1part5/src/XBMC/xbmc/visualizations/XBMCProjectM/libprojectM'
g++ ./libprojectM/CMakeFiles/projectM.dir/*.o -fPIC -shared -O2 -g -D_DEBUG -Wall -o ../../../visualisations/ProjectM.vis Main.o      `cat ../../cores/DllLoader/exports/wrapper.def` ../../cores/DllLoader/exports/wrapper.o
g++ -MD -c -O2 -g -D_DEBUG -Wall -DUSE_SDL -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="18851M"'  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I../../xbmc/linux -I../../guilib -I../../xbmc/ -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO xbox.cpp -o xbox.o
make[1]: Leaving directory `/media/disk1part5/src/XBMC/xbmc/visualizations/XBMCProjectM'
make -C xbmc/visualizations/Goom
g++ -MD -c -O2 -g -D_DEBUG -Wall -DUSE_SDL -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="18851M"'  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I../../xbmc/linux -I../../guilib -I../../xbmc/ -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO xwinapi.cpp -o xwinapi.o
make[1]: Entering directory `/media/disk1part5/src/XBMC/xbmc/visualizations/Goom'
g++ -MD -c -g -O3 -fPIC -O2 -g -D_DEBUG -Wall -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="18851M"'  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I. -I.. -I../../linux -I../../ -I../../../guilib -I../../../visualisations -Igoom2k4-0/src -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO Main.cpp -o Main.o
g++ -MD -c -O2 -g -D_DEBUG -Wall -DUSE_SDL -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="18851M"'  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I../../xbmc/linux -I../../guilib -I../../xbmc/ -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO XFileUtils.cpp -o XFileUtils.o
make -C goom2k4-0
make[2]: Entering directory `/media/disk1part5/src/XBMC/xbmc/visualizations/Goom/goom2k4-0'
Making all in src
make[3]: Entering directory `/media/disk1part5/src/XBMC/xbmc/visualizations/Goom/goom2k4-0/src'
/bin/sh ../ylwrap goomsl_yacc.y y.tab.c goomsl_yacc.c y.tab.h goomsl_yacc.h y.output goomsl_yacc.output -- bison -y  -d
g++ -MD -c -O2 -g -D_DEBUG -Wall -DUSE_SDL -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="18851M"'  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I../../xbmc/linux -I../../guilib -I../../xbmc/ -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO XHandle.cpp -o XHandle.o
updating goomsl_yacc.h
/bin/sh ../ylwrap goomsl_lex.l .c goomsl_lex.c -- flex
../ylwrap: line 110: flex: command not found
make[3]: *** [goomsl_lex.c] Fehler 1
make[3]: Leaving directory `/media/disk1part5/src/XBMC/xbmc/visualizations/Goom/goom2k4-0/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/media/disk1part5/src/XBMC/xbmc/visualizations/Goom/goom2k4-0'
make[1]: *** [goom2k4-0/src/.libs/libgoom2.a] Fehler 2
make[1]: Leaving directory `/media/disk1part5/src/XBMC/xbmc/visualizations/Goom'
make: *** [visualizations] Fehler 2
make: *** Warte auf noch nicht beendete Prozesse...
g++ -MD -c -O2 -g -D_DEBUG -Wall -DUSE_SDL -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="18851M"'  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I../../xbmc/linux -I../../guilib -I../../xbmc/ -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO XTimeUtils.cpp -o XTimeUtils.o
gcc -MD -c -O2 -g -D_DEBUG -Wall -DUSE_SDL -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_XRANDR -DHAS_PCRE -D'SVN_REV="18851M"'  -DDLL_PATH_LIBCURL="\"/usr/lib/libcurl.so\"" -I../../xbmc/linux -I../../guilib -I../../xbmc/ -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/hal -DHAS_PULSEAUDIO sha.c -o sha.o
sha.c: In function âSHA1â:
sha.c:71: warning: dereferencing type-punned pointer will break strict-aliasing rules
g++ AnimatedGif.o Bundler.o SurfaceSDL.o XBMCTex.o xbox.o xwinapi.o XFileUtils.o XHandle.o XTimeUtils.o sha.o       -lvdpau -lXrandr -lfaac  -lpulse -lhal-storage -ldbus-1 -lcurl -lXinerama -lXmu -lXt -ljasper -lenca -lresolv -ldl -lSDL_mixer -lSDL_image -lSDL -lcdio -llzo -lpcre -ljpeg -lpng12 -lrt -lasound -lmysqlclient -lsqlite3 -lfribidi -lbz2 -lfontconfig -lfreetype -lvorbis -logg -lmad -lGLU -lGLEW -lGL  -o XBMCTex
make[1]: Leaving directory `/media/disk1part5/src/XBMC/tools/XBMCTex'
XBMC - I LOVE IT :cool2:
Reply
#27
--> ../ylwrap: line 110: flex: command not found

you have to install flex / bison.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#28
...and read more carefully :-)
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#29
thank a lot for your support Nerd
XBMC - I LOVE IT :cool2:
Reply
#30
no problem - did it work?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
Recent SVN versions fail to compile on goomsl_yacc.y0