kernel 2.4.26 and alsa-driver 1.0.13!!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everybody!

I got this error when compiling the alsa-driver 1.0.13 onto kernel 2.4.26:

make  -C emu10k1 modules
make[2]: Entering directory
`/root/advancecd-2.6.2/alsa-driver-1.0.13/pci/emu10k1'
make[2]: Circular dependence io.c <- io.c abandoned.
/usr/bin/gcc-2.96 -D__KERNEL__ -DMODULE=1
-I/root/advancecd-2.6.2/alsa-driver-1.0.13/include 
-I/root/advancecd-2.6.2/linux-2.4.26/include
-I/root/advancecd-2.6.2/linux-2.4.26/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  -DKBUILD_BASENAME=io   -c -o io.o io.c
In file included from io.c:2:
../../alsa-kernel/pci/emu10k1/io.c:65: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
../../alsa-kernel/pci/emu10k1/io.c:65: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
../../alsa-kernel/pci/emu10k1/io.c:65: warning: data definition has no
type or storage class
../../alsa-kernel/pci/emu10k1/io.c:97: parse error before
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
../../alsa-kernel/pci/emu10k1/io.c:97: warning: type defaults to `int' in
declaration of
`this_object_must_be_defined_as_export_objs_in_the_Makefile'
../../alsa-kernel/pci/emu10k1/io.c:97: warning: data definition has no
type or storage class
make[2]: ** [io.o] Error 1
make[2]: Leaving directory
`/root/advancecd-2.6.2/alsa-driver-1.0.13/pci/emu10k1'
make[1]: ** [_modsubdir_emu10k1] Error 2
make[1]: Leaving directory `/root/advancecd-2.6.2/alsa-driver-1.0.13/pci'
make: ** [compile] Error 1
[root@milanez alsa-driver-1.0.13]#

So, the problem is inside the io.c file. There are two declarations (line 65
and 97, export declarations), that I commented and, It works.
But when I updated the kernel dependencies, I got a problem with these
unresolved symbols.

Somebody knows how to do a better fix?

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.22/666 - Release Date: 3/2/2007
15:31
 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux