automake
[Top][All Lists]
Advanced

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

Re: ultrix and 'missing'?


From: Harlan Stenn
Subject: Re: ultrix and 'missing'?
Date: Thu, 10 May 2001 20:18:32 -0400

Here's the current info.

% make
...
make[2]: Leaving directory `/pogo/users/stenn/ntp/A.rackety/librsaref'
Making all in libntp
make[2]: Entering directory `/pogo/users/stenn/ntp/A.rackety/libntp'
source='a_md5encrypt_.c' object='a_md5encrypt_.o' libtool=no \
depfile='.deps/a_md5encrypt_.Po' tmpdepfile='.deps/a_md5encrypt_.TPo' \
depmode=none /bin/sh ../../depcomp \
cc -DHAVE_CONFIG_H -I. -I../../libntp -I.. -I../../include
-I../../librsaref    -g -c `test -f a_md5encrypt_.c || echo
'../../libntp/'`a_md5encrypt_.c
cc -E -DHAVE_CONFIG_H -I. -I../../libntp -I.. -I../../include
-I../../librsaref   `if test -f ../../libntp/adjtime.c; then echo
../../libntp/adjtime.c; else echo adjtime.c; fi` | sed 's/^#
\([0-9]\)/#line \1/' | ../util/ansi2knr > adjtime_.c
/bin/sh: ../util/ansi2knr: not found
make[2]: *** [adjtime_.c] Error 1
make[2]: Leaving directory `/pogo/users/stenn/ntp/A.rackety/libntp'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/pogo/users/stenn/ntp/A.rackety'
make: *** [all] Error 2

2 problems.  First, since ../util/ansi2knr isn't found, an "empty"
foo_.c file gets created.  I think the line needs "... || rm foo_.c"
stapled on the end.

Second, there seems to be a dependency problem.  If I "cd" to the
directory:

address@hidden> make -n ../util/ansi2knr
cd ../util && make  ansi2knr
make[1]: Entering directory `/pogo/users/stenn/ntp/A.rackety/util'
source='../../util/ansi2knr.c' object='ansi2knr.o' libtool=no \
depfile='.deps/ansi2knr.Po' tmpdepfile='.deps/ansi2knr.TPo' \
depmode=none /bin/sh ../../depcomp \
cc -DHAVE_CONFIG_H -I. -I../../util -I.. -I../../include
-I../../librsaref    -g -c `test -f ../../util/ansi2knr.c || echo
'../../util/'`../../util/ansi2knr.c
cc  -g   -o ansi2knr ansi2knr.o -lkvm 
make[1]: Leaving directory `/pogo/users/stenn/ntp/A.rackety/util'
address@hidden> 

which is what I would epxect.

The strange thing is that the Makefile contains:

adjtime_.c: adjtime.c $(ANSI2KNR)
        $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS)
$(CPPFLAGS
) `if test -f $(srcdir)/adjtime.c; then echo $(srcdir)/adjtime.c; else
echo adjt
ime.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > adjtime_.c

which is just what I would expect, but the dependency on $(ANSI2KNR)
does not appear to be "handled".  I'm using GNU make, 3.76.1, and this
worked just fine until  just recently with the CVS automake.

I'll see what else I can dig up, and I'm getting brain fried.

Harlan



reply via email to

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