Hello again,

It seems that for "alsa-lib", a './configure 
--prefix=/path/to/installed/alsa-driver' is not enough to succeed at 'make'.

In the end,
'CFLAGS="-g -O2 -I/path/to/installed/alsa-driver/include ./configure 
--prefix=/path/to/installed/alsa-driver' will do.
The problem seems that a simple 
'CFLAGS=-I/path/to/installed/alsa-driver/include ./configure 
--prefix=...' will fail because the '-g -O2' flags are not added,
leaving optimization out, therefore running into the '__fswab' problem 
at make-time.

Now, only one thing leaves me curious.
I edited a modules.conf for a 'maestro3' and modprobed successfully.
Sound works so far (xmms), but I noticed that /proc/asound is missing.
I have /proc enabled in the kernel (linux-2.4.7), thus I'm wondering...
The /dev/snd is currently pointing to a missing /proc/asond.


Any idea?
Davide

-------- Original Message --------
Subject: [Alsa-user] compile --prefix problems
Date: Sun, 16 Sep 2001 00:58:18 +0200
From: "D. Manzella" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]

Hello,

I'm having problems compiling with --prefix= option.
When I try to 'make' in alsa-lib, it fails with

Making all in aserver
...

../src/.libs/libasound.so: undefined reference to `__fswab32'
collect2: ld returned 1 exit status


BTW: Even if './configure --prefix=' matches that of 'alsa-driver',
unless I set 'CFLAGS=${prefix}/include' the configure will fail, as
opposed to the suggestions within "INSTALL"...

Any hint?
Davide


_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user



_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to