Judith.Fait@HVBIS.com wrote:
> I tried to build on AIX 5.2 and 5.3 and found a problem with
> openssh-4.4p1 / openssl-0.9.8d during make:

[...]
> /usr/bin/gcc -g -O2 -Wall -Wpointer-arith -Wuninitialized
> -Wsign-compare -I. -I.. -I. -I./.. -DHAVE_CONFIG_H -c daemon.c
> daemon.c:81: warning: implicit declaration of function `open'
> daemon.c:81: error: `O_RDWR' undeclared (first use in this function)
> daemon.c:81: error: (Each undeclared identifier is reported only once
> daemon.c:81: error: for each function it appears in.)
> make: 1254-004 The error code from the last command is 1.


That's kinda odd, it ought to be declared in fcntl.h. What is
HAVE_FCNTL_H set to in config.h? For that matter do you have a
/usr/include/fcntl.h file?

--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
http://lists.mindrot.org/mailman/lis...enssh-unix-dev