Re: [LAU] linuxsampler refuses to build a debian package

From: Robin Gareus <robin@email-addr-hidden>
Date: Fri Jul 15 2011 - 13:38:32 EEST

On 07/15/2011 11:25 AM, fred wrote:
> Hi list,
>
> when dpkg-buildpackage -rfakeroot -b on the 2205 svn revision, system
> says :
>
>
> libtool: link: ranlib .libs/liblinuxsampler.a
> libtool: link: rm -fr .libs/liblinuxsampler.lax .libs/liblinuxsampler.lax
> libtool: link: ( cd ".libs" && rm -f "liblinuxsampler.la" && ln -s
> "../liblinuxsampler.la" "liblinuxsampler.la" )
> i486-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -Wreturn-type
> -ffast-math -march=i486 -g -O2 -pthread -MT linuxsampler.o -MD -MP -MF
> .deps/linuxsampler.Tpo -c -o linuxsampler.o linuxsampler.cpp
> mv -f .deps/linuxsampler.Tpo .deps/linuxsampler.Po
> /bin/bash ../libtool --tag=CXX --mode=link i486-linux-gnu-g++
> -Wreturn-type -ffast-math -march=i486 -g -O2 -pthread -o linuxsampler
> linuxsampler.o liblinuxsampler.la -luuid
> libtool: link: i486-linux-gnu-g++ -Wreturn-type -ffast-math -march=i486
> -g -O2 -pthread -o .libs/linuxsampler linuxsampler.o
> ./.libs/liblinuxsampler.so -luuid -pthread -Wl,-rpath
> -Wl,/usr/lib/linuxsampler
> ./.libs/liblinuxsampler.so: undefined reference to
> `LinuxSampler::restart(LinuxSampler::yyparse_param_t*, int&)'
> ./.libs/liblinuxsampler.so: undefined reference to `yyparse(void*)'
> collect2: ld returned 1 exit status
> make[4]: *** [linuxsampler] Erreur 1
> make[4]: quittant le répertoire «
> /home/f/Downloads/svn_linuxsampler/linuxsampler/src »
> make[3]: *** [all-recursive] Erreur 1
> make[3]: quittant le répertoire «
> /home/f/Downloads/svn_linuxsampler/linuxsampler/src »
> make[2]: *** [all-recursive] Erreur 1
> make[2]: quittant le répertoire «
> /home/f/Downloads/svn_linuxsampler/linuxsampler »
> make[1]: *** [all] Erreur 2
> make[1]: quittant le répertoire «
> /home/f/Downloads/svn_linuxsampler/linuxsampler »
> make: *** [build-stamp] Erreur 2
> dpkg-buildpackage: erreur: debian/rules build a produit une erreur de
> sortie de type 2
>
> Any help appreciated,
> Fred

yyparse is a yacc or bison function - some "compiler-compiler/parser
generator" thingy usually invoked at compile time to create code.

Either you don't have yacc or bison installed (and the .deb packages
misses a dependency on it) OR you don't have a clean code checkout (and
the parser-code is not [re-] generated correctly).

Try `sudo apt-get install bison` and re-compile;
Also try again with a clean checkout (or clean up your source-folder
with sth. along the lines of 'rm `svn status | grep ?` ').

HTH,
robin
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Fri Jul 15 16:15:02 2011

This archive was generated by hypermail 2.1.8 : Fri Jul 15 2011 - 16:15:02 EEST