доброго времени суток, господа!

не совсем "про дебиан", ибо лишь косвенно ...
очень хочется cсобрать mp3blaster с поддержкой nas
поиски в гугле к сожалению не помогли 8)

apt-get source mp3blaster
<в debian/rules было добавлено --with-nas>
dpkg-buildpackage
<..skipped..>
Making all in nmixer
make[3]: Entering directory `/usr/src/mp3blaster-3.1.3/nmixer'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/ncurses -I. -I/usr/include    
-I/usr/X11R6/include -c nmixer.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/ncurses -I. -I/usr/include    
-I/usr/X11R6/include -c mixers.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/ncurses -I. -I/usr/include    
-I/usr/X11R6/include -c ossmixer.cc
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/ncurses -I. -I/usr/include    
-I/usr/X11R6/include -c nasmixer.cc
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/ncurses -I. -I/usr/include    
-g -O2 -c getopt.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/ncurses -I. -I/usr/include    
-g -O2 -c getopt1.c
rm -f libnmixer.a
ar cru libnmixer.a nmixer.o mixers.o ossmixer.o nasmixer.o getopt.o getopt1.o 
ranlib libnmixer.a
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/ncurses -I. -I/usr/include    
-I/usr/X11R6/include -c main.cc
c++  -I/usr/X11R6/include -static -L../mpegsound -L../nmixer -o nmixer  main.o 
-lnmixer -lncurses -lpthread -lm  -lpthread
../nmixer/libnmixer.a(nmixer.o)(.text+0x6d9): In function 
`NMixer::NMixerInit()':
: undefined reference to `NASMixer::NASMixer[in-charge](char const*, 
baseMixer*)'
collect2: ld returned 1 exit status
make[3]: *** [nmixer] Ошибка 1
make[3]: Leaving directory `/usr/src/mp3blaster-3.1.3/nmixer'
make[2]: *** [all-recursive] Ошибка 1
make[2]: Leaving directory `/usr/src/mp3blaster-3.1.3'
make[1]: *** [all-recursive-am] Ошибка 2
make[1]: Leaving directory `/usr/src/mp3blaster-3.1.3'
make: *** [build-stamp] Ошибка 2
<..END..>

может я чего недопонимаю, но ...

класс NASMixer описан в nmixer.h
"реализация" класса NASMixer в nasmixer.cc
в "путь поиска" для ld добавлен ../nmixer где лежит libnmixer.a
(что содержит mixers.o + nmixer.o + ossmixer.o + nasmixer.o + ...)

вылетаем на сборке бинарника nmixer, из-за того, что
в nmixer есть undefined reference на конструктор для NASMixer,
который собственно в nasmixer.o ... 

как все это "собрать" ???

надеюсь на подсказку сообщества, ибо в полнейшей растерянности.
заранее спасибо.

Ответить