running the latest ubuntu 10.10 desktop i386
i followed this guide for reference when building the updated drivers
https://help.ubuntu.com/community/RocketRaid
all paths and references have been updated to reflect my version of the driver
original error during compilation:
DKMS make.log for rr174x-2.4 for kernel 2.6.35-22-generic (i686)
Wed Nov 3 01:28:03 EDT 2010
make: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
scripts/Makefile.build:49: *** CFLAGS was changed in "/var/lib/dkms/rr174x/2.4/build/Makefile". Fix it to use EXTRA_CFLAGS. Stop.
make: *** [_module_/var/lib/dkms/rr174x/2.4/build] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
to "force" it to work i used this work around:
sudo KBUILD_NOPEDANTIC=1 make install
[sudo] password for USER:
make[1]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
CC [M] /usr/src/rr174x-2.4/.build/os_linux.o
CC [M] /usr/src/rr174x-2.4/.build/osm_linux.o
CC [M] /usr/src/rr174x-2.4/.build/div64.o
CC [M] /usr/src/rr174x-2.4/.build/hptinfo.o
CC [M] /usr/src/rr174x-2.4/.build/config.o
LD [M] /usr/src/rr174x-2.4/.build/rr174x.o
Building modules, stage 2.
MODPOST 1 modules
WARNING: could not find /usr/src/rr174x-2.4/.build/.him_rr1740pm.o.cmd for /usr/src/rr174x-2.4/.build/him_rr1740pm.o
LD [M] /usr/src/rr174x-2.4/.build/rr174x.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
You made a module which is for current kernel 2.6.35-22-generic.
Deleting previous installed driver module rr174x...
Install the new driver module...
Removing conflicted driver module...
Updating module dependencies...Done.
Checking for initrd images to be updated...
backup /boot/initrd.img-2.6.35-22-generic to /boot/initrd.img-2.6.35-22-generic.rr174x.
here it is mounted as NTFS with the original RAID volume from Win2K3
it is working great, speedy and stable, but that compilation error message makes me worry.
So, I'm here trying to figure out "How to add the EXTRA_CFLAGS or fix the WARNING?"
and see if i can compile a proper driver module without throwing me a Warning, or having to force the Make to compile / install the module.
I know my way around Linux/BSD/Solaris fairly decently, but i'm no way near good enough to be considerate your average user; I know Windows and Mac inside out which doesn't help me much when i'm on this field.
Bookmarks