Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 1995 08:43:43 -0800 (PST)
From:      bmk@dtr.com
To:        jfieber@indiana.edu (John Fieber)
Cc:        rgrimes@gndrsh.aac.dev.com, roberto@keltia.freenix.fr, vince@apollo.COSC.GOV, current@FreeBSD.org
Subject:   Re: make world failed with -current
Message-ID:  <199511021643.IAA00686@dtr.com>
In-Reply-To: <Pine.BSF.3.91.951102104139.26095F-100000@fieber-john.campusview.indiana.edu> from "John Fieber" at Nov 2, 95 10:44:01 am

next in thread | previous in thread | raw e-mail | index | archive | help

> On Wed, 1 Nov 1995, Rodney W. Grimes wrote:

> > > Go to /usr/src/usr.bin/sgmlfmt, "make all install", then try again.
> > 
> > Please add sgmlfmt to the ``tools:'' target of /usr/src/Makefile.

> I've asked a couple times about doing this.  The first time received some 
> grumbles, the second time recieved no replies.  Since a source upgrade 
> from 2.0.5 to either stable or current *WILL* break because of this, 
> barring any complaints I will put this in to both current *and* stable.
> Once the sgml tools stablize, they can probably be safely removed from 
> the target.

I've encountered several other problems building -current on a 2.0.5
system.  I've found workarounds for all of them except one.

gnu/usr.bin/groff/pic won't build, it complains of an unterminated
character constant.  (This is using sources obtained via CTM on Oct.
31).

|cc -O -I. -I/usr/src/gnu/usr.bin/groff/pic/../include -DHAVE_UNISTD_H=1
|-DHAVE_DIRENT_H=1 -DHAVE_LIMITS_H=1 -DHAVE_STDLIB_H=1 -DHAVE_SYS_DIR_H=1
|-DHAVE_CC_LIMITS_H=1 -DHAVE_CC_UNISTD_H=1 -DSTDLIB_H_DECLARES_GETOPT=1
|-DUNISTD_H_DECLARES_GETOPT=1 -DSTDLIB_H_DECLARES_PUTENV=1
|-DSTDIO_H_DECLARES_POPEN=1 -DSTDIO_H_DECLARE_PCLOSE=1 -DRETSIGTYPE=void
|-DHAVE_MMAP=1 -DHAVE_RENAME=1 -DHAVE_MKSTEMP=1 -DHAVE_SYS_SIGLIST=1   -c
|pic.c
|pic.y:1630: unterminated character constant
|*** Error code 1

As a workaround, I commented the pic subdir from the groff makefile
and did a make world.  I was then able to compile the sources and get
everything installed.

Now, even running with 2.2-current kernel, libraries, and binaries, I
can't get gnu/usr.bin/groff/pic to compile.  Bummer.

One other problem is that if for whatever reason 'make all' fails to
complete after compiling bin/sh, a 'make clean' must be done in bin/sh
in order to continue the 'make all'.  Is this clear?

|bmk@everest (507) $ cd /usr/src/bin/sh
|bmk@everest (508) $ make all
|cc -O -DSHELL -I. -I/usr/src/bin/sh    -static
|/usr/src/bin/sh/builtins.c  -o /usr/src/bin/sh/builtins
|/usr/lib/scrt0.o: Undefined symbol `_main' referenced from text segment
|/var/tmp/cc0006771.o: Undefined symbol `_bltincmd' referenced from text segment
|/var/tmp/cc0006771.o: Undefined symbol `_bgcmd' referenced from text segment
|/var/tmp/cc0006771.o: Undefined symbol `_breakcmd' referenced from text segment
|/var/tmp/cc0006771.o: Undefined symbol `_cdcmd' referenced from text segment
|/var/tmp/cc0006771.o: Undefined symbol `_dotcmd' referenced from text segment
|/var/tmp/cc0006771.o: Undefined symbol `_echocmd' referenced from text segment




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199511021643.IAA00686>