[linux-audio-user] linuxsampler compilation problems

Pete Leigh pete.leigh at gmail.com
Mon Nov 14 10:40:41 EST 2005

On 14/11/05, Sampo Savolainen <v2 at iki.fi> wrote:
> On Sun, 2005-11-13 at 22:19 +0100, Carlos Pino wrote:

> >   Synthesizer.cpp:54:   instantiated from here
> > ../common/Resampler.h:142: error: memory input 2 is not directly addressable

> Are you compiling for x64 by any chance? The compiler error comes from a
> piece of inline assembly code.

Indeed, looking at Resampler.h, the code should only be reached
if both CONFIG_ASM and ARCH_X86 are set, and presumably the
ARCH_X86 is meant to cover the X86_64 case, since there's no
separate #define for that (that I could see).

However, I just compiled linuxsampler 0.3.3 on and for X86_64 yesterday,
and didn't run into this problem.. maybe it's a problem with the particular
compile platform cpu not having the required sse / mmx -type

In any case, linuxsampler's ./configure provides a --disable-asm
option, which may work round this problem, at the cost of some
wasted cpu-cycles.. might be worth a try for now?

- Pete.

More information about the Linux-audio-user mailing list