Re: system.h kernel 1.3.82

B. James Phillippe (bryan@eternity.aa.net)
Tue, 2 Apr 1996 19:02:32 -0800 (PST)


On 2 Apr 1996, root wrote:

> get the following error when trying to compile the new 1.3.82
>
> /usr/src/linux-1.3.82/include/asm/system.h: In function `unregister_firewall':
> /usr/src/linux-1.3.82/include/asm/system.h:213: inconsistent operand constraintsmake[3]: *** [firewall.o] Error 1
> make[3]: Leaving directory `/usr/src/linux-1.3.82/net/core'
> make[2]: *** [first_rule] Error 2
> make[2]: Leaving directory `/usr/src/linux-1.3.82/net/core'
> make[1]: *** [sub_dirs] Error 2
> make[1]: Leaving directory `/usr/src/linux-1.3.82/net'
> make: *** [linuxsubdirs] Error 2
>
> anyone have a work around?

Yeah but it's a brutal ugly hack. Run a diff on system.h and system.h
from some other kernel and you'll see that 'volatile' is missing on two
lines; in front of a struct declaration and a void pointer. Just add it
back there. You'll get a clean compile.. but who knows if/when it'll
blow up.

-B

--
# B. James Phillippe # System Administrator, eternity.aa.net #
# System Technician, Zebu Systems, LLC (http://www.zebu.com) #
# bryan@eternity.aa.net  -or-  http://eternity.aa.net/~bryan #
# (Ab)using Linux since coronation (1.1.59). # Thanks Linus! #