From owner-freebsd-bugs Sun Feb 13 0:16:12 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from netcore.fi (netcore.fi [193.94.160.1]) by builder.freebsd.org (Postfix) with ESMTP id 0916A4130; Sun, 13 Feb 2000 00:15:50 -0800 (PST) Received: from unf (netcore.fi [193.94.160.1]) by netcore.fi (8.9.3/8.9.3) with SMTP id KAA19664; Sun, 13 Feb 2000 10:15:53 +0200 Message-Id: <3.0.6.32.20000213101319.0080d910@netcore.home> X-Sender: pekkas@netcore.home X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32) Date: Sun, 13 Feb 2000 10:13:19 +0200 To: mharo@freebsd.org From: Pekka Savola Subject: 3.4-STABLE bin/df compile error in 'make upgrade' from 2.2.6-REL Cc: freebsd-stable@freebsd.org, freebsd-bugs@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I was upgrading a 2.2.6-RELEASE (GENERIC kernel) to 3.4-STABLE (CVSup'ed previously today) until I got into problems (fixed the typo with games/wargames by hand first). bin/df/Makefile is: # $FreeBSD: src/bin/df/Makefile,v 1.7.2.2 2000/01/23 03:19:33 mharo Exp $ make upgrade [at least 5 hours of code crunching] ----- ===> bin/df cc -nostdinc -O -pipe -I/usr/src/bin/df/../../sbin/mount -Wall -Wformat -I/usr/obj/aout/usr/src/tmp/usr/include -c /usr/src/bin/df/df.c cc -nostdinc -O -pipe -I/usr/src/bin/df/../../sbin/mount -Wall -Wformat -I/usr/obj/aout/usr/src/tmp/usr/include -c /usr/src/bin/df/../../sbin/mount/vfslist.c cc -nostdinc -O -pipe -I/usr/src/bin/df/../../sbin/mount -Wall -Wformat -I/usr/obj/aout/usr/src/tmp/usr/include -static -o df df.o vfslist.o df.o: Undefined symbol `_ilogb' referenced from text segment *** Error code 1 ---- And halt ;<. I tried compiling bin/df by hand, and edited the makefile a bit (added -I/usr/obj/aout... -nostdinc -pipe, but then I get an other error message (note! there also seem to be /usr/lib/libm.a there, dunno why): ----- Warning: Object directory not changed from original /usr/src/bin/df cc -O -I/usr/src/bin/df/../../sbin/mount -I/usr/obj/aout/usr/src/tmp/usr/include -nostdinc -pipe -Wall -Wformat -Wall -Wformat -c df.c cc -O -I/usr/src/bin/df/../../sbin/mount -I/usr/obj/aout/usr/src/tmp/usr/include -nostdinc -pipe -Wall -Wformat -Wall -Wformat -c /usr/src/bin/df/../../sbin/mount/vfslist.c cc -O -I/usr/src/bin/df/../../sbin/mount -I/usr/obj/aout/usr/src/tmp/usr/include -nostdinc -pipe -Wall -Wformat -Wall -Wformat -static -o df df.o vfslist.o /usr/lib/libm.a df.o: Undefined symbol `___error' referenced from text segment df.o: Undefined symbol `___error' referenced from text segment df.o: Undefined symbol `___error' referenced from text segment *** Error code 1 ----- Without any Makefile tweaks: ----- Warning: Object directory not changed from original /usr/src/bin/df cc -O -I/usr/src/bin/df/../../sbin/mount -Wall -Wformat -Wall -Wformat -c df.c In file included from df.c:57: /usr/include/ufs/ufs/ufsmount.h:63: `MAXQUOTAS' undeclared here (not in a function) /usr/include/ufs/ufs/ufsmount.h:64: `MAXQUOTAS' undeclared here (not in a function) /usr/include/ufs/ufs/ufsmount.h:68: `MAXQUOTAS' undeclared here (not in a function) /usr/include/ufs/ufs/ufsmount.h:69: `MAXQUOTAS' undeclared here (not in a function) /usr/include/ufs/ufs/ufsmount.h:70: `MAXQUOTAS' undeclared here (not in a function) /usr/include/ufs/ufs/ufsmount.h:71: field `um_export' has incomplete type df.c: In function `main': df.c:212: warning: implicit declaration of function `mkdtemp' df.c:212: warning: assignment makes pointer from integer without a cast df.c:220: warning: passing arg 1 of `mount' makes integer from pointer without a cast df.c: In function `regetmntinfo': df.c:289: structure has no member named `f_fstypename' df.c: In function `ufs_df': df.c:456: structure has no member named `f_fstypename' *** Error code 1 ----- So, it seems 'make upgrades' from some 2.2.X systems at least are broken. Compiling bin/df on my ELF system works fine. Any ideas? I hope this can be fixed soon. BTW, is there any way to continue 'make upgrade' from where this left off or do I have start from scratch? E.g. 'make -i world' always deletes the old obj directory, this probably does too? TIA, Regards Pekka Pekka Savola pekkas@netcore.fi --- Across the nations the stories spread like spiderweb laid upon spiderweb, and men and women planned the future, believing they knew truth. They planned, and the Pattern absorbed their plans, weaving toward the future foretold. -- Robert Jordan: The Path of Daggers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message