On Sun, Apr 28, 2002 at 10:27:10PM -0600, Kenneth D. Merry wrote: > > I'm trying to build -current from today (4/28/2002) on a -stable box with a > kernel/world from April 25th. > > It blows up in xlint: > > ============================================================================== > cc -O -pipe -I. -I/c/ken/perforce/FreeBSD-ken/src/usr.bin/xlint/lint1 >-I/c/ken/perforce/FreeBSD-ken/src/usr.bin/xlint/lint1/../arch/i386 >-I/c/ken/perforce/FreeBSD-ken/src/usr.bin/xlint/lint1/../common -D__FBSDID=__RCSID > -static -o lint1 cgram.o scan.o mem1.o mem.o err.o main1.o decl.o tree.o func.o >init.o emit.o emit1.o inittyp.o -ll -lm > cgram.o: In function `yyparse': > cgram.o(.text+0x10b8): undefined reference to `xcalloc' > cgram.o(.text+0x10f0): undefined reference to `xcalloc' > scan.o: In function `ccon': > scan.o(.text+0x23f7): undefined reference to `xcalloc' > func.o: In function `label': > func.o(.text+0x6a8): undefined reference to `xcalloc' > init.o: In function `prepinit': > init.o(.text+0x78): undefined reference to `xcalloc' > init.o(.text+0x214): more undefined references to `xcalloc' follow > emit.o: In function `outopen': > emit.o(.text+0x4f): undefined reference to `xmalloc' > emit.o: In function `outxbuf': > emit.o(.text+0xd4): undefined reference to `xrealloc' > emit1.o: In function `ttos': > emit1.o(.text+0x2d5): undefined reference to `xmalloc' > *** Error code 1 > > Stop in /c/ken/perforce/FreeBSD-ken/src/usr.bin/xlint/lint1. > *** Error code 1 > > Stop in /c/ken/perforce/FreeBSD-ken/src. > *** Error code 1 > > Stop in /c/ken/perforce/FreeBSD-ken/src. > *** Error code 1 > > Stop in /c/ken/perforce/FreeBSD-ken/src. > ============================================================================== > > Am I doing something wrong here or is building -current on -stable broken? > Seems to work OK here; xcalloc() and xmalloc() are defined in mem.c.
Cheers, -- Ruslan Ermilov Sysadmin and DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age
msg37842/pgp00000.pgp
Description: PGP signature