yes, I got into this problem already. In one version the file "atomic.h" moved to "linux/atomic.h". Since you have an older kernel, the file is located at a different location. Please look into the file "urbs.h" and replace "linux/atomic.h" by "asm-generic/atomic.h" (or "asm/atomic.h", I'm not sure where it was located before).
Regards,
Torsten
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello All,
I get the following exception on compile the driver sources:
root@silent-m:/usr/src/alsa/sixfireusb-0.5.6# dpkg -l linux-header*Gewünscht=Unbekannt/Installieren/R=Entfernen/P=Vollständig Löschen/Halten
| Status=Nicht/Installiert/Config/U=Entpackt/halb konFiguriert/
Halb installiert/Trigger erWartet/Trigger anhängig
|/ Fehler?=(kein)/R=Neuinstallation notwendig (Status, Fehler: GROSS=schlecht)
||/ Name Version Beschreibung
+++-==============================-==============================-============================================================================
un linux-headers <keine> (keine Beschreibung vorhanden)
un linux-headers-2.6 <keine> (keine Beschreibung vorhanden)
ii linux-headers-2.6.32-5-686 2.6.32-46 Header files for Linux 2.6.32-5-686
ii linux-headers-2.6.32-5-common 2.6.32-46 Common header files for Linux 2.6.32-5
root@silent-m:/usr/src/alsa/sixfireusb-0.5.6# make
make CONFIG_DEBUG_SECTION_MISMATCH=y -C /lib/modules/2.6.32-5-686/build M=/usr/src/alsa/sixfireusb-0.5.6 modules
make[1]: Entering directory
/usr/src/linux-headers-2.6.32-5-686' CC [M] /usr/src/alsa/sixfireusb-0.5.6/chip.o In file included from /usr/src/alsa/sixfireusb-0.5.6/chip.c:22: /usr/src/alsa/sixfireusb-0.5.6/urbs.h:17:26: error: linux/atomic.h: Datei oder Verzeichnis nicht gefunden make[4]: *** [/usr/src/alsa/sixfireusb-0.5.6/chip.o] Fehler 1 make[3]: *** [_module_/usr/src/alsa/sixfireusb-0.5.6] Fehler 2 make[2]: *** [sub-make] Fehler 2 make[1]: *** [all] Fehler 2 make[1]: Leaving directory/usr/src/linux-headers-2.6.32-5-686'make: *** [all] Fehler 2
root@silent-m:/usr/src/alsa/sixfireusb-0.5.6# ls -l
insgesamt 172
-rw-r--r-- 1 mmu mmu 3371 28. Aug 23:47 CHANGES
-rw-r--r-- 1 mmu mmu 7092 30. Aug 09:48 chip.c
-rw-r--r-- 1 mmu mmu 1599 18. Jan 2012 chip.h
-rw-r--r-- 1 mmu mmu 4087 2. Nov 2011 comm.c
-rw-r--r-- 1 mmu mmu 1210 2. Nov 2011 comm.h
-rw-r--r-- 1 mmu mmu 754 2. Nov 2011 common.h
-rw-r--r-- 1 mmu mmu 17539 28. Aug 23:45 control.c
-rw-r--r-- 1 mmu mmu 1200 18. Jan 2012 control.h
-rw-r--r-- 1 mmu mmu 10647 22. Feb 2012 firmware.c
-rw-r--r-- 1 mmu mmu 640 2. Nov 2011 firmware.h
-rw-r--r-- 1 mmu mmu 15128 2. Nov 2011 GPL
-rw-r--r-- 1 mmu mmu 1303 2. Nov 2011 INSTALL
-rw-r--r-- 1 mmu mmu 775 22. Feb 2012 Makefile
-rw-r--r-- 1 mmu mmu 4991 2. Nov 2011 midi.c
-rw-r--r-- 1 mmu mmu 1119 2. Nov 2011 midi.h
-rw-r--r-- 1 mmu mmu 6851 18. Jan 2012 pcm.c
-rw-r--r-- 1 mmu mmu 774 2. Nov 2011 pcm.h
-rw-rw-r-- 1 mmu mmu 2686 18. Jan 2012 rates.h
-rw-r--r-- 1 mmu mmu 3185 18. Jan 2012 README
-rw-r--r-- 1 mmu mmu 19434 18. Jan 2012 substream.c
-rw-r--r-- 1 mmu mmu 2626 2. Nov 2011 substream.h
-rw-r--r-- 1 mmu mmu 18285 18. Jan 2012 urbs.c
-rw-r--r-- 1 mmu mmu 2505 2. Nov 2011 urbs.h
root@silent-m:/usr/src/alsa/sixfireusb-0.5.6#
</keine></keine>
Can anybody help me to fix the problem?
Thans,
Ciao:
GG ;-)
Hello,
yes, I got into this problem already. In one version the file "atomic.h" moved to "linux/atomic.h". Since you have an older kernel, the file is located at a different location. Please look into the file "urbs.h" and replace "linux/atomic.h" by "asm-generic/atomic.h" (or "asm/atomic.h", I'm not sure where it was located before).
Regards,
Torsten