Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I try this method How to get EMU 1212m, EMU 1616m, or EMU 1010 to work with Ubuntu 12.10?

When I configure alsa-driver error occurs:

checking for kernel linux/version.h ... no The file /lib/modules/3.11.0-12-generic/build/include/INCLUDE_VERSION_H does not exist.

I try create link:

ln -s /usr/src/linux-headers-3.11.0-12-generic/include/generated/uapi/linux/version.h /usr/src/linux-headers-3.11.0-12-generic/include/linux/version.h

configure - OK make - many errors :(

CC [M]  /home/dshubin/tmp/alsa-driver-1.0.25/acore/hwdep.o
In file included from /home/dshubin/tmp/alsa-driver-1.0.25/acore/hwdep.c:1:0:
/home/dshubin/tmp/alsa-driver-1.0.25/include/adriver.h:293:0: warning: "GFP_DMA32" redefined [enabled by default]
 #define GFP_DMA32 0  /* driver must check for 32-bit address */
 ^
In file included from include/linux/kmod.h:22:0,
                 from include/linux/module.h:13,
                 from /home/dshubin/tmp/alsa-driver-1.0.25/include/adriver.h:63,
                 from /home/dshubin/tmp/alsa-driver-1.0.25/acore/hwdep.c:1:
include/linux/gfp.h:154:0: note: this is the location of the previous definition
 #define GFP_DMA32 __GFP_DMA32
 ^
In file included from /home/dshubin/tmp/alsa-driver-1.0.25/acore/hwdep.c:1:0:
/home/dshubin/tmp/alsa-driver-1.0.25/include/adriver.h:752:28: error: static declaration of ‘jiffies_to_msecs’ follows non-static declaration
 static inline unsigned int jiffies_to_msecs(const unsigned long j)
                            ^
In file included from include/linux/ktime.h:25:0,
                 from include/linux/timer.h:5,
                 from include/linux/workqueue.h:8,
                 from include/linux/srcu.h:34,
                 from include/linux/notifier.h:15,
                 from include/linux/memory_hotplug.h:6,
                 from include/linux/mmzone.h:797,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /home/dshubin/tmp/alsa-driver-1.0.25/include/adriver.h:63,
                 from /home/dshubin/tmp/alsa-driver-1.0.25/acore/hwdep.c:1:
include/linux/jiffies.h:295:21: note: previous declaration of ‘jiffies_to_msecs’ was here
 extern unsigned int jiffies_to_msecs(const unsigned long j);
                     ^
...
/home/dshubin/tmp/alsa-driver-1.0.25/acore/hwdep.c:333:2: error: implicit declaration of function ‘lock_kernel’ [-Werror=implicit-function-declaration]

Any ideas?

share|improve this question
    
You do not need to update your kernel (and the 1.0.25 alsa-driver package is way older than your kernel). What is your actual problem? –  CL. Oct 19 '13 at 10:27
    
EMU 1212m is not defined. List of audio devices is empty. –  user204399 Oct 19 '13 at 11:31
    
When you unload and reload the snd-emu10k1 module, are there any messages in the system log? –  CL. Oct 19 '13 at 14:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.