From: Thomas S. <jaz...@ts...> - 2004-07-11 12:12:19
|
Hello! When building jazz++ from the current CVS source, I'm getting the following error: g++ -DHAVE_CONFIG_H -I. -I. -I. -DJAZZ_DATADIR=\"/usr/local/share/jazz\" -I/usr/lib/wx/include/gtk-2.4 -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -g -O2 -c trackwin.cpp In file included from trackwin.cpp:67: audiodrv.h:41: error: parse error before `{' token audiodrv.h:45: error: destructors must be member functions audiodrv.h:45: error: virtual outside class declaration audiodrv.h:47: error: virtual outside class declaration audiodrv.h:48: error: virtual outside class declaration audiodrv.h:49: error: virtual outside class declaration audiodrv.h:50: error: virtual outside class declaration audiodrv.h:51: error: virtual outside class declaration audiodrv.h: In function `int Installed()': audiodrv.h:51: error: `installed' undeclared (first use this function) audiodrv.h:51: error: (Each undeclared identifier is reported only once for each function it appears in.) audiodrv.h:51: error: `tSeq2Player' undeclared (first use this function) audiodrv.h:51: error: parse error before `::' token audiodrv.h: At global scope: audiodrv.h:52: error: virtual outside class declaration audiodrv.h:52: error: non-member function `int GetAudioEnabled()' cannot have ` const' method qualifier audiodrv.h: In function `int GetAudioEnabled()': audiodrv.h:52: error: `audio_enabled' undeclared (first use this function) audiodrv.h: At global scope: audiodrv.h:53: error: virtual outside class declaration audiodrv.h:54: error: virtual outside class declaration audiodrv.h:55: error: virtual outside class declaration audiodrv.h:56: error: virtual outside class declaration audiodrv.h:56: error: non-member function `bool IsListening()' cannot have ` const' method qualifier audiodrv.h: In function `bool IsListening()': audiodrv.h:57: error: `listener' undeclared (first use this function) audiodrv.h: At global scope: audiodrv.h:59: error: virtual outside class declaration audiodrv.h:62: error: non-member function `int RecordMode()' cannot have `const ' method qualifier audiodrv.h:63: error: non-member function `int PlaybackMode()' cannot have ` const' method qualifier audiodrv.h: In function `int PlaybackMode()': audiodrv.h:64: error: `can_duplex' undeclared (first use this function) audiodrv.h: At global scope: audiodrv.h:67: error: parse error before `private' audiodrv.h:77: error: `int installed' used prior to declaration audiodrv.h:83: error: `int audio_enabled' used prior to declaration audiodrv.h:85: error: syntax error before `*' token audiodrv.h:89: error: parse error before `}' token make[1]: *** [trackwin.o] Error 1 make[1]: Leaving directory `/home/daten/tmp/jazz/src' make: *** [all-recursive] Error 1 I checked the source (it's the line "class tAudioPlayer : public tSeq2Player" and the following "{"), but everything seems to be alright, no idea what the problem is... Do you have an idea? Thank you very much! Thomas -- printk(KERN_ERR "ide: huh? queue was plugged!\n"); linux-2.6.6/drivers/ide/ide-io.c: |