mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* devfsd 1.3.20 compile error
@ 2001-11-30 21:46 Alan and Vivian Vaughn
  2001-11-30 23:11 ` Richard Gooch
  0 siblings, 1 reply; 3+ messages in thread
From: Alan and Vivian Vaughn @ 2001-11-30 21:46 UTC (permalink / raw)
  To: linux-kernel

I got the following error message when compiling devfsd 1.3.20

cc -O2 -I. -Wall   -DLIBNSL="\"/lib/libnsl.so.1\""   -c -o devfsd.o devfsd.c
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')
make: *** [devfsd.o] Error 1

I am using gcc 2.95.3


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: devfsd 1.3.20 compile error
  2001-11-30 21:46 devfsd 1.3.20 compile error Alan and Vivian Vaughn
@ 2001-11-30 23:11 ` Richard Gooch
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Gooch @ 2001-11-30 23:11 UTC (permalink / raw)
  To: Alan and Vivian Vaughn; +Cc: linux-kernel

Alan and Vivian Vaughn writes:
> I got the following error message when compiling devfsd 1.3.20
> 
> cc -O2 -I. -Wall   -DLIBNSL="\"/lib/libnsl.so.1\""   -c -o devfsd.o devfsd.c
> 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')
> make: *** [devfsd.o] Error 1

Actually, this is the wrong list for such bug reports, hence I've set
Reply-to: devfs@oss.sgi.com

To answer your question: you need modern kernel headers. Something
later than August (2.4 series) should be fine. Either unpack a new
kernel under /usr/src/linux or point the KERNEL_DIR environment
variable to where you've unpacked the new kernel.

				Regards,

					Richard....
Permanent: rgooch@atnf.csiro.au
Current:   rgooch@ras.ucalgary.ca

^ permalink raw reply	[flat|nested] 3+ messages in thread

* devfsd 1.3.20 compile error
@ 2001-11-30 21:51 Alan and Vivian Vaughn
  0 siblings, 0 replies; 3+ messages in thread
From: Alan and Vivian Vaughn @ 2001-11-30 21:51 UTC (permalink / raw)
  To: linux-kernel

I got the following error when I tried to compile devfsd 1.3.20.

cc -O2 -I. -Wall   -DLIBNSL="\"/lib/libnsl.so.1\""   -c -o devfsd.o devfsd.c
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')
make: *** [devfsd.o] Error 1

I am using gcc 2.95.3.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-30 23:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-30 21:46 devfsd 1.3.20 compile error Alan and Vivian Vaughn
2001-11-30 23:11 ` Richard Gooch
2001-11-30 21:51 Alan and Vivian Vaughn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®