On Monday 04 August 2003 09:27, Sam Sgro wrote:
> > When I try to compile Super-FreeS/WAN 1.99.8 with 2.4.21, I get:
> > "/usr/src/linux-2.4.21/include/linux/hp_sdc.h:288:2: #error No
> > support for device"
>
> Can you give more context? I think the error goes on to say that it's
> not supported in this architechture.

Sorry, the "registration on this arch yet" got lost during copy and 
paste:
***ERRORS DETECTED in out.kbuild (examine file for details):
/usr/src/linux-2.4.21/include/linux/hp_sdc.h:288:2: #error No support 
for device registration on this arch yet.

make: *** [kernel] Error 1
Command exited with non-zero status 2

> hp_sdc.h is a header file specific for the HIL input device drivers.
> These devices are used on HP-UX systems, with a non-x86 architecture
> (the PA-RISC processor). My guess: the warning comes as you try to
> build HIL drivers for an architecture they weren't intended for.
>
> The key configuration option you can turn off is CONFIG_HIL. I
> believe it's under Character devices/I2C support. I don't know how
> you would have ended up turning it on, though.  Check your .config,
> but here's a mail covering some of the relevant config options.

Don't have CONFIG_HIL in my .config, nor am I running HP-UX or using 
I2C.
It happens on every machine I try to compile Super-FreeS/WAN with 
2.4.21.
If I don't patch the kernel with Super-FreeS/WAN, it runs just fine, but 
as soon as I add IPsec (without changing anything else in the .config), 
it doesn't compile anymore.
As Ralf suggested, I'll try to remove that line from hp_sdc.h.

-- 
Fridtjof Busse
printk("MASQUERADE: No route: Rusty's brain broke!\n");
        2.4.3 linux/net/ipv4/netfilter/ipt_MASQUERADE.c

Reply via email to