alsa-driver compile problem with gcc-4.2.1 and linux-2.4

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

With alsa-driver 1.0.15rc1 and (at least) 1.0.14 I see
the following compile error:

[...]
make[1]: Entering directory `/work/alsa-driver-1.0.15rc1/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/work/alsa-driver-1.0.15rc1/include  -I/lib/modules/2.4.34.5-xss-std/build/include -O2 -mpreferred-stack-boundary=2 -march=i586 -Wdeclaration-after-statement -Wno-pointer-sign -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.34.5-xss-std/build/include/linux/modversions.h   -DEXPORT_SYMTAB -c hwdep.c
In file included from /work/alsa-driver-1.0.15rc1/include/sound/driver.h:46,
                 from hwdep.c:22:
/work/alsa-driver-1.0.15rc1/include/adriver.h:506: error: static declaration of 'devfs_find_and_unregister_Rsmp_5491333a' follows non-static declaration
/lib/modules/2.4.34.5-xss-std/build/include/linux/devfs_fs_kernel.h:79: error: previous declaration of 'devfs_find_and_unregister_Rsmp_5491333a' was here
make[1]: *** [hwdep.o] Error 1
make[1]: Leaving directory `/work/alsa-driver-1.0.15rc1/acore'
make: *** [compile] Error 1


This is with gcc-4.2.1 and linux-2.4.34.5 w/ devfs activated.

I tried to make a patch but failed so far: just removing
the "static" keyword from adriver.h:506 doesn't work as it
produces lots of duplicated symbols and the whole construct
is quite compicated to understand (for me, anyway ;-)

Any idea how to solve this problem?

- - andreas

- --
Andreas Haumer                     | mailto:andreas@xxxxxxxxx
*x Software + Systeme              | http://www.xss.co.at/
Karmarschgasse 51/2/20             | Tel: +43-1-6060114-0
A-1100 Vienna, Austria             | Fax: +43-1-6060114-71
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG4AKMxJmyeGcXPhERAmamAKCgHNdzwJbpNHqZCUN/JKLx8KzJngCfSoLc
tUVFW4UoVBYOwxs9JLer8Fg=
=hUUn
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
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