From owner-freebsd-current Wed Nov 4 05:25:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA21648 for freebsd-current-outgoing; Wed, 4 Nov 1998 05:25:52 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA21623 for ; Wed, 4 Nov 1998 05:25:47 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.1/8.9.1/Spinner) with ESMTP id VAA29986; Wed, 4 Nov 1998 21:23:25 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199811041323.VAA29986@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: shimon@simon-shapiro.org cc: Mike Smith , current@FreeBSD.ORG, Stephen Hocking-Senior Programmer PGS Tensor Perth Subject: Re: Weird make world error In-reply-to: Your message of "Wed, 04 Nov 1998 08:52:18 EST." Date: Wed, 04 Nov 1998 21:23:25 +0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Simon Shapiro wrote: > > Mike Smith, On 04-Nov-98 you wrote: > > > When doing a make world, it dies with.... > > > > > > > > > > > > ===> sys/modules > > > ===> sys/modules/atapi > > > @ -> /data/src/sys > > > machine -> /data/src/sys/i386/include > > > echo "#define NWDC 2" > wdc.h > > > echo "#define ATAPI 1"> opt_atapi.h > > > cc -O -m486 -pipe -DATAPI_MODULE -DKERNEL -Wreturn-type -Wcomment > > > -Wredundant-decls -Wimplicit -Wnested-externs -Wstrict-prototypes > > > -Wmissing-prototypes -Wpointer-arith -Winline -Wuninitialized -Wformat > > > -fformat-extensions -ansi -DKLD_MODULE -nostdinc -I- > > > -I/usr/obj/elf/data/src/sys/modules/atapi > > > -I/usr/obj/elf/data/src/sys/modules/a > > > tapi/@ -I/usr/obj/elf/data/src/tmp/usr/include -c > > > /data/src/sys/modules/atapi/. > > > ./../i386/isa/atapi.c > > > gensetdefs atapi.o > > > gensetdefs: not found > > > *** Error code 1 > > > > > > Stop. > > > > > > Where's this mysterious gensetdefs supposed to be found? > > > > In /usr/bin. It probably should have been made a bootstrap tool, > > except that there's hope that the new linker-set technique that John > > Polstra has developed will make it obsolete. > > > > You should learn about 'whereis'. > > Not so simple. Whereis finds it. cd /usr/src/sys/modules;make finds it > and build fine. Make buildworld produces this error. It is relatively new > (the build of the 1st did not have this problem. The buildworld environment builds (completely) it's own toolchain and restricts the $PATH to the tools that it has built. When I turned on the src/sys/modules SUBDIR, it (for the first time) needed the gensetdefs command, which was missing from the list of tools needed. "oops". Sorry folks. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message