Subject: Re: libhack strangeness
To: None <prlw1@cam.ac.uk>
From: abs <abs@mono.org>
List: current-users
Date: 09/22/1999 20:13:54
Could it be some strange fallout of make changes?
Have you rebuilt 'make'?
David/abs david@mono.org
.---- I've been too drunk to love ----.-- I've been too drunk to remember -.
| too drunk to care | the hell of the night before |
| looked like death, felt like hell | I've been drinking myself blind |
`------ been the worse for wear ------'-- and still I'll drink some more --'
On Wed, 22 Sep 1999, Patrick Welche wrote:
> For some strange reason, when building src/distrib/utils/libhack,
>
> SRCS= getcap.c getgrent.c gethost.c getnet.c getnetgr.c getpwent.c \
> localeconv.c perror.c setlocale.c \
> strerror.c strsignal.c utmp.c yplib.c
> .ifndef NOLIBHACKOPENDIR
> SRCS+= opendir.c
> .endif
>
> libhack.o : $(OBJS)
> $(LD) -r -o $@ $(OBJS)
>
> seems to be expanded as
>
> ld -r -o libhack.o getcap.o getgrent.o gethost.o getnet.o getnetgr.o getpwent.o localeconv.o perror.o setlocale.o strerror.o strsignal.o utmp.o yplib.o opendir.o getcap.o getgrent.o gethost.o getnet.o getnetgr.o getpwent.o localeconv.o perror.o setlocale.o strerror.o strsignal.o utmp.o yplib.o opendir.o
>
> ie., I get $(OBJS) twice...
>
> Cheers,
>
> Patrick
>