Skip to contentSkip to conversation

: sb16: unable to compile driver and wrong build order

ALSA - driver 0001444 [email protected] 1 participant 1 message Sep 23, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been SUBMITTED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1444>
======================================================================

Reported By:                slashlos
Assigned To:                perex
======================================================================
Project:                    ALSA - driver
Issue ID:                   1444
Category:                   0_compilation problem_!!!
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
Distribution:               
Kernel Version:             2.4.20-31smp
======================================================================
Date Submitted:             09-23-2005 13:31 CEST
Last Modified:              09-23-2005 13:31 CEST

======================================================================
Summary: sb16: unable to compile driver and wrong build order
Description:
this this might be a noob issue, but the order suggested for build should be lib, util then driver; it seems driver needs some utils?

Anyhow, when trying to build driver, I get this:

gcc -D__KERNEL__ -DMODULE=1 -I/usr/src/alsa/alsa-driver-1.0.10rc1/include -I/lib/modules/2.4.20-31.9smp/build/include -O2 -mpreferred-stack-boundary=2 -march=i686 -D__SMP__ -DCONFIG_SMP -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -include /lib/modules/2.4.20-31.9smp/build/include/linux/modversions.h -I/usr/src/alsa/alsa-driver-1.0.10rc1/alsa-kernel/core/oss -fno-omit-frame-pointer -DEXPORT_SYMTAB -c mixer_oss.c mixer_oss.c:397: unknown field unlocked_ioctl' specified in initializer mixer_oss.c:397: warning: initialization from incompatible pointer type mixer_oss.c:398: unknown field compat_ioctl' specified in initializer make[2]: *** [mixer_oss.o] Error 1
make[2]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.10rc1/acore/oss'
make[1]: *** [_modsubdir_oss] Error 2
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.10rc1/acore'
make: *** [compile] Error 1

======================================================================

Issue History
Date Modified Username Field Change
======================================================================
09-23-05 13:31 slashlos New Issue
09-23-05 13:31 slashlos Kernel Version => 2.4.20-31smp
======================================================================

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php