From: Rick Measham <rick@measham.id.au>
To: Takashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Subject: Re: 1.0.16rc1 release -- error: ‘system_utsname’ undeclared
Date: Thu, 24 Jan 2008 23:14:46 +1100 [thread overview]
Message-ID: <47988136.4030307@measham.id.au> (raw)
In-Reply-To: <s5hsl0pt2uj.wl%tiwai@suse.de>
[-- Attachment #1.1: Type: text/plain, Size: 9023 bytes --]
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?
[-- Attachment #1.2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3241 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2008-01-24 12:14 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-22 11:49 1.0.16rc1 release Jaroslav Kysela
2008-01-22 16:23 ` James Pearson
2008-01-22 16:50 ` Takashi Iwai
2008-01-22 17:15 ` James Pearson
2008-01-22 17:20 ` Takashi Iwai
2008-01-22 17:39 ` James Pearson
2008-01-22 17:56 ` Tobin Davis
2008-01-22 19:25 ` 1.0.16rc1 release -- error: ‘system_utsname’ undeclared Rick Measham
2008-01-23 7:03 ` Takashi Iwai
2008-01-23 7:31 ` Takashi Iwai
2008-01-24 12:14 ` Rick Measham [this message]
2008-01-24 13:24 ` Takashi Iwai
2008-01-24 21:12 ` 1.0.16rc1 release -- error: 'system_utsname' undeclared Rick Measham
2008-01-25 8:03 ` Takashi Iwai
[not found] ` <4799CC9B.9050809@measham.id.au>
2008-01-25 12:10 ` Takashi Iwai
2008-01-25 13:33 ` Rick Measham
2008-01-25 13:48 ` Takashi Iwai
2008-01-25 13:51 ` Rick Measham
2008-01-25 14:19 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2008-01-24 10:40 1.0.16rc1 release -- error: ‘system_utsname’ undeclared Brad Milne
2008-01-24 10:58 ` Takashi Iwai
2008-01-24 11:18 ` Brad Milne
2008-01-24 11:23 ` Takashi Iwai
[not found] ` <20ddc5da0801240330k39359a00id920cb4d20115a9b@mail.gmail.com>
2008-01-24 11:36 ` Takashi Iwai
2008-01-24 11:52 ` Brad Milne
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47988136.4030307@measham.id.au \
--to=rick@measham.id.au \
--cc=alsa-devel@alsa-project.org \
--cc=tiwai@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.