Responder 
 
Avaliação do Tópico:
  • 0 Votos - 0 Média
  • 1
  • 2
  • 3
  • 4
  • 5
Erro ao instalar mustux...
22/09/2007, 15:59
Resposta: #1
Erro ao instalar mustux...
Aí pessoal, to tentando instalar a biblioteca mustux e tá dando esse erro no make: (obs: tô mandando a saída do ./configure e do make...)

debian:/home/fabio/Desktop/libmustux-0.20.1# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking for ranlib... (cached) ranlib
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... found.
checking for snd_ctl_open in -lasound... yes
checking for moc... /usr/bin/moc
checking for libqt-mt.so... /usr/lib/libqt-mt.so
checking for QT headers... /usr/include/qt3
checking if a small qt application compiles and links fine... ok
checking for Ogg... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mustux-config
config.status: creating config.h
config.status: executing depfiles commands
debian:/home/fabio/Desktop/libmustux-0.20.1# make
make all-am
make[1]: Entrando no diretório `/home/fabio/Desktop/libmustux-0.20.1'
if /bin/sh ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/qt3 -DQT_THREAD_SUPPORT -D_REENTRANT -D_ALSA -g -O2 -MT MustuxApplication.lo -MD -MP -MF ".deps/MustuxApplication.Tpo" \
-c -o MustuxApplication.lo `test -f 'MustuxApplication.cc' || echo './'`MustuxApplication.cc; \
then mv -f ".deps/MustuxApplication.Tpo" ".deps/MustuxApplication.Plo"; \
else rm -f ".deps/MustuxApplication.Tpo"; exit 1; \
fi
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/qt3 -DQT_THREAD_SUPPORT -D_REENTRANT -D_ALSA -g -O2 -MT MustuxApplication.lo -MD -MP -MF .deps/MustuxApplication.Tpo -c MustuxApplication.cc -fPIC -DPIC -o .libs/MustuxApplication.o
g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/qt3 -DQT_THREAD_SUPPORT -D_REENTRANT -D_ALSA -g -O2 -MT MustuxApplication.lo -MD -MP -MF .deps/MustuxApplication.Tpo -c MustuxApplication.cc -o MustuxApplication.o >/dev/null 2>&1
if /bin/sh ./libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/qt3 -DQT_THREAD_SUPPORT -D_REENTRANT -D_ALSA -g -O2 -MT MustuxAudioDeviceMapper.lo -MD -MP -MF ".deps/MustuxAudioDeviceMapper.Tpo" \
-c -o MustuxAudioDeviceMapper.lo `test -f 'MustuxAudioDeviceMapper.cc' || echo './'`MustuxAudioDeviceMapper.cc; \
then mv -f ".deps/MustuxAudioDeviceMapper.Tpo" ".deps/MustuxAudioDeviceMapper.Plo"; \
else rm -f ".deps/MustuxAudioDeviceMapper.Tpo"; exit 1; \
fi
g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/qt3 -DQT_THREAD_SUPPORT -D_REENTRANT -D_ALSA -g -O2 -MT MustuxAudioDeviceMapper.lo -MD -MP -MF .deps/MustuxAudioDeviceMapper.Tpo -c MustuxAudioDeviceMapper.cc -fPIC -DPIC -o .libs/MustuxAudioDeviceMapper.o
MustuxAudioDeviceMapper.hh:163: error: explicit qualification in declaration of 'snd_pcm_format_t MustuxAudioDeviceMapper::get_format(int)'
make[1]: ** [MustuxAudioDeviceMapper.lo] Erro 1
make[1]: Saindo do diretório `/home/fabio/Desktop/libmustux-0.20.1'
make: ** [all] Erro 2
debian:/home/fabio/Desktop/libmustux-0.20.1#

O que devo fazer para resolver isso? Desde já agradeço.Abraço...
Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
25/09/2007, 17:43
Resposta: #2
 
Edite o arquivo:
$ mcedit MustuxAudioDeviceMapper.hh

localize e altere a linha:

snd_pcm_format_t MustuxAudioDeviceMapper::get_format(int bitDepht);

para :
snd_pcm_format_t get_format(int bitDepht);

"Na caixa dizia: Requer MS Windows ou superior, então eu instalei Debian/GNU
Linux!"

.
Antes de postar use a busca e veja o Wiki.
Busca do FD
Wiki do FD
Visitar o website do usuário Encontrar todas as respostas deste usuário
Citar esta mensagem em uma resposta
Responder 


Ir ao Fórum:


Usuários visualizando este tópico: 1 Visitantes

Entre em Contato | Fórum Debian | Voltar ao Topo | Voltar ao Conteúdo | Modo Leve (Arquivo) | Feeds RSS