Tue 20 May 2003 06:06:00 PM UTC, comment #1:
I have this EXACT SAME PROBLEM :(
It seems when ./configure 'ng protux, it cannot compile the test program it does when 'looking' to see if mustux is installed. It fails with this in the config.log:
configure:7306: checking for mustux.h
configure:7316: gcc -E -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/lib/qt3/include -L/usr/lib/qt3/lib conftest.c >/dev/null 2>conftest.out
In file included from /usr/lib/qt3/include/qwindowdefs.h:44,
from /usr/lib/qt3/include/qwidget.h:42,
from /usr/lib/qt3/include/qdesktopwidget.h:40,
from /usr/lib/qt3/include/qapplication.h:42,
from /usr/include/libmustux/MustuxApplication.hh:14,
from /usr/include/mustux.h:12,
from configure:7312:
/usr/lib/qt3/include/qstring.h:46:18: string: No such file or directory
In file included from /usr/lib/qt3/include/qmap.h:46,
from /usr/lib/qt3/include/qmime.h:43,
from /usr/lib/qt3/include/qevent.h:45,
from /usr/lib/qt3/include/qobject.h:45,
from /usr/lib/qt3/include/qwidget.h:43,
from /usr/lib/qt3/include/qdesktopwidget.h:40,
from /usr/lib/qt3/include/qapplication.h:42,
from /usr/include/libmustux/MustuxApplication.hh:14,
from /usr/include/mustux.h:12,
from configure:7312:
/usr/lib/qt3/include/qvaluelist.h:48:20: iterator: No such file or directory
/usr/lib/qt3/include/qvaluelist.h:49:16: list: No such file or directory
In file included from /usr/lib/qt3/include/qmime.h:43,
from /usr/lib/qt3/include/qevent.h:45,
from /usr/lib/qt3/include/qobject.h:45,
from /usr/lib/qt3/include/qwidget.h:43,
from /usr/lib/qt3/include/qdesktopwidget.h:40,
from /usr/lib/qt3/include/qapplication.h:42,
from /usr/include/libmustux/MustuxApplication.hh:14,
from /usr/include/mustux.h:12,
from configure:7312:
/usr/lib/qt3/include/qmap.h:50:20: iterator: No such file or directory
/usr/lib/qt3/include/qmap.h:51:15: map: No such file or directory
configure: failed program was:
#line 7311 "configure"
#include "confdefs.h"
#include <mustux.h>
configure:7343: checking for MustuxApplication in -lmustux
configure:7362: gcc -o conftest -DNDEBUG -O2 -DQT_THREAD_SUPPORT -D_REENTRANT conftest.c -L/usr/lib/qt3/lib -L/usr/lib -lqt-mt -lmustux -lpthread -lm 1>&5
/tmp/ccATuxey.o: In function `main':
/tmp/ccATuxey.o(.text+0xa): undefined reference to `MustuxApplication'
/usr/lib/libmustux.so: undefined reference to `vtable for MustuxJogMouseBoard'
/usr/lib/libmustux.so: undefined reference to `vtable for MustuxTuner'
/usr/lib/libmustux.so: undefined reference to `vtable for MustuxLcd'
collect2: ld returned 1 exit status
configure: failed program was:
#line 7351 "configure"
I had to modify the configure script and add the location for qt libs and includes, as it doesn't properly take those into account and fails. I also don't understand why those funky errors about qt include - I don't normally have any problems at all compiling kde or qt progs. As to the undefined references in libmustux, you tell me. It is the same release as protux (both are 0.16.0).
I can just manually override the detection and define mustux include and libmustux in the config.h, and then it will compile up to the 'rewind' error then it stops.
Too bad since protux looks very nice :(
KDE 3.1/QT 3.1.1
Alsa 0.93
glibc 2.3.2
linux kernel 2.4.20-ck6
If anyone knows how to fix, please email me:
hardedged(<at>)excite.com
TYIA!
|
Sat 22 Feb 2003 03:27:57 PM UTC, original submission:
I allways get the following error when compiling any verion of protux (0.16, 0.17, latest cvs) - libmustux compiles and installs fine, tried all verions of libmustux from 0.16 to latest cvs. I'm using SuSE 8.1, KDE3.1/ QT 3.1.1, ALSA 0.90rc7.
Audio.cc:69: `rewind' undeclared in namespace `std'
Audio.cc:101: `rewind' undeclared in namespace `std'
make[3]: *** [Audio.o] Fehler 1
make[3]: Verlassen des Verzeichnisses »/store/Download/protux/protux/src«
make[2]: *** [all-recursive] Fehler 1
|