folowing patch 3.1 update source through cvs, rebuild kernel, reboot,
cd /usr/src , make obj && make build breaks with:
cc -O2 -DRF_UTILITY=1
-I/usr/src/sbin/raidctl/../../sys/dev/raidframe -c
/usr/src/sbin/raidctl/rf_configure.c
/usr/src/sbin/raidctl/rf_configure.c: In function
`rf_MakeLayoutSpecificNULL':
/usr/src/sbin/raidctl/rf_configure.c:309: syntax error before
`ATTRIBUTE_UNUSED'
/usr/src/sbin/raidctl/rf_configure.c:311: syntax error before
`ATTRIBUTE_UNUSED'
/usr/src/sbin/raidctl/rf_configure.c:312: argument `fp' doesn't match
prototype
/usr/src/sbin/raidctl/../../sys/dev/raidframe/rf_configure.h:89:
prototype declaration
/usr/src/sbin/raidctl/rf_configure.c:312: argument `ignored' doesn't
match prototype
/usr/src/sbin/raidctl/../../sys/dev/raidframe/rf_configure.h:89:
prototype declaration
/usr/src/sbin/raidctl/rf_configure.c: In function
`rf_get_next_nonblank_line':
/usr/src/sbin/raidctl/rf_configure.c:468: syntax error before
`ATTRIBUTE_UNUSED'
*** Error code 1
Stop in /usr/src/sbin/raidctl.
*** Error code 1
Stop in /usr/src/sbin.
*** Error code 1
Stop in /usr/src.
*** Error code 1
btw this hapens after i put the ansidecl.h file into the /usr/include
directory. b4 that it was complaining that the file was missing,
which it wasn't, just in the wrong place.
what to do, any ideas would be appreciated.
thanks ahead
Fr0stee