Juanito
Group: Members
Posts: 1601
Joined: Sep. 2005 |
|
Posted: Nov. 29 2006,17:46 |
|
The cpufreq patch for 2.4.x doesn't give a choice about compiling some of the stuff into the kernel - anyway, I got back to the main task of making it work and hit a problem. It looks like things compile into the boot kernel image OK but the compile quits part way through making the loadable modules:
# make modules ... make -C drm modules make[3]: Entering directory `/ramdisk/usr/src/linux-2.4.26/drivers/char/drm' gcc-2.95 -D -I/ramdisk/usr/src/linux-2.4.26/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i386 -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=gamma_drv -c -o gamma_drv.o gamma_drv.c In file included from gamma_drv.c:34: drmP.h:180: redefinition of `cmpxchg' previously defined here make[3]: *** [gamma_drv.o] Error 1 make[3]: Leaving directory `/ramdisk/usr/src/linux-2.4.26/drivers/char/drm' make[2]: *** [_modsubdir_drm] Error 2 make[2]: Leaving directory `/ramdisk/usr/src/linux-2.4.26/drivers/char' make[1]: *** [_modsubdir_char] Error 2 make[1]: Leaving directory `/ramdisk/usr/src/linux-2.4.26/drivers' make: *** [_mod_drivers] Error 2
it looks like the command goes through the folders in /drivers in alphabetical order, works OK in /char/agp but then quits in /char/drm
As a test, I used the default knoppix .config but enabled bluetooth (in the knoppix CD but not in DSL) - bluetooth is enabled in the kernel but make modules has the same problem - i.e. the hci_usb module is made but not the rfcomm module (since /drivers/bluetooth is before /drivers/drm but /drivers/net/rfcomm comes after). After reboot with the new kernel things work fine once I copy the rfcomm module from the knoppix CD, so it looks like the problem is with "make modules" and not with the cpufreq patch.
Does anybody have an idea what the problem might be?
|