hmm, I'm just tring to build it against w/ and w/o the patch and get alot of erros, any idea why ? i u do have patches send it to me to be sure I'm not doing something wrong. (on my box they didnt apply correctly so I had to modify Makefile manualy)
But either way w/o the patch I still get these errors. (i'm doing this still running with 2.4.22, this is not a problem isnt it ?) -----------snip---------------------- cat: /usr/src/linux-2.6.9//include/linux/version.h: No such file or directory hpt.c:8:35: linux/modversions.h: No such file or directory In file included from /usr/src/linux-2.6.9/include/linux/capability.h:16, from /usr/src/linux-2.6.9/include/linux/sched.h:7, from hpt.c:18: /usr/src/linux-2.6.9/include/linux/types.h:18: error: conflicting types for `__kernel_dev_t' /usr/include/asm/posix_types.h:10: error: previous declaration of `__kernel_dev_t' /usr/src/linux-2.6.9/include/linux/types.h:30: error: syntax error before "timer_t" /usr/src/linux-2.6.9/include/linux/types.h:30: warning: type defaults to `int' in declaration of `timer_t' /usr/src/linux-2.6.9/include/linux/types.h:30: warning: data definition has no type or storage class /usr/src/linux-2.6.9/include/linux/types.h:31: error: syntax error before "clockid_t" /usr/src/linux-2.6.9/include/linux/types.h:31: warning: type defaults to `int' in declaration of `clockid_t' /usr/src/linux-2.6.9/include/linux/types.h:31: warning: data definition has no type or storage class In file included from /usr/src/linux-2.6.9/include/linux/preempt.h:10, from /usr/src/linux-2.6.9/include/linux/spinlock.h:9, from /usr/src/linux-2.6.9/include/linux/capability.h:45, from /usr/src/linux-2.6.9/include/linux/sched.h:7, from hpt.c:18: .................... from hpt.c:18: /usr/include/asm/apic.h:88: error: `CONFIG_NR_CPUS' undeclared here (not in a function) In file included from /usr/src/linux-2.6.9/include/linux/smp.h:17, from /usr/src/linux-2.6.9/include/linux/sched.h:23, from hpt.c:18: /usr/include/asm/smp.h:57: error: conflicting types for `cpu_online_map' /usr/src/linux-2.6.9/include/linux/cpumask.h:345: error: previous declaration of `cpu_online_map' /usr/include/asm/smp.h:89: error: `CONFIG_NR_CPUS' undeclared here (not in a function) /usr/include/asm/smp.h:89: confused by earlier errors, bailing out make: *** [hpt.o] Error 1 |In article <[EMAIL PROTECTED]>, |[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: | |> hi, |> |> I just tried to compile the latest highpoint driver for 2.6.10 kernel w/o |> success.. anyone have succeded to compile the driver with 2.6.x kernel |> which one ?! | |I am running it with 2.6.9 (and 2.6.8.1 before that). I do apply a couple of |patches to the driver though. I got them from this page: | | <http://www.gulu.net/krd/hpt_rocketraid404_linux.html> | |and they work just fine. | |> From highpoint support i understood that the driver doesn't |> suppport yet 2.6.10 | |Yeah, I heard the same thing and got the same errors when I tried to build |it anyway. | |>From the looks of the 2.6.10 ChangeLog, specifically this entry: | |-------------------------------------------------------------------- |<[EMAIL PROTECTED]> | [PATCH] remove abort,reset methods from host templates | | Due to the prototype changes they'd been giving warnings since before | 2.6.0 was release, it's time to finally kill them. | | Signed-off-by: James Bottomley <[EMAIL PROTECTED]> |-------------------------------------------------------------------- | |It looks like the kernel maintainers removed part of the SCSI interface that |was never used. | |I did a quick patch of the file hpttempl.h from the 2.12 version of the |HighPoint driver where these fields are references and it seems to build |cleanly. | |However, I am not included to run with this change myself as I would rather |wait for the all clear from the HighPoint folks when it comes to a device |driver that could trash my entire disk. | |If you want to live on the end, drop me an email and I'll send you the patch |file for this change. | |- Rob | |-- |(please do not send me extra copies of mailing list posts.) | |-- |gentoo-user@gentoo.org mailing list | | ----- http://linuxtoday.com/news_story.php3?ltsn=2004-12-08-004-32-OS-BZ-DT-0005 snip> MS Office is popular in the same way as heart disease is the most popular way to die. -- gentoo-user@gentoo.org mailing list