First I apologize for not keeping the same thread going here. I'm on
different machines today and can't use reply.
I wrote earlier:
> When I try to build anything in cmd/* the build fails. I do:
>
> autoconf
> configure --prefix=/usr
> make
I know 'make' should do all this but I wanted to specify --prefix (wasn't
sure what the default is).
> Make dies with:
>
> root@growler:/usr/src/linux-2.4-xfs/cmd/xfsprogs# make
> === include ===
> gcc: default: No such file or directory
> make: *** [default] Error 1
I am using Slackware 7.1. make --version = GNU Make version 3.79. I had
to link kgcc to gcc (egcs-2.91.66) to build the kernel (which built fine).
I built the xfsprogs without problem with the beta release. This is from
last night cvs.
The first rule in cmd/xfsprogs/Makefile is
default: $(CONFIGURE)
ifeq ($(HAVE_BUILDDEFS), no)
$(MAKE) -C . $@
else
$(SUBDIRS_MAKERULE)
endif
and then later down:
install: default
$(SUBDIRS_MAKERULE)
(etc...)
It looks like make is trying to build a file called 'default' which in
cmd/xfsprogs/include/Makefile is the first rule:
default install :
the above line looks wrong?
James Rich
james.rich@xxxxxxxxxxxxx
|