bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make 3.80 on Ultrix 4.3


From: Paul D. Smith
Subject: Re: make 3.80 on Ultrix 4.3
Date: Tue, 8 Jul 2003 08:36:48 -0400

%% Christian Krackowizer <address@hidden> 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 <address@hidden>          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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]