From owner-freebsd-current Sat Feb 3 07:34:34 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id HAA05490 for current-outgoing; Sat, 3 Feb 1996 07:34:34 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id HAA05437 for ; Sat, 3 Feb 1996 07:34:23 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id QAA03155; Sat, 3 Feb 1996 16:34:15 +0100 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id QAA26611; Sat, 3 Feb 1996 16:34:14 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.3/8.6.9) id QAA11512; Sat, 3 Feb 1996 16:23:00 +0100 (MET) From: J Wunsch Message-Id: <199602031523.QAA11512@uriah.heep.sax.de> Subject: Re: Problems with compiling current (Feb 1) To: wolpert@osti.rmt.utk.edu (Edward Wolpert) Date: Sat, 3 Feb 1996 16:23:00 +0100 (MET) Cc: current@freebsd.org Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199602031301.IAA07812@osti.rmt.utk.edu> from "Edward Wolpert" at Feb 3, 96 08:01:02 am X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-current@freebsd.org Precedence: bulk As Edward Wolpert wrote: > > Thanks, the new config was the problem. My 'make world' failed at making > /bin/sh, (and tn3270, but that's a different story) The /bin/sh problem > was after the make depend went, the make started, and I got the following: > > --Cut here--> > cc -O -DSHELL -I. -I/usr/src/bin/sh -static /usr/src/bin/sh/mkinit.c -o mkinit > cc -O -DSHELL -I. -I/usr/src/bin/sh -static /usr/src/bin/sh/builtins.c -o /usr/src/bin/sh/builtins > /usr/lib/crt0.o: Undefined symbol `_main' referenced from text segment > /var/tmp/cc0076051.o: Undefined symbol `_bltincmd' referenced from text segment > /var/tmp/cc0076051.o: Undefined symbol `_bgcmd' referenced from text segment This was a problem with the Makefile. As a side-effect of some other work, i've committed a fix for this problem an hour ago. For the curious: our /usr/share/mk files now define a default rule for compiling `foo.c' into `foo'. This used to be broken for a long time, but it's fixed now. In the above case, the shell script `builtins' is used to create the source file `builtins.c'. Once this file is there after the first run, make attempts to rebuild the (outdated :) script `builtins' from the C ``source''. The fix was to add a null rule for `builtins'. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)