Re: AIX 5.2/53 issue "Undeclared identifier O_RDWR"

This is a discussion on Re: AIX 5.2/53 issue "Undeclared identifier O_RDWR" within the OpenSSH Development forums, part of the Networking and Network Related category; Judith.Fait@HVBIS.com wrote: > I tried to build on AIX 5.2 and 5.3 and found a ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-16-2006
Darren Tucker
 
Posts: n/a
Default Re: AIX 5.2/53 issue "Undeclared identifier O_RDWR"

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:28 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0