Getting sound to work on old Thinkpad
I'm installing Crunchbang Linux to an old a22 Thinkpad. No soundcards were recognized, turns out I have a Cirrus Logic cs461, and Debian doesn't include it in the kernel, so I'm following a guide from the Debian wiki.
http://wiki.debian.org/snd-cs46xx I fail at the line that says, after downloading the patch, on the next line "gcc -o write_images write_images.c" I get: "gcc; write_images.c: No such file or directory" How can I get past this? Using kernel 2.6.32-5-686 |
Either you did not follow the step where you are advised to download 'write_images.c' or you are not in the directory where it resides?
|
I wondered about being in a certain directory, but from what I read, there's no directory specified at the point where I attempt to compile write-images.
I didn't see any errors when I entered: $ wget 'http://wiki.debian.org/snd-cs46xx?action=AttachFile&do=get&target=write_images.c' -O write_images.c that's supposed to be the source code to write out the firmware. I see that the firmware contains ' -O write_images' and the instructions for compiling show ' gcc -o write-images', then I get the error that 'no gcc; write_images.c No such file or directory" and there's also an error showing "gcc: no input files." Hadn't seen the last error before, not sure if that's any additional clue. |
It's not a step by step guide, it assumes the user knows the basics of file management, etc.
|
So I guess there's a way to see where the guide assumes I know where to initiate the g compiler to install to. A few instructions later the guide uses mkdir to create a directory to install the compiled program to, but the compiling seems to be done in magicland.
From what internet searching I've done, I haven't found anything where someone successfully installed this, so it's not looking good. I do know that for a while, I had Mint LXDE working on it, but now for some reason (probably because I've only been able to pony up for 256m ram), all I can install are Crunchbang and Semplice, and both are Debian based, with the same kernel. |
Quote:
So before trying to compile it: Code:
$ ls write_images.c |
are you in the directory or the downloaded package?
cd to whereever the package is then try the gcc command. |
All times are GMT -5. The time now is 01:22 AM. |