Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emu10k1 won't emerge
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Sarkath
n00b
n00b


Joined: 28 Mar 2003
Posts: 10

PostPosted: Fri May 16, 2003 5:44 pm    Post subject: emu10k1 won't emerge Reply with quote

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
View user's profile Send private message
spectre
n00b
n00b


Joined: 11 May 2003
Posts: 40
Location: Virginia USA

PostPosted: Fri May 16, 2003 6:33 pm    Post subject: Re: emu10k1 won't emerge Reply with quote

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
View user's profile Send private message
maniacdavid
n00b
n00b


Joined: 03 May 2003
Posts: 29

PostPosted: Fri May 16, 2003 8:06 pm    Post subject: Re: emu10k1 won't emerge Reply with quote

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
View user's profile Send private message
Sarkath
n00b
n00b


Joined: 28 Mar 2003
Posts: 10

PostPosted: Sat May 17, 2003 12:14 am    Post subject: Reply with quote

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 :D
Back to top
View user's profile Send private message
maniacdavid
n00b
n00b


Joined: 03 May 2003
Posts: 29

PostPosted: Sat May 17, 2003 3:53 pm    Post subject: Reply with quote

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 :D


Get my Audigy2 plat ex working with ALSA drivers!!! :P
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum