Date: Tue, 28 Aug 2001 19:17:11 +0300 From: Lauri Laupmaa <mauri@inspiral.net> To: stable@freebsd.org Subject: /usr/src & /usr/obj as links - no go :( Message-ID: <3B8BC406.2F547BD7@inspiral.net>
next in thread | raw e-mail | index | archive | help
--------------990979C33F156506F0BEFAC3 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Found some buglike problem. I have linked src and obj dirs under /usr like: obj -> /d01/obj src -> /home/src Last time I used this was 4.1.1-STABLE, built world & kernel OK I know that todays source is also ok, because I built wotld & kernel on anouther machine without a hitch. Now this does not work anymore, with buildworld I get: cc -O -pipe -D_GNU_SOURCE -I- -I. -I/home/src/gnu/usr.bin/binutils/ld/i386 -I/home/src/gnu/usr.bin/binutils/ld -I/home/src/gnu/usr.bin/binutils/ld/../libbfd/i386 -I/home/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include -DDEFAULT_EMULATION=\"elf_i386\" -DTARGET=\"i386-unknown-freebsd\" -DSCRIPTDIR=\"/usr/obj/home/src/i386/usr/libdata\" -I/home/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld -I/home/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -I/home/src/gnu/usr.bin/binutils/ld/../../../../include -DVERSION=\""2.11.2 20010719 [FreeBSD]"\" -DBFD_VERSION=\""2.11.2 20010719 [FreeBSD]"\" -I/usr/obj/home/src/i386/usr/include -static -o ld eelf_i386.o ldcref.o ldctor.o ldemul.o ldexp.o ldfile.o ldgram.o ldlang.o ldlex.o ldmain.o ldmisc.o ldver.o ldwrite.o lexsup.o mri.o ../libbfd/libbfd.a ../libiberty/libiberty.a eelf_i386.o: In function `gldelf_i386_open_dynamic_archive': eelf_i386.o(.text+0xc7b): undefined reference to `basename' *** Error code 1 Stop in /home/src/gnu/usr.bin/binutils/ld. *** Error code 1 Stop in /home/src/gnu/usr.bin/binutils. *** Error code 1 Stop in /home/src. With buildkernel I get: In file included from /home/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/fil.c:71: /home/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_compat.h:297: osreldate.h: No such file or directory mkdep: compile failed *** Error code 1 Stop in /home/src/sys/modules/ipfilter. *** Error code 1 Stop in /home/src/sys/modules. *** Error code 1 Stop in /d01/obj/home/src/sys/XWEB. *** Error code 1 Stop in /home/src. *** Error code 1 Stop in /home/src. I cvsupped today and I dont have enough space under /usr to build world there :( Is there a workaround ? Am I missing something obvious ? TIA -- L. --------------990979C33F156506F0BEFAC3 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit <!doctype html public "-//w3c//dtd html 4.0 transitional//en"> <html> Hi <p>Found some buglike problem. I have linked src and obj dirs under /usr like: <br>obj -> /d01/obj <br>src -> /home/src <p>Last time I used this was 4.1.1-STABLE, built world & kernel OK <br>I know that todays source is also ok, because I built wotld & kernel on anouther machine without a hitch.<b></b> <p><b>Now this does not work anymore, with buildworld I get:</b> <p>cc -O -pipe -D_GNU_SOURCE -I- -I. -I/home/src/gnu/usr.bin/binutils/ld/i386 -I/home/src/gnu/usr.bin/binutils/ld -I/home/src/gnu/usr.bin/binutils/ld/../libbfd/i386 -I/home/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/include -DDEFAULT_EMULATION=\"elf_i386\" -DTARGET=\"i386-unknown-freebsd\" -DSCRIPTDIR=\"/usr/obj/home/src/i386/usr/libdata\" -I/home/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/ld -I/home/src/gnu/usr.bin/binutils/ld/../../../../contrib/binutils/bfd -I/home/src/gnu/usr.bin/binutils/ld/../../../../include -DVERSION=\""2.11.2 20010719 [FreeBSD]"\" -DBFD_VERSION=\""2.11.2 20010719 [FreeBSD]"\" -I/usr/obj/home/src/i386/usr/include -static -o ld eelf_i386.o ldcref.o ldctor.o ldemul.o ldexp.o ldfile.o ldgram.o ldlang.o ldlex.o ldmain.o ldmisc.o ldver.o ldwrite.o lexsup.o mri.o ../libbfd/libbfd.a ../libiberty/libiberty.a <br>eelf_i386.o: In function `gldelf_i386_open_dynamic_archive': <br>eelf_i386.o(.text+0xc7b): undefined reference to `basename' <br>*** Error code 1 <p>Stop in /home/src/gnu/usr.bin/binutils/ld. <br>*** Error code 1 <p>Stop in /home/src/gnu/usr.bin/binutils. <br>*** Error code 1 <p>Stop in /home/src. <p><b>With buildkernel I get:</b> <p>In file included from /home/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/fil.c:71: <br>/home/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_compat.h:297: osreldate.h: No such file or directory <br>mkdep: compile failed <br>*** Error code 1 <p>Stop in /home/src/sys/modules/ipfilter. <br>*** Error code 1 <p>Stop in /home/src/sys/modules. <br>*** Error code 1 <p>Stop in /d01/obj/home/src/sys/XWEB. <br>*** Error code 1 <p>Stop in /home/src. <br>*** Error code 1 <p>Stop in /home/src. <p>I cvsupped today and I dont have enough space under /usr to build world there :( <br>Is there a workaround ? Am I missing something obvious ? <p>TIA <br>-- <br>L. <br> </html> --------------990979C33F156506F0BEFAC3-- 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?3B8BC406.2F547BD7>