[clam-devel] Network compilation problem

SAn gringotumadre at gmail.com
Wed May 12 20:39:17 PDT 2010


Hi, NE isnt building with gcc 4.5 (CLAM does). The error:

g++ -o src/generated/ProcessingBoxEmbededWidgets.o -c -g -O3 -Wall
-pipe -fomit-frame-pointer
-DDATA_EXAMPLES_PATH="\"/home/san/clam/Ms/pkg/usr/share/networkeditor/example-data\""
-DQT_PLUGIN -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB
-DQT_XML_LIB -DQDESIGNER_EXPORT_WIDGETS -D_REENTRANT -DCLAM_FLOAT
-DUSE_XMLPP=1 -DCLAM_USE_XML -DUSE_LADSPA=1 -DUSE_SNDFILE=1
-DUSE_OGGVORBIS=1 -DWITH_VORBIS=1 -DUSE_MAD=1 -DWITH_MAD=1 -DUSE_ID3=1
-DUSE_ALSA=1 -DUSE_JACK=1 -DUSE_PORTAUDIO=1 -DUSE_FFTW3=1
-DQT_CORE_LIB -DQT_GUI_LIB -DQT_OPENGL_LIB -DQT_XML_LIB -DQT_SVG_LIB
-DQT_SHARED -I/usr/local/include -I/usr/include/libxml++-2.6
-I/usr/lib/libxml++-2.6/include -I/usr/include/libxml2
-I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include
-I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/alsa -I/usr/include/QtCore -I/usr/include/QtGui
-I/usr/include/QtOpenGL -I/usr/include/QtXml -I/usr/include/QtSvg
-I/usr/include/QtUiTools -I/usr/include/QtDesigner
-I/usr/include/QtWebKit -I/usr/include/QtNetwork -I/usr/include/drm
-Isrc -Isrc/jack -Isrc/generated -Isrc/processing -Isrc/prototyper
-Isrc/clamWidgetsPlugins -Isrc/clamWidgetsPlugins/generated
-Isrc/monitors -Isrc/widgets -I/usr/include -I/usr/include/CLAM
-Isrc/clamWidgetsPlugin -Isrc/clamWidgetsPlugin/generated
-I/usr/include src/ProcessingBoxEmbededWidgets.cxx

Building src/generated/ProcessingBoxEmbededWidgets.o with action:
  $CXX -o $TARGET -c $CXXFLAGS $CCFLAGS $_CCCOMCOM $SOURCES

In file included from src/ProcessingBoxEmbededWidgets.cxx:4:0:
src/widgets/EmbededWidgets.hxx: In instantiation of
‘CLAM::EmbededMonitorCreator<PeakView, PeakViewMonitor>’:
src/ProcessingBoxEmbededWidgets.cxx:52:68:   instantiated from here
src/widgets/EmbededWidgets.hxx:13:22: error: ‘typedef struct
std::string CLAM::EmbededWidgetCreatorBase::Key’ is private
src/widgets/EmbededWidgets.hxx:50:30: error: within this context
src/widgets/EmbededWidgets.hxx: In instantiation of
‘CLAM::EmbededMonitorCreator<PolarChromaPeaks,
PolarChromaPeaksMonitor>’:
src/ProcessingBoxEmbededWidgets.cxx:54:84:   instantiated from here
src/widgets/EmbededWidgets.hxx:13:22: error: ‘typedef struct
std::string CLAM::EmbededWidgetCreatorBase::Key’ is private
src/widgets/EmbededWidgets.hxx:50:30: error: within this context
src/widgets/EmbededWidgets.hxx: In instantiation of
‘CLAM::EmbededMonitorCreator<CLAM::VM::Tonnetz, TonnetzMonitor>’:
src/ProcessingBoxEmbededWidgets.cxx:56:76:   instantiated from here
src/widgets/EmbededWidgets.hxx:13:22: error: ‘typedef struct
std::string CLAM::EmbededWidgetCreatorBase::Key’ is private
src/widgets/EmbededWidgets.hxx:50:30: error: within this context
src/widgets/EmbededWidgets.hxx: In instantiation of
‘CLAM::EmbededMonitorCreator<CLAM::VM::KeySpace, KeySpaceMonitor>’:
src/ProcessingBoxEmbededWidgets.cxx:58:78:   instantiated from here
src/widgets/EmbededWidgets.hxx:13:22: error: ‘typedef struct
std::string CLAM::EmbededWidgetCreatorBase::Key’ is private
src/widgets/EmbededWidgets.hxx:50:30: error: within this context
src/widgets/EmbededWidgets.hxx: In instantiation of
‘CLAM::EmbededMonitorCreator<CLAM::VM::Spectrogram,
SpectrogramMonitor>’:
src/ProcessingBoxEmbededWidgets.cxx:60:84:   instantiated from here
src/widgets/EmbededWidgets.hxx:13:22: error: ‘typedef struct
std::string CLAM::EmbededWidgetCreatorBase::Key’ is private
src/widgets/EmbededWidgets.hxx:50:30: error: within this context
src/widgets/EmbededWidgets.hxx: In instantiation of
‘CLAM::EmbededMonitorCreator<CLAM::VM::ChordRanking,
ChordRankingMonitor>’:
src/ProcessingBoxEmbededWidgets.cxx:62:85:   instantiated from here
src/widgets/EmbededWidgets.hxx:13:22: error: ‘typedef struct
std::string CLAM::EmbededWidgetCreatorBase::Key’ is private
src/widgets/EmbededWidgets.hxx:50:30: error: within this context
src/widgets/EmbededWidgets.hxx: In instantiation of
‘CLAM::EmbededMonitorCreator<Tunner, TunnerMonitor>’:
src/ProcessingBoxEmbededWidgets.cxx:64:63:   instantiated from here
src/widgets/EmbededWidgets.hxx:13:22: error: ‘typedef struct
std::string CLAM::EmbededWidgetCreatorBase::Key’ is private
src/widgets/EmbededWidgets.hxx:50:30: error: within this context
scons: *** [src/generated/ProcessingBoxEmbededWidgets.o] Error 1
scons: building terminated because of errors.
==> ERROR: Build Failed.
    Aborting...

[san at abulafia]$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.5.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: ../configure --prefix=/usr
--enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-shared
--enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
--enable-lto --enable-gnu-unique-object --disable-multilib
--disable-libstdcxx-pch --with-system-zlib --with-ppl --with-cloog
--libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man
--infodir=/usr/share/info
Thread model: posix
gcc version 4.5.0 (GCC)

Cheers,
SAn



More information about the clam-devel mailing list