Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4872 - Alsa build error
Summary: Alsa build error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Arcady Genkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-11 11:39 UTC by Chris Moore
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Moore 2002-07-11 11:39:25 UTC
gcc -DALSA_BUILD -D__KERNEL__ -DMODULE=1
-I/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include
-I/usr/src/linux/include -O2 -mpreferred-stack-boundary=2 -march=i686 -DLINUX
-Wall -Wstrict-prototypes -fomit-frame-pointer -pipe 
-DKBUILD_BASENAME=serialmidi   -c -o serialmidi.o serialmidi.c
In file included from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sndversions.h:21,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/adriver.h:41,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sound/driver.h:43,
                 from serialmidi.c:26:
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/acore__sound.ver:91:
warning: `__ver_snd_ctl_new' redefined
/usr/src/linux/include/linux/modules/sound-core__sound.ver:95: warning: this is
the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/acore__sound.ver:93:
warning: `__ver_snd_ctl_new1' redefined
/usr/src/linux/include/linux/modules/sound-core__sound.ver:97: warning: this is
the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/acore__sound.ver:95:
warning: `__ver_snd_ctl_free_one' redefined
/usr/src/linux/include/linux/modules/sound-core__sound.ver:99: warning: this is
the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/acore__sound.ver:97:
warning: `__ver_snd_ctl_add' redefined
/usr/src/linux/include/linux/modules/sound-core__sound.ver:101: warning: this is
the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/acore__sound.ver:99:
warning: `__ver_snd_ctl_remove' redefined
/usr/src/linux/include/linux/modules/sound-core__sound.ver:103: warning: this is
the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/acore__sound.ver:105:
warning: `__ver_snd_ctl_find_numid' redefined
/usr/src/linux/include/linux/modules/sound-core__sound.ver:109: warning: this is
the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/acore__sound.ver:107:
warning: `__ver_snd_ctl_find_id' redefined
/usr/src/linux/include/linux/modules/sound-core__sound.ver:111: warning: this is
the location of the previous definition
In file included from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sndversions.h:29,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/adriver.h:41,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sound/driver.h:43,
                 from serialmidi.c:26:
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-ad1848__ad1848_lib.ver:19:
warning: `__ver_snd_ad1848_info_single' redefined
/usr/src/linux/include/linux/modules/sound-isa-ad1848__ad1848_lib.ver:19:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-ad1848__ad1848_lib.ver:21:
warning: `__ver_snd_ad1848_get_single' redefined
/usr/src/linux/include/linux/modules/sound-isa-ad1848__ad1848_lib.ver:21:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-ad1848__ad1848_lib.ver:23:
warning: `__ver_snd_ad1848_put_single' redefined
/usr/src/linux/include/linux/modules/sound-isa-ad1848__ad1848_lib.ver:23:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-ad1848__ad1848_lib.ver:25:
warning: `__ver_snd_ad1848_info_double' redefined
/usr/src/linux/include/linux/modules/sound-isa-ad1848__ad1848_lib.ver:25:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-ad1848__ad1848_lib.ver:27:
warning: `__ver_snd_ad1848_get_double' redefined
/usr/src/linux/include/linux/modules/sound-isa-ad1848__ad1848_lib.ver:27:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-ad1848__ad1848_lib.ver:29:
warning: `__ver_snd_ad1848_put_double' redefined
/usr/src/linux/include/linux/modules/sound-isa-ad1848__ad1848_lib.ver:29:
warning: this is the location of the previous definition
In file included from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sndversions.h:30,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/adriver.h:41,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sound/driver.h:43,
                 from serialmidi.c:26:
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-cs423x__cs4231_lib.ver:27:
warning: `__ver_snd_cs4231_info_single' redefined
/usr/src/linux/include/linux/modules/sound-isa-cs423x__cs4231_lib.ver:27:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-cs423x__cs4231_lib.ver:29:
warning: `__ver_snd_cs4231_get_single' redefined
/usr/src/linux/include/linux/modules/sound-isa-cs423x__cs4231_lib.ver:29:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-cs423x__cs4231_lib.ver:31:
warning: `__ver_snd_cs4231_put_single' redefined
/usr/src/linux/include/linux/modules/sound-isa-cs423x__cs4231_lib.ver:31:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-cs423x__cs4231_lib.ver:33:
warning: `__ver_snd_cs4231_info_double' redefined
/usr/src/linux/include/linux/modules/sound-isa-cs423x__cs4231_lib.ver:33:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-cs423x__cs4231_lib.ver:35:
warning: `__ver_snd_cs4231_get_double' redefined
/usr/src/linux/include/linux/modules/sound-isa-cs423x__cs4231_lib.ver:35:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-cs423x__cs4231_lib.ver:37:
warning: `__ver_snd_cs4231_put_double' redefined
/usr/src/linux/include/linux/modules/sound-isa-cs423x__cs4231_lib.ver:37:
warning: this is the location of the previous definition
In file included from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sndversions.h:31,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/adriver.h:41,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sound/driver.h:43,
                 from serialmidi.c:26:
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-cs423x__cs4236_lib.ver:1:
warning: `__ver_snd_cs4236_create' redefined
/usr/src/linux/include/linux/modules/sound-isa-cs423x__cs4236_lib.ver:1:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-cs423x__cs4236_lib.ver:3:
warning: `__ver_snd_cs4236_pcm' redefined
/usr/src/linux/include/linux/modules/sound-isa-cs423x__cs4236_lib.ver:3:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-cs423x__cs4236_lib.ver:5:
warning: `__ver_snd_cs4236_mixer' redefined
/usr/src/linux/include/linux/modules/sound-isa-cs423x__cs4236_lib.ver:5:
warning: this is the location of the previous definition
In file included from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sndversions.h:35,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/adriver.h:41,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sound/driver.h:43,
                 from serialmidi.c:26:
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-sb__emu8000.ver:1:
warning: `__ver_snd_emu8000_poke' redefined
/usr/src/linux/include/linux/modules/sound-isa-sb__emu8000.ver:1: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-sb__emu8000.ver:3:
warning: `__ver_snd_emu8000_peek' redefined
/usr/src/linux/include/linux/modules/sound-isa-sb__emu8000.ver:3: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-sb__emu8000.ver:5:
warning: `__ver_snd_emu8000_poke_dw' redefined
/usr/src/linux/include/linux/modules/sound-isa-sb__emu8000.ver:5: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-sb__emu8000.ver:7:
warning: `__ver_snd_emu8000_peek_dw' redefined
/usr/src/linux/include/linux/modules/sound-isa-sb__emu8000.ver:7: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-sb__emu8000.ver:9:
warning: `__ver_snd_emu8000_dma_chan' redefined
/usr/src/linux/include/linux/modules/sound-isa-sb__emu8000.ver:9: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-sb__emu8000.ver:11:
warning: `__ver_snd_emu8000_init_fm' redefined
/usr/src/linux/include/linux/modules/sound-isa-sb__emu8000.ver:11: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-sb__emu8000.ver:13:
warning: `__ver_snd_emu8000_load_chorus_fx' redefined
/usr/src/linux/include/linux/modules/sound-isa-sb__emu8000.ver:13: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-sb__emu8000.ver:15:
warning: `__ver_snd_emu8000_load_reverb_fx' redefined
/usr/src/linux/include/linux/modules/sound-isa-sb__emu8000.ver:15: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-sb__emu8000.ver:17:
warning: `__ver_snd_emu8000_update_chorus_mode' redefined
/usr/src/linux/include/linux/modules/sound-isa-sb__emu8000.ver:17: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-sb__emu8000.ver:19:
warning: `__ver_snd_emu8000_update_reverb_mode' redefined
/usr/src/linux/include/linux/modules/sound-isa-sb__emu8000.ver:19: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/isa-sb__emu8000.ver:21:
warning: `__ver_snd_emu8000_update_equalizer' redefined
/usr/src/linux/include/linux/modules/sound-isa-sb__emu8000.ver:21: warning: this
is the location of the previous definition
In file included from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sndversions.h:41,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/adriver.h:41,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sound/driver.h:43,
                 from serialmidi.c:26:
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-ac97__ac97_codec.ver:1:
warning: `__ver_snd_ac97_write' redefined
/usr/src/linux/include/linux/modules/sound-pci-ac97__ac97_codec.ver:1: warning:
this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-ac97__ac97_codec.ver:3:
warning: `__ver_snd_ac97_read' redefined
/usr/src/linux/include/linux/modules/sound-pci-ac97__ac97_codec.ver:3: warning:
this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-ac97__ac97_codec.ver:5:
warning: `__ver_snd_ac97_write_cache' redefined
/usr/src/linux/include/linux/modules/sound-pci-ac97__ac97_codec.ver:5: warning:
this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-ac97__ac97_codec.ver:7:
warning: `__ver_snd_ac97_update' redefined
/usr/src/linux/include/linux/modules/sound-pci-ac97__ac97_codec.ver:7: warning:
this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-ac97__ac97_codec.ver:9:
warning: `__ver_snd_ac97_update_bits' redefined
/usr/src/linux/include/linux/modules/sound-pci-ac97__ac97_codec.ver:9: warning:
this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-ac97__ac97_codec.ver:11:
warning: `__ver_snd_ac97_mixer' redefined
/usr/src/linux/include/linux/modules/sound-pci-ac97__ac97_codec.ver:11: warning:
this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-ac97__ac97_codec.ver:13:
warning: `__ver_snd_ac97_set_rate' redefined
/usr/src/linux/include/linux/modules/sound-pci-ac97__ac97_codec.ver:13: warning:
this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-ac97__ac97_codec.ver:15:
warning: `__ver_snd_ac97_resume' redefined
/usr/src/linux/include/linux/modules/sound-pci-ac97__ac97_codec.ver:15: warning:
this is the location of the previous definition
In file included from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sndversions.h:43,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/adriver.h:41,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sound/driver.h:43,
                 from serialmidi.c:26:
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-emu10k1__emu10k1_main.ver:1:
warning: `__ver_snd_emu10k1_synth_alloc' redefined
/usr/src/linux/include/linux/modules/sound-pci-emu10k1__emu10k1_main.ver:1:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-emu10k1__emu10k1_main.ver:3:
warning: `__ver_snd_emu10k1_synth_free' redefined
/usr/src/linux/include/linux/modules/sound-pci-emu10k1__emu10k1_main.ver:3:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-emu10k1__emu10k1_main.ver:5:
warning: `__ver_snd_emu10k1_synth_bzero' redefined
/usr/src/linux/include/linux/modules/sound-pci-emu10k1__emu10k1_main.ver:5:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-emu10k1__emu10k1_main.ver:7:
warning: `__ver_snd_emu10k1_synth_copy_from_user' redefined
/usr/src/linux/include/linux/modules/sound-pci-emu10k1__emu10k1_main.ver:7:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-emu10k1__emu10k1_main.ver:9:
warning: `__ver_snd_emu10k1_memblk_map' redefined
/usr/src/linux/include/linux/modules/sound-pci-emu10k1__emu10k1_main.ver:9:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-emu10k1__emu10k1_main.ver:11:
warning: `__ver_snd_emu10k1_voice_alloc' redefined
/usr/src/linux/include/linux/modules/sound-pci-emu10k1__emu10k1_main.ver:11:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-emu10k1__emu10k1_main.ver:13:
warning: `__ver_snd_emu10k1_voice_free' redefined
/usr/src/linux/include/linux/modules/sound-pci-emu10k1__emu10k1_main.ver:13:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-emu10k1__emu10k1_main.ver:15:
warning: `__ver_snd_emu10k1_ptr_read' redefined
/usr/src/linux/include/linux/modules/sound-pci-emu10k1__emu10k1_main.ver:15:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-emu10k1__emu10k1_main.ver:17:
warning: `__ver_snd_emu10k1_ptr_write' redefined
/usr/src/linux/include/linux/modules/sound-pci-emu10k1__emu10k1_main.ver:17:
warning: this is the location of the previous definition
In file included from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sndversions.h:45,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/adriver.h:41,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sound/driver.h:43,
                 from serialmidi.c:26:
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-trident__trident_main.ver:1:
warning: `__ver_snd_trident_alloc_voice' redefined
/usr/src/linux/include/linux/modules/sound-pci-trident__trident_main.ver:1:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-trident__trident_main.ver:3:
warning: `__ver_snd_trident_free_voice' redefined
/usr/src/linux/include/linux/modules/sound-pci-trident__trident_main.ver:3:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-trident__trident_main.ver:5:
warning: `__ver_snd_trident_start_voice' redefined
/usr/src/linux/include/linux/modules/sound-pci-trident__trident_main.ver:5:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-trident__trident_main.ver:7:
warning: `__ver_snd_trident_stop_voice' redefined
/usr/src/linux/include/linux/modules/sound-pci-trident__trident_main.ver:7:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-trident__trident_main.ver:9:
warning: `__ver_snd_trident_write_voice_regs' redefined
/usr/src/linux/include/linux/modules/sound-pci-trident__trident_main.ver:9:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-trident__trident_main.ver:11:
warning: `__ver_snd_trident_clear_voices' redefined
/usr/src/linux/include/linux/modules/sound-pci-trident__trident_main.ver:11:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-trident__trident_main.ver:13:
warning: `__ver_snd_trident_synth_alloc' redefined
/usr/src/linux/include/linux/modules/sound-pci-trident__trident_main.ver:13:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-trident__trident_main.ver:15:
warning: `__ver_snd_trident_synth_free' redefined
/usr/src/linux/include/linux/modules/sound-pci-trident__trident_main.ver:15:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-trident__trident_main.ver:17:
warning: `__ver_snd_trident_synth_bzero' redefined
/usr/src/linux/include/linux/modules/sound-pci-trident__trident_main.ver:17:
warning: this is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/pci-trident__trident_main.ver:19:
warning: `__ver_snd_trident_synth_copy_from_user' redefined
/usr/src/linux/include/linux/modules/sound-pci-trident__trident_main.ver:19:
warning: this is the location of the previous definition
In file included from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sndversions.h:46,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/adriver.h:41,
                 from
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sound/driver.h:43,
                 from serialmidi.c:26:
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/synth-emux__emux.ver:1:
warning: `__ver_snd_emux_new' redefined
/usr/src/linux/include/linux/modules/sound-synth-emux__emux.ver:1: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/synth-emux__emux.ver:3:
warning: `__ver_snd_emux_register' redefined
/usr/src/linux/include/linux/modules/sound-synth-emux__emux.ver:3: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/synth-emux__emux.ver:5:
warning: `__ver_snd_emux_free' redefined
/usr/src/linux/include/linux/modules/sound-synth-emux__emux.ver:5: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/synth-emux__emux.ver:7:
warning: `__ver_snd_emux_terminate_all' redefined
/usr/src/linux/include/linux/modules/sound-synth-emux__emux.ver:7: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/synth-emux__emux.ver:9:
warning: `__ver_snd_emux_lock_voice' redefined
/usr/src/linux/include/linux/modules/sound-synth-emux__emux.ver:9: warning: this
is the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/modules/synth-emux__emux.ver:11:
warning: `__ver_snd_emux_unlock_voice' redefined
/usr/src/linux/include/linux/modules/sound-synth-emux__emux.ver:11: warning:
this is the location of the previous definition
In file included from serialmidi.c:30:
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sound/core.h:261:
warning: `snd_malloc_isa_pages' redefined
/usr/src/linux/include/linux/modules/sound-core__sound.ver:24: warning: this is
the location of the previous definition
/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/include/sound/core.h:262:
warning: `snd_malloc_isa_pages_fallback' redefined
/usr/src/linux/include/linux/modules/sound-core__sound.ver:26: warning: this is
the location of the previous definition
serialmidi.c: In function `open_tty':
serialmidi.c:128: storage size of `old_termios' isn't known
serialmidi.c:133: warning: passing arg 2 of `set_bit' from incompatible pointer type
serialmidi.c:142: dereferencing pointer to incomplete type
serialmidi.c:142: `TTY_MAGIC' undeclared (first use in this function)
serialmidi.c:142: (Each undeclared identifier is reported only once
serialmidi.c:142: for each function it appears in.)
serialmidi.c:147: dereferencing pointer to incomplete type
serialmidi.c:152: dereferencing pointer to incomplete type
serialmidi.c:159: `N_TTY' undeclared (first use in this function)
serialmidi.c:160: `TIOCSETD' undeclared (first use in this function)
serialmidi.c:166: dereferencing pointer to incomplete type
serialmidi.c:173: `B9600' undeclared (first use in this function)
serialmidi.c:176: `B19200' undeclared (first use in this function)
serialmidi.c:179: `B38400' undeclared (first use in this function)
serialmidi.c:182: `B57600' undeclared (first use in this function)
serialmidi.c:186: `B115200' undeclared (first use in this function)
serialmidi.c:190: `CREAD' undeclared (first use in this function)
serialmidi.c:190: `CSIZE' undeclared (first use in this function)
serialmidi.c:190: `CS8' undeclared (first use in this function)
serialmidi.c:190: `CRTSCTS' undeclared (first use in this function)
serialmidi.c:190: `HUPCL' undeclared (first use in this function)
serialmidi.c:200: dereferencing pointer to incomplete type
serialmidi.c:201: dereferencing pointer to incomplete type
serialmidi.c:202: dereferencing pointer to incomplete type
serialmidi.c:202: `NOFLSH' undeclared (first use in this function)
serialmidi.c:203: dereferencing pointer to incomplete type
serialmidi.c:203: `IGNBRK' undeclared (first use in this function)
serialmidi.c:203: `IGNPAR' undeclared (first use in this function)
serialmidi.c:204: dereferencing pointer to incomplete type
serialmidi.c:205: dereferencing pointer to incomplete type
serialmidi.c:206: dereferencing pointer to incomplete type
serialmidi.c:206: `VEOL' undeclared (first use in this function)
serialmidi.c:207: dereferencing pointer to incomplete type
serialmidi.c:207: `VERASE' undeclared (first use in this function)
serialmidi.c:208: dereferencing pointer to incomplete type
serialmidi.c:208: `VKILL' undeclared (first use in this function)
serialmidi.c:209: dereferencing pointer to incomplete type
serialmidi.c:209: `VMIN' undeclared (first use in this function)
serialmidi.c:210: dereferencing pointer to incomplete type
serialmidi.c:210: `VTIME' undeclared (first use in this function)
serialmidi.c:211: dereferencing pointer to incomplete type
serialmidi.c:217: dereferencing pointer to incomplete type
serialmidi.c:218: dereferencing pointer to incomplete type
serialmidi.c:219: dereferencing pointer to incomplete type
serialmidi.c:220: dereferencing pointer to incomplete type
serialmidi.c:221: dereferencing pointer to incomplete type
serialmidi.c:222: dereferencing pointer to incomplete type
serialmidi.c:223: dereferencing pointer to incomplete type
serialmidi.c:224: `TTY_EXCLUSIVE' undeclared (first use in this function)
serialmidi.c:224: dereferencing pointer to incomplete type
serialmidi.c:224: dereferencing pointer to incomplete type
serialmidi.c:225: dereferencing pointer to incomplete type
serialmidi.c:227: warning: passing arg 2 of `set_bit' from incompatible pointer type
serialmidi.c:128: warning: unused variable `old_termios'
serialmidi.c: In function `close_tty':
serialmidi.c:248: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
serialmidi.c:249: warning: passing arg 2 of `constant_test_bit' from
incompatible pointer type
serialmidi.c:249: warning: passing arg 2 of `variable_test_bit' from
incompatible pointer type
serialmidi.c:252: dereferencing pointer to incomplete type
serialmidi.c:253: dereferencing pointer to incomplete type
serialmidi.c:254: dereferencing pointer to incomplete type
serialmidi.c:255: dereferencing pointer to incomplete type
serialmidi.c:256: dereferencing pointer to incomplete type
serialmidi.c:258: `TTY_EXCLUSIVE' undeclared (first use in this function)
serialmidi.c:258: dereferencing pointer to incomplete type
serialmidi.c:260: dereferencing pointer to incomplete type
serialmidi.c: In function `ldisc_receive_buf':
serialmidi.c:272: dereferencing pointer to incomplete type
serialmidi.c:276: warning: passing arg 2 of `constant_test_bit' from
incompatible pointer type
serialmidi.c:276: warning: passing arg 2 of `variable_test_bit' from
incompatible pointer type
serialmidi.c: In function `tx_loop':
serialmidi.c:288: dereferencing pointer to incomplete type
serialmidi.c:295: dereferencing pointer to incomplete type
serialmidi.c:298: dereferencing pointer to incomplete type
serialmidi.c:300: `TTY_DO_WRITE_WAKEUP' undeclared (first use in this function)
serialmidi.c:300: dereferencing pointer to incomplete type
serialmidi.c:285: warning: `count' might be used uninitialized in this function
serialmidi.c: In function `ldisc_write_wakeup':
serialmidi.c:308: dereferencing pointer to incomplete type
serialmidi.c: In function `snd_serialmidi_output_trigger':
serialmidi.c:318: warning: passing arg 2 of `set_bit' from incompatible pointer type
serialmidi.c:319: `TTY_DO_WRITE_WAKEUP' undeclared (first use in this function)
serialmidi.c:319: dereferencing pointer to incomplete type
serialmidi.c:322: dereferencing pointer to incomplete type
serialmidi.c:323: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
serialmidi.c: In function `snd_serialmidi_input_trigger':
serialmidi.c:332: warning: passing arg 2 of `set_bit' from incompatible pointer type
serialmidi.c:334: warning: passing arg 2 of `clear_bit' from incompatible
pointer type
make[1]: *** [serialmidi.o] Error 1
make[1]: Leaving directory
`/var/tmp/portage/alsa-driver-0.9.0_rc2/work/alsa-driver-0.9.0rc2/drivers'
make: *** [compile] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -20, Exitcode 2
!!! Parallel Make Failed

!!! emerge aborting on 
/usr/portage/media-sound/alsa-driver/alsa-driver-0.9.0_rc2.ebuild .
Comment 1 Arcady Genkin (RETIRED) gentoo-dev 2002-07-22 19:45:21 UTC
what kernel are you using?
Comment 2 Richard D. Jackson 2002-07-27 16:24:17 UTC
I was having the same problem with alsa-driver builds. So I decided to build by
hand and every thing built fine. So went looking for the diferance.

When doing this by hand Alsa looks for the kernel headers in 
/lib/modules/"what ever kernel is running"/build/include where build is a
symlink to the sources for the kernel.

The ebuild on the other and passes a option to configure to force the kernel
include path to be /usr/src/linux. Well there is a problem here if you have
updated your kernel but not the symlink.

So To fix this change the symlink /usr/src/linux to point to the actual kernel
you are running. Once that is done every thing works as expected. 

I really think the ebuild should not force the kernel include path but let
configure figure it out. That way if I update my kernel it will get the right
include files. On the other hand maybe the ebuild for the kernel souces should
be changed to fix the symlink but that may not be right either as I may just
insall the sources but not actualy build and install that particular kernel.
Comment 3 Arcady Genkin (RETIRED) gentoo-dev 2002-10-26 15:01:30 UTC
Chris, are you still there?  I'm closing this bug for the lack of feedback from
you.  If you are still experiencing the problem, then make sure that /usr/linux
points to the correct kernel sourses and re-open the bug.

Richard, I dissagree with you; I think that relying too hard on the configure
script causes too many headaches.  Especially ones line unreproducible bugs.