At Fri, 07 Nov 2003 10:20:09 -0500,
Austin wrote:
> 
> On Wed, 2003-11-05 at 04:57, Takashi Iwai wrote:
> > At Tue, 04 Nov 2003 14:48:25 -0500,
> > Austin wrote:
> > > 
> > > Mandrake 9.2... gcc 3.3.1
> > > 
> > > i586-mandrake-linux-gnu-gcc -DPACKAGE=\"hdsploader\" -DVERSION=\"1.1\"
> > > -DSTDC_HEADERS=1 -DHAVE_LIBASOUND=1  -I. -I.     -O2
> > > -fomit-frame-pointer -pipe -march=i586 -mcpu=pentiumpro   -I/usr/include
> > > -c `test -f hdsploader.c || echo './'`hdsploader.c
> > > hdsploader.c: In function `upload_firmware':
> > > hdsploader.c:81: error: incompatible types in assignment
> > > make[1]: *** [hdsploader.o] Error 1
> > > 
> > > Thanks for any suggestions...
> > 
> > the firmware ioctl was changed recently.
> > give the configure option --with-soundbase=YOUR-ALSA-DRIVER-DIRECTORY
> > so that it points to the latest header files.
> 
> Oops, I lied; that didn't fix the problem.
> Using libalsa2-devel 0.9.8, and using
> --with-soundbase=/usr/include/alsa, I get the same error.

ok, in practice, there are two cases.

1. you have installed alsa-driver-0.9.8 manually.

   you should have /usr/include/sound files.  then you don't need
   no extra option for configure script.

   or, you can even specify the alsa-driver's include directory
   explicitly such as 

        --with-soundbase=/home/mine/alsa-driver-0.9.8/include

2. you built linux-2.6 and ALSA drivers in it.

   there is a configure option --with-kernel, such as

        --with-kernel=2.6.0-test9

   then the directory /lib/modules/2.6.0-test9/build/include/sound
   will be added to the search path.


Takashi


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to