Subject: Problems compiling programs after 1.3.3 -> 1.4.2 upgrade :(
To: None <netbsd-help@netbsd.org>
From: mad scientist <ikhala@osibisa.cl.msu.edu>
List: netbsd-help
Date: 09/11/2000 02:21:33
Hello,
I'm having problems compiling anything out of pkgsrc since upgrading
from 1.3.1 to 1.4.2 (netbsd-sparc).  Compiles always blow up in the
same spot whenever a program includes unistd.h I continually get
a syntax error before ualarm.  For instance:

cc -c -I.. -I. -I.  -DHAVE_CONFIG_H -O2 builtin.c
In file included from system.h:55,
                 from zsh.h:59,
				 from builtin.c:30:
/usr/include/unistd.h:253: syntax error before `ualarm'
/usr/include/unistd.h:253: warning: parameter names (without types) in function declaration
/usr/include/unistd.h:253: warning: data definition has no type or storage class
/usr/include/unistd.h:254: warning: parameter names (without types) in function declaration
builtin.c: In function `bin_echotc':
builtin.c:4508: warning: passing arg 3 of `tputs' from incompatible pointer type
builtin.c:4511: warning: passing arg 3 of `tputs' from incompatible pointer type
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

I've checked the archives and did find someone with a similar problem, but they were
attempting to build an elf binary, but the problem seem to be that their include files
were out of sync with their libraries.  I'm rebuilding the system from the sources
now, but any other suggestions/insights are welcome :) :) :)

#;^)
-- 
	 A _Real_ Operating System for _Real_ Hackers.
	 ____ __   _  ____ __ __ ___  ___   ___
	 ___ /  | / /__  _/ /_  /   |/ __\ / _ |
	 __ /   |/ // _\/_  _/ / ' / \_ \ / /  /
	 _ / /|   // __/ / /_ / , | __/ // / ,/
	  /_/ |__/_\__/__\__//___/__\__//___'

	 With many thanks to the core team and UCB CSRG.