Sipos Ferenc writes:
> Hi!
>
> I've tried to compile devfsd 1.3.20 with gcc 2.96-101 or gcc pre3.1 and
> it gives me the following error:
> devfsd.c:480: `DEVFSD_NOTIFY_DELETE' undeclared here (not in a function)
> devfsd.c:480: initializer element is not constant
> devfsd.c:480: (near initialization for `event_types[7].type')
> devfsd.c:480: initializer element is not constant
> devfsd.c:480: (near initialization for `event_types[7]')
> devfsd.c:481: initializer element is not constant
> devfsd.c:481: (near initialization for `event_types[8]')
> make: *** [devfsd.o] Error 1
>
> It stops here. It's a redhat 7.2 athlon system with 2.4.18pre1 kernel.
> What's wrong?
Your kernel headers are out of date. Install your kernel headers under
/usr/include/linux, or pass KERNEL_DIR when building devfsd.
Regards,
Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current: rgooch@xxxxxxxxxxxxxxx
|