[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Protux-devel] mustuxlib, --disable-alsa
From: |
Reinhard Amersberger |
Subject: |
[Protux-devel] mustuxlib, --disable-alsa |
Date: |
Thu, 7 Nov 2002 12:11:10 +0100 |
Hi,
since my notebook (Mdk 8.1, kde2) isn't able to load the alsa driver (but alsa
libs are installed) I want to compile libmustux without alsa support.
So i run './configure --with-QT2 --disable-alsa'.
But make stopped here
address@hidden libmustux-0.15.7]$ make
/bin/sh ./libtool --mode=compile c++
-DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib/qt2/include -I/usr/X11R6/include
-D_REENTRANT -O2 -fno-exceptions -fno-check-new -c MustuxApplication.cc
c++ -DHAVE_CONFIG_H -I. -I.
-I. -I/usr/lib/qt2/include -I/usr/X11R6/include -D_REENTRANT -O2
-fno-exceptions -fno-check-new -Wp,-MD,.deps/MustuxApplication.pp -c
MustuxApplication.cc -fPIC -DPIC -DPIC -o MustuxApplication.o
mv -f MustuxApplication.o MustuxApplication.lo
/bin/sh ./libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/lib/qt2/include -I/usr/X11R6/include -D_REENTRANT -O2 -fno-exceptions
-fno-check-new -c MustuxAudioDeviceMapper.cc
c++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib/qt2/include -I/usr/X11R6/include
-D_REENTRANT -O2 -fno-exceptions -fno-check-new
-Wp,-MD,.deps/MustuxAudioDeviceMapper.pp -c MustuxAudioDeviceMapper.cc -fPIC
-DPIC -DPIC -o MustuxAudioDeviceMapper.o
MustuxAudioDeviceMapper.cc: In function `int
MustuxAudioDeviceMapper::init (int, bool)':
MustuxAudioDeviceMapper.cc:37: `strdup' undeclared (first use this
function)
MustuxAudioDeviceMapper.cc:37: (Each undeclared identifier is reported
only once for each function it appears in.)
MustuxAudioDeviceMapper.cc:57: warning: no return statement in function
returning non-void
MustuxAudioDeviceMapper.cc: In function `int
MustuxAudioDeviceMapper::open_device (int, int, int, int)':
MustuxAudioDeviceMapper.cc:82: `O_WRONLY' undeclared (first use this
function)
MustuxAudioDeviceMapper.cc:82: `open' undeclared (first use this
function)
MustuxAudioDeviceMapper.cc:92: `O_RDONLY' undeclared (first use this
function)
MustuxAudioDeviceMapper.cc:133: `fragmentSizeInBlocks' undeclared
(first use this function)
MustuxAudioDeviceMapper.cc: In function `int
MustuxAudioDeviceMapper::play_frag (char *)':
MustuxAudioDeviceMapper.cc:259: `write' undeclared (first use this
function)
MustuxAudioDeviceMapper.cc: In function `int
MustuxAudioDeviceMapper::rec_frag (char *)':
MustuxAudioDeviceMapper.cc:284: `read' undeclared (first use this
function)
MustuxAudioDeviceMapper.cc: In function `int
MustuxAudioDeviceMapper::close_device ()':
MustuxAudioDeviceMapper.cc:317: `close' undeclared (first use this
function)
make: *** [MustuxAudioDeviceMapper.lo] Fehler 1
address@hidden libmustux-0.15.7]$
Ok, now I tried compiling with alsa support (./configure --with-QT2), but make
stopped here:
c++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/lib/qt2/include -I/usr/X11R6/include
-D_REENTRANT -O2 -fno-exceptions -fno-check-new -D_ALSA
-Wp,-MD,.deps/MustuxTuner.pp -c MustuxTuner.cc -fPIC -DPIC -DPIC -o
MustuxTuner.o
In file included from MustuxTuner.cc:11:
MustuxTuner.hh:37: parse error before `{'
MustuxTuner.hh:41: parse error before `private'
MustuxTuner.cc: In method `MustuxTuner::MustuxTuner (int, bool)':
MustuxTuner.cc:130: invalid use of undefined type `class ThListenLoop'
MustuxTuner.hh:36: forward declaration of `class ThListenLoop'
MustuxTuner.cc: In method `int MustuxTuner::start_listen ()':
MustuxTuner.cc:372: invalid use of undefined type `class ThListenLoop'
MustuxTuner.hh:36: forward declaration of `class ThListenLoop'
MustuxTuner.cc: In method `void MustuxTuner::force_stop_listen ()':
MustuxTuner.cc:392: invalid use of undefined type `class ThListenLoop'
MustuxTuner.hh:36: forward declaration of `class ThListenLoop'
MustuxTuner.cc: At top level:
MustuxTuner.cc:535: invalid use of undefined type `class ThListenLoop'
MustuxTuner.hh:36: forward declaration of `class ThListenLoop'
MustuxTuner.cc: In method `ThListenLoop::ThListenLoop (MustuxTuner *)':
MustuxTuner.cc:536: `tuner' undeclared (first use this function)
MustuxTuner.cc:536: (Each undeclared identifier is reported only once
for each function it appears in.)
MustuxTuner.cc: At top level:
MustuxTuner.cc:541: invalid use of undefined type `class ThListenLoop'
MustuxTuner.hh:36: forward declaration of `class ThListenLoop'
MustuxTuner.cc: In method `void ThListenLoop::run ()':
MustuxTuner.cc:542: `msleep' undeclared (first use this function)
make: *** [MustuxTuner.lo] Fehler 1
but now the mysterious part (remember ... this machine use qt2), because now I
do a './configure' without flags and compilation finished successfully!?!
I think this shouldn't work on qt2 machines?!?!
greetings
Reinhard
________________________________________________________________
Keine verlorenen Lotto-Quittungen, keine vergessenen Gewinne mehr!
Beim WEB.DE Lottoservice: http://tippen2.web.de/?x=13
- [Protux-devel] mustuxlib, --disable-alsa,
Reinhard Amersberger <=