Date: Sat, 3 Feb 1996 16:23:00 +0100 (MET) From: J Wunsch <j@uriah.heep.sax.de> To: wolpert@osti.rmt.utk.edu (Edward Wolpert) Cc: current@freebsd.org Subject: Re: Problems with compiling current (Feb 1) Message-ID: <199602031523.QAA11512@uriah.heep.sax.de> In-Reply-To: <199602031301.IAA07812@osti.rmt.utk.edu> from "Edward Wolpert" at Feb 3, 96 08:01:02 am
next in thread | previous in thread | raw e-mail | index | archive | help
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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602031523.QAA11512>