Smasher-1.1.7 compilation fails on Gentoo

Help
2010-09-09
2013-04-24
  • Jouni Rinne

    Jouni Rinne - 2010-09-09

    I'm trying to compile smasher-1.1.7 on Gentoo (gcc-4.4.4, glibc-2.12.1, csound-5.12.1), but the compilation fails with the following error:

    Making all in src
    make: Entering directory `/home/madmax/src/smasher-1.1.7/src'
    g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"smasher\" -DVERSION=\"1.1.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SNDFILE=1 -DUSE_DOUBLE=1 -I.   -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -g -O2 -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -MT smashercriticalsectionlocker.o -MD -MP -MF .deps/smashercriticalsectionlocker.Tpo -c -o smashercriticalsectionlocker.o smashercriticalsectionlocker.cpp
    mv -f .deps/smashercriticalsectionlocker.Tpo .deps/smashercriticalsectionlocker.Po
    g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"smasher\" -DVERSION=\"1.1.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SNDFILE=1 -DUSE_DOUBLE=1 -I.   -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -g -O2 -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -MT effectsgrid.o -MD -MP -MF .deps/effectsgrid.Tpo -c -o effectsgrid.o effectsgrid.cpp
    mv -f .deps/effectsgrid.Tpo .deps/effectsgrid.Po
    g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"smasher\" -DVERSION=\"1.1.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SNDFILE=1 -DUSE_DOUBLE=1 -I.   -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -g -O2 -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -MT monochromegrid.o -MD -MP -MF .deps/monochromegrid.Tpo -c -o monochromegrid.o monochromegrid.cpp
    mv -f .deps/monochromegrid.Tpo .deps/monochromegrid.Po
    g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"smasher\" -DVERSION=\"1.1.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SNDFILE=1 -DUSE_DOUBLE=1 -I.   -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -g -O2 -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -MT progressgrid.o -MD -MP -MF .deps/progressgrid.Tpo -c -o progressgrid.o progressgrid.cpp
    mv -f .deps/progressgrid.Tpo .deps/progressgrid.Po
    g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"smasher\" -DVERSION=\"1.1.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SNDFILE=1 -DUSE_DOUBLE=1 -I.   -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -g -O2 -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -MT samplemath.o -MD -MP -MF .deps/samplemath.Tpo -c -o samplemath.o samplemath.cpp
    mv -f .deps/samplemath.Tpo .deps/samplemath.Po
    g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"smasher\" -DVERSION=\"1.1.7\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SNDFILE=1 -DUSE_DOUBLE=1 -I.   -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -g -O2 -Wall -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -MT settingsbook.o -MD -MP -MF .deps/settingsbook.Tpo -c -o settingsbook.o settingsbook.cpp
    In file included from settingsbook.cpp:28:
    smasherMain.h:57: error: ISO C++ forbids declaration of 'wxMediaCtrl' with no type
    smasherMain.h:57: error: expected ';' before '*' token
    smasherMain.h:60: error: ISO C++ forbids declaration of 'wxMediaCtrl' with no type
    smasherMain.h:60: error: expected ';' before '*' token
    smasherMain.h:144: error: ISO C++ forbids declaration of 'wxMediaCtrl' with no type
    smasherMain.h:144: error: expected ';' before '*' token
    smasherMain.h:216: error: 'wxMediaEvent' has not been declared
    smasherMain.h:217: error: 'wxMediaEvent' has not been declared
    smasherMain.h:218: error: 'wxMediaEvent' has not been declared
    make: ***  Error 1
    make: Leaving directory `/home/madmax/src/smasher-1.1.7/src'
    make: ***  Error 1

    Tried to compile with gcc-4.2.4, too, but got the same error

     
  • Jouni Rinne

    Jouni Rinne - 2010-09-09

    Oh c**p, before posting I looked at the previous help threads, but I seemed to have skipped *just* the thread which discussed this :) . Ok, I recompiled wxGTK with gstreamer support (USE="gstreamer" in Gentoo talk), now smasher compiles fine… Sorry for the unnecessary noise.

    I'm in the process of making a Gentoo ebuild of smasher, I'll post here when it is done!

     
  • e loeliger

    e loeliger - 2010-09-09

    That's great, thanks for letting us know!
    Esther

     

Log in to post a comment.