Subject: Re: dhcp-3.0pl2, fatal compile errors on NetBSD 1.5.3/sparc
To: None <netbsd-help@netbsd.org>
From: =?iso-8859-2?Q?Micha=B3?= Pasternak <michal@pasternak.w.lub.pl>
List: netbsd-help
Date: 06/17/2003 16:46:24
henry nelson [Tue, Jun 17, 2003 at 08:54:45PM +0900]:
> I can't seem to get the latest dhcpd from ISC, "dhcp-3.0pl2", to compile on
> NetBSD 1.5.3/sparc.  Anyone done this and know the workaround?  The dhcpd
> people say it's "a bug in the NetBSD header."  Unfortunately due to various
> hardware restrictions I cannot upgrade to 1.6.1 as they recommend, nor can
> I install pkgsrc.  Thanks for any help.
> 
> henry nelson
> 
> o Error message from the compiler (native "egcs-1.1.2 release") below.
> 
> cc -g  -I/usr/local/wrk/dhcp-3.0pl2  -I/usr/local/wrk/dhcp-3.0pl2/includes
> -Wall -Wstrict-prototypes -Wno-unused -Wno-comment -Wno-uninitialized -Werror
> -Wimplicit-function-declaration -Wpointer-arith -Wcast-qual -Wcast-align
> -Wwrite-strings -Wconversion -Wmissing-prototypes -Wmissing-declarations
> -Wnested-externs -pipe -c icmp.c
> cc1: warnings being treated as errors
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Try to remove -Werror from the above line and recompile. Maybe it will work.

-- 
Michał Pasternak :: http://pasternak.w.lub.pl
Pokaż, lekarzu, co masz w garażu.