View previous topic :: View next topic |
Author |
Message |
Sarkath n00b

Joined: 28 Mar 2003 Posts: 10
|
Posted: Fri May 16, 2003 5:44 pm Post subject: emu10k1 won't emerge |
|
|
Yup, strange but true: After having a blast with a slew of updates last night, I recompiled my kernel, finishing off with emerging back emu10k1. Lo and behold: The bastard emerge won't compile! The messages I get are:
Code: | .
.
.
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DEMU10K1_SEQUENCER -I2.4/ -I/drivers/sound
-DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20/include/linux/modversions.h -c -o main.o main.c
main.c:112:26: sound_config.h: No such file or directory
main.c:113:24: midi_synth.h: No such file or directory
main.c: In function `emu10k1_midi_init':
main.c:448: warning: implicit declaration of function `sound_alloc_mididev_Rsmp_ba413f87'
main.c:452: `std_midi_synth' undeclared (first use in this function)
.
.
(vararious warnings)
.
.
main.c:1474: warning: excess elements in struct initializer
main.c:1474: warning: (near initialization for `emu10k1_midi_operations')
main.c:1456: storage size of `emu10k1_midi_operations' isn't known
make: *** [main.o] Error 1
!!! ERROR: media-sound/emu10k1-cvs-16042003 failed.
!!! Function src_install, Line 40, Exitcode 2
!!! could not install
|
And, yes, the normal emu10k1 package gets the same error, so it's not just the CVS version that's buggy.
Even worse: I've built that same source several times before, so I'l leaning towards some strange change in my configuration/libpaths whatever...Darned if I know what it is tho...
Any help or wild guesses muchly appreciated  |
|
Back to top |
|
 |
spectre n00b

Joined: 11 May 2003 Posts: 40 Location: Virginia USA
|
Posted: Fri May 16, 2003 6:33 pm Post subject: Re: emu10k1 won't emerge |
|
|
Sarkath wrote: | Any help or wild guesses muchly appreciated  |
Wild guess time!
Code: | /usr/src/linux-2.4.20/include/linux/modversions.h |
I haven't seen a /usr/src/linux-2.4.20 before, but then again I haven't tried the vanilla kernel to see if that is how it sets itself up. I always have "-gentoo" or "-gaming", etc. Also, did you update your /usr/src/linux link to your current kernel? Some ebuilds require the link to be set properly and to be booted into the new kernel.
You could also try a locate on sound_config.h to see where it is after an updatedb.
After that, I have no idea. Good luck! |
|
Back to top |
|
 |
maniacdavid n00b

Joined: 03 May 2003 Posts: 29
|
Posted: Fri May 16, 2003 8:06 pm Post subject: Re: emu10k1 won't emerge |
|
|
Sarkath wrote: | Yup, strange but true: After having a blast with a slew of updates last night, I recompiled my kernel, finishing off with emerging back emu10k1. Lo and behold: The bastard emerge won't compile! The messages I get are:
Code: | .
.
.
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DEMU10K1_SEQUENCER -I2.4/ -I/drivers/sound
-DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.20/include/linux/modversions.h -c -o main.o main.c
main.c:112:26: sound_config.h: No such file or directory
main.c:113:24: midi_synth.h: No such file or directory
main.c: In function `emu10k1_midi_init':
main.c:448: warning: implicit declaration of function `sound_alloc_mididev_Rsmp_ba413f87'
main.c:452: `std_midi_synth' undeclared (first use in this function)
.
.
(vararious warnings)
.
.
main.c:1474: warning: excess elements in struct initializer
main.c:1474: warning: (near initialization for `emu10k1_midi_operations')
main.c:1456: storage size of `emu10k1_midi_operations' isn't known
make: *** [main.o] Error 1
!!! ERROR: media-sound/emu10k1-cvs-16042003 failed.
!!! Function src_install, Line 40, Exitcode 2
!!! could not install
|
|
Yeah, if I remember correctly, I had to take out the MIDI part and it compiles fine. If you edit the ebuild and find squencer support and set it to no or something, it should work. |
|
Back to top |
|
 |
Sarkath n00b

Joined: 28 Mar 2003 Posts: 10
|
Posted: Sat May 17, 2003 12:14 am Post subject: |
|
|
Ah! Perfect! Editing the emerge file to 'n' in sequencer support worked like charm. My sound is up and running like always before. maniacdavid, I surely owe you one  |
|
Back to top |
|
 |
maniacdavid n00b

Joined: 03 May 2003 Posts: 29
|
Posted: Sat May 17, 2003 3:53 pm Post subject: |
|
|
Sarkath wrote: | Ah! Perfect! Editing the emerge file to 'n' in sequencer support worked like charm. My sound is up and running like always before. maniacdavid, I surely owe you one  |
Get my Audigy2 plat ex working with ALSA drivers!!!  |
|
Back to top |
|
 |
|