OK, my alsa driver fails to compile with the following Errors:
CC [M] /usr/src/modules/alsa-driver/kbuild/../pci/hdspm.o
/usr/src/modules/alsa-driver/pci/hdspm.c: In function `snd_hdspm_hwdep_ioctl':
/usr/src/modules/alsa-driver/pci/hdspm.c:3298: error: case label does not
reduce to an integer constant
make[6]: *** [/usr/src/modules/alsa-driver/kbuild/../pci/hdspm.o] Error 1
make[5]: *** [/usr/src/modules/alsa-driver/kbuild/../pci] Error 2
make[4]: *** [/usr/src/modules/alsa-driver/kbuild] Error 2
make[4]: Leaving directory `/usr/src/kernel-source-2.6.3-ben2'
make[3]: *** [compile] Error 2
make[3]: Leaving directory `/usr/src/modules/alsa-driver'
make[2]: *** [build-stamp] Error 2
make[2]: Leaving directory `/usr/src/modules/alsa-driver'
make[1]: *** [kdist_image] Error 2
make[1]: Leaving directory `/usr/src/modules/alsa-driver'
Module /usr/src/modules/alsa-driver failed.
Hit return to Continue
Insight?
Quoting Kiko Piris <[EMAIL PROTECTED]>:
> On 27/02/2004 at 15:39, Wolfgang Pfeiffer wrote:
>
> > ... yo, but generally, and as it seems, it's not such a good idea to
> > compile in /usr/src/ ... if I may intervene ... :)
>
> Uh?
>
> If you add the user you use to compile to src group. There is no problem
> at all to compile things there as such user (wich isn't root, of
> course).
>
> --
> Kiko
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>