Re: Help about multilib
ok the adventure goes ahead :) The package depends on libasound2-dev.
But aptitude, of course, installed amd64 release. How can I install
instead 32bits release? Because now, I get:
gcc -ggdb -I/opt/IBM/ibmtts/inc -lasound -libmeci -m32 ttsynth.c -o
spk-connect-ttsynth In file included from
ttsynth.c:9: /opt/IBM/ibmtts/inc/eci.h:366: warning: useless storage
class specifier in empty declaration /usr/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libasound.so
when searching for -lasound /usr/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-linux-gnu/4.3.2/../../../libasound.a
when searching for -lasound /usr/bin/ld: skipping
incompatible /usr/bin/../lib/libasound.so when searching for
-lasound /usr/bin/ld: skipping incompatible /usr/bin/../lib/libasound.a
when searching for -lasound /usr/bin/ld: skipping
incompatible /usr/lib/libasound.so when searching for
-lasound /usr/bin/ld: skipping incompatible /usr/lib/libasound.a when
searching for -lasound /usr/bin/ld: cannot find -lasound collect2: ld
returned 1 exit status make: Makefile ttsynth.c [spk-connect-ttsynth]
Erreur 1
Thanks for your help, about an interesting matter for me, but... complex
as I don't know anything in code.
Sincerely,
Jean-Philippe MENGUAL
Le dimanche 26 septembre 2010 à 15:43 +0200, Samuel Thibault a écrit :
> Jean-Philippe MENGUAL, le Sun 26 Sep 2010 15:37:58 +0200, a écrit :
> > ttsynth.c:1: /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No
> > such file or directory
>
> > So I've to install (aptitude and apt-file say):
> > gcc-4.3-multilib, gcc-multilib lib32gomp1, libc6-dev-i386
>
> Yep.
>
> > Question: is it dangerous?
>
> No.
>
> > won't overwrite/break/damage my existing toolchain?
>
> In Debian, no package can overwrite other packages' files. The files
> installed by the packages above are only enabled when you pass -m32.
>
> > will I be able to remove it later?
>
> Yes.
>
> > And especially, will I be able to run the resulting binary on my
> > 64bits system as I run viavoice?
>
> Yes.
>
> > Or at least I hope these packages are installed in /opt or /emul...
>
> They install their files in /usr/lib32
>
> Samuel
>
>
Reply to: