Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2003 20:33:35 -0500 (EST)
From:      doug@safeport.com
To:        freebsd-stable@freebsd.org
Subject:   buildworld error updating 4.6 --> stable
Message-ID:  <20030316192318.O14340@pemaquid.safeport.com>

next in thread | raw e-mail | index | archive | help
The error I get from make buildworld is:

echo "===> lib/libncurses";  cd /usr/src/lib/libncurses;  make
DIRPRFX=lib/libncurses/ depend;  make DIRPRFX=lib/libncurses/ all;  make
DIRPRFX=lib/libncur
ses/ install
===> lib/libncurses
  :
cc -o make_keys -O -pipe  -I. -I/usr/src/lib/libncurses  -I/usr/src/lib/libncurses/../../contrib/ncurses/ncurses
-I/usr/src/lib/libncurses/../../contrib/ncurses/include -Wall -DFREEBSD_NATIVE -DNDEBUG -DHAVE_CONFIG_H -DTERMIOS
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c
/usr/obj/usr/src/i386/usr/libexec/elf/ld: cannot find -lc
*** Error code 1

I do a cd to cd /usr/src/lib/libncurses and execute the failing compile I
get:

In file included from
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/curses.priv.h:52,
                 from
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c:38:
ncurses_cfg.h:140: ncurses_def.h: No such file or directory
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c:42:
names.c: No such file or directory
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c: In
function `lookup':
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c:50:
`strnames' undeclared (first use in this function)
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c:50:
(Each undeclared identifier is reported only once
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c:50: for
each function it appears in.)
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c:57:
`strfnames' undeclared (first use in this function)
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c: In
function `make_keys':
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c:79:
`strnames' undeclared (first use in this function)
/usr/src/lib/libncurses/../../contrib/ncurses/ncurses/tinfo/make_keys.c:79:
`strfnames' undeclared (first use in this function)

I apologize for the crummy formatting, I do not know how to make it more
readable. But the result is lots of compile errors.

The target system is 4.6. last updated around Jul 25, 2002. /usr/src is a fresh
cvsup (I accidently deleted /usr/src trying to clean up after I got the error
the first time):

  *default host=cvsupxx.FreeBSD.org
  *default base=/usr
  *default prefix=/usr
  # The following line is for 4-stable.  If you want 3.x-stable, change
  # "RELENG_4" to "RELENG_3".
  *default release=cvs tag=RELENG_4
  *default date=2003.03.08.10.10.00
  *default delete use-rel-suffix
    :
  src-all

make.conf:

  CFLAGS= -O -pipe
  #
  # Avoid compiling profiled libraries
  NOPROFILE=      true

I diff'd /etc/defaults/make.conf and /usr/src/etc/defaults/make.conf. The
differences were sendmail defaults and comments.

I have done this same update on 4-5 other systems so I assume the difference
(problem??) lies in the target system, but I do not know where else to look.

Should I make some intermediate updates, i.e. 4.6.2 ??


_____
Douglas Denault
doug@safeport.com
Voice: 301-469-8766
  Fax: 301-469-0601

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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