Thanks everyone.

especially to Mark for his AlsaBuild script.  It didn't run entirely 
unproblematically on my system but it seems to be a good guide.  I 
patched the 2.4.18 kernel successfully (though with a few questions 
about reversed/already-patched modules), and then tried compiling 
using make-kpkg, the debian kernel package builder.  For the first 
time ever (this is my third recompile) the script wouldn't run, and 
gave the following error message:

init/main.c: In function `root_dev_setup':
init/main.c:296: sizeof applied to an incomplete type
init/main.c:296: sizeof applied to an incomplete type
init/main.c:296: sizeof applied to an incomplete type
init/main.c:296: sizeof applied to an incomplete type
init/main.c:296: sizeof applied to an incomplete type
init/main.c:296: sizeof applied to an incomplete type
init/main.c:298: sizeof applied to an incomplete type
make[1]: *** [init/main.o] Error 1
make[1]: Leaving directory `/usr/src/kernel-source-2.4.18'
make: *** [stamp-build] Error 2

The problem seems to be with a line in main.c regarding 
root_device_name, which I guess is supposed to point to the root 
partition (I'm code-illiterate, though, so I can't say for sure).

Has anyone seen this error before?  Do you know how to fix it?

Thanks loads,

Matt

ps -- re:nvidia drivers -- yes, I know they're not free software; but 
the video card came with the system, so I did what I had to to make 
it work...


>On Thu, 11 Jul 2002 21:57:28 -0400
>Matt Price <[EMAIL PROTECTED]> wrote:
>
>>  hi there,
>>
>>  I'm just getting started on linux and wanted to get the sound working
>>  on my machine. I've found it pretty difficult so far.  I am running
>>  Debian Woody Gnu/Linux with kernel 2.4.18 plus a custom nvidia module
>>  to drive the video card.  I want to enable the onboard sound, which
>>  is a Realtek ALC650 - AC-link, supports AC'97 2.2; but underneath it
>>  seems to be based on a VIA chipset, the via8223, and is plug and play
>>  (at least according to sndconfig).  Sndconfig recognized the card but
>>  gave an error (no error message) when it tried to use the linux
>>  driver to run it.  SO, since I want to ultimately do some audio work
>>  on the machine, I thought I would go straight to ALSA.  According to
>>  the soundcard matrix, ALSA should support the card (I think).
>>
>>  But I'm just not sure what to do next.  I installed the alsa .deb
>>  packages from debian/UNSTABLE , which as far as I can tell are from
>>  0.9.0.rc1.
>
>If you have a MSI kt3 mainboard you must use at least ALSA 0.9.0rc2 IIRC
>using the snd-via8233 module. After unpacking the ALSA driver tarball you'll
>get an INSTALL file which is up to date. I remember something about in
>Debian you don't edit /etc/modules.conf directly but edit /etc/modules...
>
>>  The ALSA how-to's all seem to be written for 0.4 or 0.5
>>  at best, and also for kernel 2.2.x; and they haven't yet worked out
>>  for me (that is, I've tried to do what they say, but always without
>>  success.  Is there someone out there who is using  2.4 and who can
>>  tell me what bits need to be included in the kernel itself, what
>>  modules need to be included dand excluded, and what bits of prep I'll
>>  need to do afterwards to make the sound actually work?  Or can
>>  someone point me to an up-to-date howto?  I'm an absolute Linux
>>  newbie and, though I'm proud of having struggled through my first
>>  kernel recompile already, I'm at the limits of my technical capacity
>>  here.
>
>You only need soundcore as a module (compiled in the kernel is also
>possible as far as I know), you don't need anything else about sound
>in the kernel configuration, although compling OSS/free drivers _as
>modules_ shouldn't hurt as long as those modules are not inserted in
>the running kernel ;)
>
>>  whew.  thanks for any help you can give.  I _want_ to free my
>>  softwaqre; but it's harder than I thought!  thanks,
>>  matt
>
>The custom nvidia module is not free in the sense of free speech
>(Open Source) but only in the sense of free beer (no money) :) HTH,
>
>     -Frans
>
>
>-------------------------------------------------------
>This sf.net email is sponsored by:ThinkGeek
>Gadgets, caffeine, t-shirts, fun stuff.
>http://thinkgeek.com/sf
>_______________________________________________
>Alsa-user mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/alsa-user



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to