hi Brandon,

Here is more info for you. I have RedHat 7.0 with Kernel 2.2.16-22 and a
ALS4000 sound. 

The fist time when I tried to do ./configure, it gave me the following error

loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for linux/fs.h... (cached) yes
checking for working const... (cached) yes
checking for inline... (cached) inline
checking whether time.h and sys/time.h may both be included... (cached) yes
checking whether gcc needs -traditional... (cached) no
checking for directory with kernel source... /usr/src/linux
checking for kernel version... failed (probably missing
/usr/src/linux/include/linux/version.h) 

I knew that the version.h is located in /usr/include/linux, so I did
ln -s /usr /usr/src/linux, then the ./configure worked with no errors, but I
got the compile error ( see email sent to Patrick Shirkey below)

-- John

--- Brandon Dorman <[EMAIL PROTECTED]> wrote:
> short answer:  Hmmm...
> 
>          Those errors look strange, I must say.  Try just   ./configure 
> --with-isapnp=yes --with-debug=detect   Maybe it will bypass the debug 
> errors.
>          You have to tar xlf the libs, then utils.  In fact, try unpacking 
> those and then configuring the drivers.  I don't think it will do anything 
> but ... ?
>          Maybe I missed this but what distribution do you have?  (Red Hat, 
> Debian, etc.)  Also what version.  I think it's like, "check ver" or 
> something like that.   "help version" might show something 
> too.  Anyway.  Just lemme know how not debugging does.
>          #1 is something related the the kernel.  It probably is turned 
> on.  Well, if it's Red Hat 7x like I have, I didn't have to do anything and 
> my sound works fine.  Keep me updated and I'll do the best I can.  If 
> nothing I've said works, I would say to post back to the list. (but they 
> can be kind of harsh to newbies.  I myself am still one.  I posted about my 
> sound problems like 3 weeks ago and it took about a week for anyone to
> reply.)
> 
> -Brandon
> math major at fresno.edu
> 
> 


Here is new information which was sent to Patrick.

hi Patrick Shirkey,

You last email really helped a lot. Thanks. Here is a new problem:

Compile error for RedHat 7.0 with Kernel 2.2.16-22 and a ALS4000 sound

Here is the setup in my computer:

(1) First check to see what modules have benn installed.

modprobe -l

Here's the relevant part from my setup

/lib/modules/2.2.16-22/ipv4/ip_masq_raudio.o
/lib/modules/2.2.16-22/misc/i810_audio.o
/lib/modules/2.2.16-22/usb/audio.o
/lib/modules/2.2.16-22/misc/sound.o
/lib/modules/2.2.16-22/misc/soundcore.o
/lib/modules/2.2.16-22/misc/soundlow.o


(2)try to compile lsa-driver-0.5.11.tar.bz2

tar xIf alsa-driver-0.5.11.tar.bz2
cd alsa-driver-0.5.11
./configure 
make

Here is the error part:
...
In file included from card-opti92x-cs4231.c:2:
card-opti92x-ad1848.c:150:68: warning: nothing can be pasted after this token
In file included from card-opti93x.c:3:
card-opti92x-ad1848.c:150:68: warning: nothing can be pasted after this token
make[2]: Leaving directory `/home/john/alsa/alsa-driver-0.5.11/cards'
make[1]: Leaving directory `/home/john/alsa/alsa-driver-0.5.11'
make[1]: Entering directory `/home/john/alsa/alsa-driver-0.5.11/kernel'
gcc   -DALSA_BUILD -D__KERNEL__ -O2  -DLINUX -Wall -Wstrict-prototypes
-fomit-frame-pointer -pipe -I/usr/src/linux/include -I.. -DEXPORT_SYMTAB -c
sound.c
In file included from ../include/driver.h:66,
                 from sound.c:23:
/usr/src/linux/include/linux/modversions.h:1:2: #error Modules should never use
kernel-headers system headers,
/usr/src/linux/include/linux/modversions.h:2:2: #error but headers from an
appropriate kernel-source
{standard input}: Assembler messages:
{standard input}:8: Warning: Ignoring changed section attributes for .modinfo
make[1]: *** [sound.o] Error 1
make[1]: Leaving directory `/home/john/alsa/alsa-driver-0.5.11/kernel'
make: *** [compile] Error 1


__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger. 
http://im.yahoo.com

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

Reply via email to