devfs
[Top] [All Lists]

Re: devfsd compilation

To: Sipos Ferenc <sferi@xxxxxxxxxxxxxxxxxx>
Subject: Re: devfsd compilation
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Wed, 9 Jan 2002 08:15:53 -0700
Cc: devfs@xxxxxxxxxxx
In-reply-to: <1010577334.2453.2.camel@zeus.city.tvnet.hu>
References: <1010577334.2453.2.camel@zeus.city.tvnet.hu>
Sender: owner-devfs@xxxxxxxxxxx
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

<Prev in Thread] Current Thread [Next in Thread>