%% Christian Krackowizer <[EMAIL PROTECTED]> writes:

  ck> I've problems compiling 3.80 on Ultrix 4.3. Compiler is gcc 2.5.3
  ck> 3.80 built well on Dec OSF 1 3.2C, AIX 4.1.5 and HP-UX 10.20 using
  ck> the same compiler.  If you need further information please let me
  ck> know

  >> main.c: In function `open_tmpfile':
  >> main.c:818: `O_CREAT' undeclared (first use in this function)
  >> main.c:818: (Each undeclared identifier is reported only once
  >> main.c:818: for each function it appears in.)
  >> main.c:818: `O_EXCL' undeclared (first use in this function)
  >> main.c:818: `O_WRONLY' undeclared (first use in this function)

Hm.  First, please forward me your config.h file (just send it to me
directly, you don't need to send it to the list).


Then, take a look at line 44 of the file main.c.  It will look like
this:

  #if defined(MAKE_JOBSERVER) && defined(HAVE_FCNTL_H)

Try changing this line to just:

  #if defined(HAVE_FCNTL_H)

and see if that helps... does it work now?

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[EMAIL PROTECTED]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist


_______________________________________________
Bug-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-make

Reply via email to