[alsa-devel] 1.0.16rc1 release -- error: ‘system_utsname’ undeclared

Rick Measham rick at measham.id.au
Thu Jan 24 13:14:46 CET 2008


Takashi Iwai wrote:
> Nevermind, I myself can confirm that it's broken.
> The patch below should fix the problem.

I've grabbed hg and tried to apply the patch, but the line to be patched 
reads:
CFLAGS="$KERNEL_CHECK_CFLAGS"

So I changed it by hand to include the patched version:
CFLAGS="$KERNEL_CHECK_CFLAGS -Werror=implicit-function-declaration"

Which got me past the previous problem. However, hgcompile errors during 
make on alsa-driver/pci/ice1712/prodigy_hifi.o -- which I don't need. So 
once it errored, I ran:

./configure -with-cards=hda-intel --with-sequencer=yes

Which then had no problems with configure; make; make install.

I then ran hgcompile and 'make install' on alsa-lib and alsa-utils.

All fine.

But then when I went to restart alsa all hell broke loose!

# /etc/init.d/alsasound restart
Shutting down sound driver: done
Starting sound driver: snd-hda-intel FATAL: Error inserting snd 
(/lib/modules/2.6.20-16-386/kernel/sound/acore/snd.ko): Unknown symbol 
in module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd
WARNING: Error inserting snd_hwdep 
(/lib/modules/2.6.20-16-386/kernel/sound/acore/snd-hwdep.ko): Unknown 
symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer 
(/lib/modules/2.6.20-16-386/kernel/sound/acore/snd-timer.ko): Unknown 
symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd 
(/lib/modules/2.6.20-16-386/kernel/sound/acore/snd.ko): Unknown symbol 
in module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd
WARNING: Error inserting snd_timer 
(/lib/modules/2.6.20-16-386/kernel/sound/acore/snd-timer.ko): Unknown 
symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm 
(/lib/modules/2.6.20-16-386/kernel/sound/acore/snd-pcm.ko): Unknown 
symbol in module, or unknown parameter (see dmesg)
WARNING: Error running install command for snd_pcm
FATAL: Error inserting snd_hda_intel 
(/lib/modules/2.6.20-16-386/kernel/sound/pci/hda/snd-hda-intel.ko): 
Unknown symbol in module, or unknown parameter (see dmesg)
done


So as it suggested, I checked dmesg:

[96738.292000] snd: Unknown symbol pm_unregister
[96738.300000] snd_hwdep: Unknown symbol snd_info_register
[96738.300000] snd_hwdep: Unknown symbol snd_info_create_module_entry
[96738.300000] snd_hwdep: Unknown symbol snd_info_free_entry
[96738.300000] snd_hwdep: Unknown symbol snd_unregister_oss_device
[96738.300000] snd_hwdep: Unknown symbol snd_verbose_printk
[96738.300000] snd_hwdep: Unknown symbol snd_register_oss_device
[96738.300000] snd_hwdep: Unknown symbol snd_ctl_register_ioctl
[96738.300000] snd_hwdep: Unknown symbol snd_card_file_add
[96738.300000] snd_hwdep: Unknown symbol snd_iprintf
[96738.300000] snd_hwdep: Unknown symbol snd_major
[96738.300000] snd_hwdep: Unknown symbol snd_unregister_device
[96738.300000] snd_hwdep: Unknown symbol snd_device_new
[96738.300000] snd_hwdep: Unknown symbol snd_ctl_unregister_ioctl
[96738.300000] snd_hwdep: Unknown symbol snd_lookup_oss_minor_data
[96738.300000] snd_hwdep: Unknown symbol snd_lookup_minor_data
[96738.300000] snd_hwdep: Unknown symbol snd_card_file_remove
[96738.300000] snd_hwdep: Unknown symbol snd_register_device_for_dev
[96738.304000] snd_timer: Unknown symbol snd_info_register
[96738.304000] snd_timer: Unknown symbol snd_info_create_module_entry
[96738.304000] snd_timer: Unknown symbol snd_info_free_entry
[96738.304000] snd_timer: Unknown symbol snd_verbose_printk
[96738.304000] snd_timer: Unknown symbol snd_iprintf
[96738.304000] snd_timer: Unknown symbol snd_ecards_limit
[96738.304000] snd_timer: Unknown symbol snd_oss_info_register
[96738.304000] snd_timer: Unknown symbol snd_unregister_device
[96738.304000] snd_timer: Unknown symbol snd_device_new
[96738.304000] snd_timer: Unknown symbol snd_register_device_for_dev
[96738.344000] snd: Unknown symbol pm_unregister
[96738.344000] snd_timer: Unknown symbol snd_info_register
[96738.344000] snd_timer: Unknown symbol snd_info_create_module_entry
[96738.344000] snd_timer: Unknown symbol snd_info_free_entry
[96738.344000] snd_timer: Unknown symbol snd_verbose_printk
[96738.344000] snd_timer: Unknown symbol snd_iprintf
[96738.344000] snd_timer: Unknown symbol snd_ecards_limit
[96738.344000] snd_timer: Unknown symbol snd_oss_info_register
[96738.344000] snd_timer: Unknown symbol snd_unregister_device
[96738.344000] snd_timer: Unknown symbol snd_device_new
[96738.344000] snd_timer: Unknown symbol snd_register_device_for_dev
[96738.348000] snd_pcm: Unknown symbol snd_info_register
[96738.348000] snd_pcm: Unknown symbol snd_info_create_module_entry
[96738.348000] snd_pcm: Unknown symbol snd_timer_notify
[96738.348000] snd_pcm: Unknown symbol snd_timer_interrupt
[96738.348000] snd_pcm: Unknown symbol snd_info_free_entry
[96738.348000] snd_pcm: Unknown symbol snd_add_device_sysfs_file
[96738.348000] snd_pcm: Unknown symbol snd_info_get_str
[96738.348000] snd_pcm: Unknown symbol snd_verbose_printk
[96738.348000] snd_pcm: Unknown symbol snd_ctl_register_ioctl
[96738.348000] snd_pcm: Unknown symbol snd_card_file_add
[96738.348000] snd_pcm: Unknown symbol snd_iprintf
[96738.348000] snd_pcm: Unknown symbol snd_major
[96738.348000] snd_pcm: Unknown symbol snd_unregister_device
[96738.348000] snd_pcm: Unknown symbol snd_timer_new
[96738.348000] snd_pcm: Unknown symbol snd_device_new
[96738.348000] snd_pcm: Unknown symbol snd_ctl_unregister_ioctl
[96738.348000] snd_pcm: Unknown symbol snd_lookup_minor_data
[96738.348000] snd_pcm: Unknown symbol snd_info_create_card_entry
[96738.348000] snd_pcm: Unknown symbol snd_power_wait
[96738.348000] snd_pcm: Unknown symbol snd_device_free
[96738.348000] snd_pcm: Unknown symbol snd_card_file_remove
[96738.348000] snd_pcm: Unknown symbol snd_register_device_for_dev
[96738.348000] snd_pcm: Unknown symbol snd_device_register
[96738.348000] snd_pcm: Unknown symbol snd_info_get_line
[96738.356000] snd_hda_intel: Unknown symbol snd_ctl_add
[96738.356000] snd_hda_intel: Unknown symbol snd_pcm_new
[96738.356000] snd_hda_intel: Unknown symbol snd_pcm_limit_hw_rates
[96738.356000] snd_hda_intel: Unknown symbol snd_card_register
[96738.356000] snd_hda_intel: Unknown symbol snd_card_free
[96738.356000] snd_hda_intel: Unknown symbol 
snd_pcm_lib_preallocate_pages_for_all
[96738.356000] snd_hda_intel: Unknown symbol snd_card_proc_new
[96738.356000] snd_hda_intel: Unknown symbol snd_ctl_find_id
[96738.356000] snd_hda_intel: Unknown symbol snd_verbose_printk
[96738.356000] snd_hda_intel: Unknown symbol snd_ctl_new1
[96738.356000] snd_hda_intel: Unknown symbol snd_component_add
[96738.356000] snd_hda_intel: Unknown symbol snd_card_new
[96738.356000] snd_hda_intel: Unknown symbol snd_iprintf
[96738.356000] snd_hda_intel: Unknown symbol snd_pcm_lib_malloc_pages
[96738.356000] snd_hda_intel: Unknown symbol snd_ctl_boolean_mono_info
[96738.356000] snd_hda_intel: Unknown symbol snd_pcm_lib_ioctl
[96738.356000] snd_hda_intel: Unknown symbol snd_pcm_lib_free_pages
[96738.356000] snd_hda_intel: Unknown symbol snd_hwdep_new
[96738.356000] snd_hda_intel: Unknown symbol snd_pcm_set_ops
[96738.356000] snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_list
[96738.356000] snd_hda_intel: Unknown symbol snd_device_new
[96738.356000] snd_hda_intel: Unknown symbol snd_pcm_suspend_all
[96738.356000] snd_hda_intel: Unknown symbol snd_card_disconnect
[96738.356000] snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_integer
[96738.356000] snd_hda_intel: Unknown symbol snd_pci_quirk_lookup
[96738.356000] snd_hda_intel: Unknown symbol snd_pcm_period_elapsed
[96738.356000] snd_hda_intel: Unknown symbol snd_pcm_hw_constraint_step
[96738.356000] snd_hda_intel: Unknown symbol snd_pcm_format_width

So it looks like I've done something fairly wrong somewhere :-D

I had this problem with I only configured for hda-intel with another 
release (I can't remember which) but it went away if I didn't specify 
any parameters to 'configure'.

Unfortunately, I can't do that while 
alsa-driver/pci/ice1712/prodigy_hifi.o is erroring during the make:

   [-- lots snipped --]
   CC [M]  /usr/src/alsa/alsa-driver/pci/ice1712/aureon.o
   CC [M]  /usr/src/alsa/alsa-driver/pci/ice1712/vt1720_mobo.o
   CC [M]  /usr/src/alsa/alsa-driver/pci/ice1712/pontis.o
   CC [M]  /usr/src/alsa/alsa-driver/pci/ice1712/prodigy192.o
make[4]: *** No rule to make target 
`/usr/src/alsa/alsa-driver/pci/ice1712/prodigy_hifi.o', needed by 
`/usr/src/alsa/alsa-driver/pci/ice1712/snd-ice1712.o'.  Stop.
make[3]: *** [/usr/src/alsa/alsa-driver/pci/ice1712] Error 2
make[2]: *** [/usr/src/alsa/alsa-driver/pci] Error 2
make[1]: *** [_module_/usr/src/alsa/alsa-driver] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-16-386'
make: *** [compile] Error 2

Any chance of further help? I'm concerned that I might be taking your 
time away from dev work to fix some obscurity ..

Cheers!
Rick Measham

P.S. Would you prefer that I put outputs into a pastebin and just 
include links?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3241 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20080124/12c9fe3f/attachment.bin 


More information about the Alsa-devel mailing list