[Ardour-Dev] Compiling 3.0 problem in gtk2_ardour/engine_dialog.o

David Robillard dave at drobilla.net
Wed Feb 18 09:17:24 PST 2009


On Wed, 2009-02-18 at 16:36 +0000, John Rigg wrote:
> On Wed, Feb 18, 2009 at 03:37:45PM +0100, Alessio Leonarduzzi wrote:
> > 2009/2/18 Jonathan Stowe <jns at its-going-to-be-fabulous.com>
> > 
> > > 2009/2/18 Alessio Leonarduzzi <alessio.leonarduzzi at gmail.com>:
> > > >>
> > > >> > gtk2_ardour/engine_dialog.o: In function
> > > >> > `EngineControl::enumerate_alsa_devices()':
> > > >> > engine_dialog.cc:(.text+0x42f8): undefined reference to
> > > >> > `snd_ctl_card_info_sizeof'
> > > >>
> > > >> That looks suspiciously like the alsa library isn't properly installed
> > > >> - you may need libasound-dev, alsa-dev or similar package (it is
> > > >> alsa-lib-devel here).
> > > >>
> > > >
> > > >
> > > > no, I have installed all these packages:
> > > >
> > > > alessio at desktop:~/Programmi/
> > > > ardour/3.0$ sudo apt-cache search alsa | grep dev
> > > > lib64asound2-dev - ALSA library development files (64 bit)
> > > > libasound2-dev - ALSA library development files
> > >
> > > ...
> > >
> > > >
> > > > but the compiling stop at the same point
> > > >
> > >
> > > I seem to recall having problems on a 64 bit platform before when I
> > > had both 64 bit and 32 bit development libraries installed. If you are
> > > building for a 64 bit platform then you should remove the
> > > libasound2-dev otherwise remove the lib64asound2-dev - the problem
> > > definitely is that it cannot find an appropriate libasound to link to.
> > >
> > > Unfortunately I don't have an ubuntu machine to test this on at the moment.
> > >
> > 
> > lib64asound2-dev isn't istalled... strange problem!
> 
> Why are 64 bit libraries needed when -march=i686 ?

-march=whatever alone will not make 32-bit binaries on a 64-bit system.

-dr





More information about the Ardour-Dev mailing list