Hi all,
I was just wondering if anyone had compiled Shaketracker with gcc-3.2? I
get the following errors...
c++ -DPACKAGE=\"shaketracker\" -DVERSION=\"0.4.6\" -I. -I.
-I/usr/local/lib/sigc++-1.0/include -I/usr/local/include/sigc++-1.0
-I/usr/local/lib/gtkmm/include -I/usr/local/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/usr/local/lib/sigc++-1.0/include
-I/usr/local/include/sigc++-1.0 -DPOSIX_ENABLED -DALSA_ENABLED -g3
-c midioutdevicemanager.cpp
In file included from midioutdevicemanager.h:20,
from midioutdevicemanager.cpp:18:
midioutdevice.h:33: 'string' is used as a type, but is not defined as a
type.
midioutdevice.h:34: 'string' is used as a type, but is not defined as a
type.
midioutdevice.h:43: parse error before `)' token
midioutdevice.h:44: parse error before `)' token
midioutdevice.h: In function `int get_subdevices_count()':
midioutdevice.h:46: `subdevices_count' undeclared (first use this function)
midioutdevice.h:46: (Each undeclared identifier is reported only once
for each
function it appears in.)
midioutdevice.h: At global scope:
midioutdevice.h:47: syntax error before `(' token
midioutdevice.h:49: virtual outside class declaration
midioutdevice.h:50: virtual outside class declaration
midioutdevice.h:51: virtual outside class declaration
midioutdevice.h: In function `bool is_subdevice_enabled(int)':
midioutdevice.h:51: `subdevice_enabled' undeclared (first use this
function)
midioutdevice.h: At global scope:
midioutdevice.h:54: virtual outside class declaration
midioutdevice.h:55: virtual outside class declaration
midioutdevice.h:56: virtual outside class declaration
midioutdevice.h:57: virtual outside class declaration
midioutdevice.h:58: virtual outside class declaration
midioutdevice.h:59: virtual outside class declaration
midioutdevice.h:60: virtual outside class declaration
midioutdevice.h:61: virtual outside class declaration
midioutdevice.h:62: virtual outside class declaration
midioutdevice.h:64: virtual outside class declaration
midioutdevice.h:65: virtual outside class declaration
midioutdevice.h:67: virtual outside class declaration
midioutdevice.h:68: virtual outside class declaration
midioutdevice.h:69: virtual outside class declaration
midioutdevice.h:70: virtual outside class declaration
midioutdevice.h:71: virtual outside class declaration
midioutdevice.h:73: parse error before `)' token
midioutdevice.h:74: destructors must be member functions
midioutdevice.h:74: virtual outside class declaration
midioutdevice.h:75: parse error before `}' token
In file included from midioutdevicemanager.cpp:18:
midioutdevicemanager.h:37: 'vector' is used as a type, but is not
defined as a
type.
midioutdevicemanager.h:41: syntax error before `*' token
midioutdevicemanager.h:48: parse error before `)' token
midioutdevicemanager.h:50: parse error before `)' token
midioutdevicemanager.h:51: parse error before `)' token
midioutdevicemanager.h:54: `newdevice' was not declared in this scope
midioutdevicemanager.h:54: invalid data member initialization
midioutdevicemanager.h:54: (use `=' to initialize static data members)
midioutdevicemanager.h:54: variable or field `AddDevice' declared void
midioutdevicemanager.h: In member function `bool
MidiOutDeviceManager::is_device_enabled(int)':
midioutdevicemanager.h:55: `device_array' undeclared (first use this
function)
midioutdevicemanager.cpp: In member function `int
MidiOutDeviceManager::real_device(unsigned int)':
midioutdevicemanager.cpp:23: `subdev_vector' undeclared (first use this
function)
midioutdevicemanager.cpp: At global scope:
midioutdevicemanager.cpp:38: `newdevice' was not declared in this scope
midioutdevicemanager.cpp:38: `void MidiOutDeviceManager::AddDevice' is
not a
static member of `class MidiOutDeviceManager'
midioutdevicemanager.cpp:38: variable `void MidiOutDeviceManager::AddDevice'
has initializer but incomplete type
midioutdevicemanager.cpp:38: syntax error before `{' token
midioutdevicemanager.cpp:43: syntax error before `++' token
midioutdevicemanager.cpp:47: ISO C++ forbids declaration of `
regenerate_subdev_vector' with no type
midioutdevicemanager.cpp:49: parse error before `}' token
midioutdevicemanager.cpp:53: syntax error before `::' token
midioutdevicemanager.cpp:58: syntax error before `::' token
midioutdevicemanager.cpp:64: syntax error before `::' token
make[1]: *** [midioutdevicemanager.o] Error 1
make[1]: Leaving directory
`/home/jordan/src/audio/shaketracker-0.4.6/trackercore'
make: *** [all-recursive] Error 1