Juanito
Group: Members
Posts: 1601
Joined: Sep. 2005 |
|
Posted: Aug. 02 2006,04:57 |
|
My apologies for pasting in long sections from dsl box, but I did use the kernel source from the repository (line 9 in previous post, [myDSL kernelsource.dsl] ).
After the cpufreq patch worked, I tried several means of carrying on from there (not really knowing what I was doing, I admit):
[load myDSL gcc-1.dsl]
dsl@box:/usr/src$ cd /usr/src/linux dsl@box:/usr/src/linux$ sudo make mrproper
[blah, blah, blah - appears to work]
dsl@box:/usr/src/linux$ sudo make oldconfig rm -f include/asm ( cd include ; ln -sf asm-i386 asm) /bin/sh scripts/Configure -d arch/i386/config.in # # Using defaults found in arch/i386/defconfig #
[various questions relevent to the cpufreq patch, appears to work]
dsl@box:/usr/src/linux$ sudo make dep gcc-2.95 -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/mkdep scripts/mkdep.c make: gcc-2.95: Command not found make: *** [scripts/mkdep] Error 127 dsl@box:/usr/src/linux$ sudo make modules gcc-2.95 -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c make: gcc-2.95: Command not found make: *** [scripts/split-include] Error 127 dsl@box:/usr/src/linux$ gcc -v Reading specs from /ramdisk/usr/bin/../lib/gcc-lib/i486-linux/3.3.4/specs ...gcc version 3.3.4 (Debian 1:3.3.4-7) dsl@box:/usr/src/linux$
I agree it seems that I might have to recompile rather than just make the new modules, but if "make dep" and "make modules" don't work I'm kind of stuck.
Any idea why gcc doesn't want to "make dep"/"make modules"?
|