AIX 5.2/53 issue "Undeclared identifier O_RDWR"

Judith.Fait at HVBIS.com Judith.Fait at HVBIS.com
Tue Oct 17 00:40:59 EST 2006


Hi,

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:

when using gcc I get

make
        echo

        (cd openbsd-compat && 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.


(using IBMs  vac:

"openbsd-compat/daemon.c", line 81.51: 1506-045 (S) Undeclared
identifier O_RDWR.)

Any help would be appreciated 

regards,

J. Fait









More information about the openssh-unix-dev mailing list