On Fri, Jun 25, 2010 at 11:47:59AM +0200, Dag-Erling Smørgrav wrote: > Anton Shterenlikht <mexas_at_bristol.ac.uk> writes: > > So, just for me to be clear, I need to proceed with the buildworld, > > until I get the error, and then, without cleaning anything, do > > > > % cd /usr/src > > % make buildenv > > % cd rescue/rescue > > % make > > > > Is that correct? > > Yes. Then you take the cc comand line that failed and run it again with > the -v option and show us the output. ok, sorry, here it is. So starting with a clean src r209203 copy, and with /usr/obj/* wiped, "make -j1 buildworld" ends in cc -static -o rescue rescue.o cat.lo chflags.lo chio.lo chmod.lo cp.lo date.lo dd.lo df.lo echo.lo ed.lo expr.lo getfacl.lo hostname.lo kenv.lo kill.lo ln.lo ls.lo mkdir.lo mv.lo pkill.lo ps.lo pwd.lo realpath.lo rm.lo rmdir.lo setfacl.lo sh.lo stty.lo sync.lo test.lo rcp.lo csh.lo atacontrol.lo badsect.lo camcontrol.lo ccdconfig.lo clri.lo devfs.lo dmesg.lo dump.lo dumpfs.lo dumpon.lo fsck.lo fsck_ffs.lo fsck_msdosfs.lo fsdb.lo fsirand.lo gbde.lo geom.lo ifconfig.lo init.lo kldconfig.lo kldload.lo kldstat.lo kldunload.lo ldconfig.lo md5.lo mdconfig.lo mdmfs.lo mknod.lo mount.lo mount_cd9660.lo mount_msdosfs.lo mount_nfs.lo mount_ntfs.lo mount_nullfs.lo mount_udf.lo mount_unionfs.lo newfs.lo newfs_msdos.lo nos-tun.lo ping.lo reboot.lo restore.lo rcorder.lo route.lo routed.lo rtquery.lo rtsol.lo savecore.lo spppcontrol.lo swapon.lo sysctl.lo tunefs.lo umount.lo atmconfig.lo ping6.lo ipf.lo zfs.lo zpool.lo mca.lo dhclient.lo head.lo mt.lo sed.lo tail.lo tee.lo gzip.lo bzip2.lo xz.lo tar.lo vi.lo id.lo chroot.lo chown.lo /usr/obj/usr/src/rescue/rescue/../librescue/exec.o /usr/obj/usr/src/rescue/rescue/../librescue/getusershell.o /usr/obj/usr/src/rescue/rescue/../librescue/login_class.o /usr/obj/usr/src/rescue/rescue/../librescue/popen.o /usr/obj/usr/src/rescue/rescue/../librescue/rcmdsh.o /usr/obj/usr/src/rescue/rescue/../librescue/sysctl.o /usr/obj/usr/src/rescue/rescue/../librescue/system.o -lcrypt -ledit -lkvm -ll -ltermcap -lutil -lalias -lcam -lcurses -ldevstat -lipsec -lipx -lzfs -lnvpair -luutil -lavl -lgeom -lbsdxml -ljail -lkiconv -lmd -lreadline -lsbuf -lufs -lz -lbz2 -llzma -larchive -lcrypto -lm xz.lo(.text+0x5202): In function `hardware_init': : undefined reference to `lzma_physmem' Then doing # make buildenv # cd rescue/rescue # make gives what looks like the same error message: cc -static -o rescue rescue.o cat.lo chflags.lo chio.lo chmod.lo cp.lo date.lo dd.lo df.lo echo.lo ed.lo expr.lo getfacl.lo hostname.lo kenv.lo kill.lo ln.lo ls.lo mkdir.lo mv.lo pkill.lo ps.lo pwd.lo realpath.lo rm.lo rmdir.lo setfacl.lo sh.lo stty.lo sync.lo test.lo rcp.lo csh.lo atacontrol.lo badsect.lo camcontrol.lo ccdconfig.lo clri.lo devfs.lo dmesg.lo dump.lo dumpfs.lo dumpon.lo fsck.lo fsck_ffs.lo fsck_msdosfs.lo fsdb.lo fsirand.lo gbde.lo geom.lo ifconfig.lo init.lo kldconfig.lo kldload.lo kldstat.lo kldunload.lo ldconfig.lo md5.lo mdconfig.lo mdmfs.lo mknod.lo mount.lo mount_cd9660.lo mount_msdosfs.lo mount_nfs.lo mount_ntfs.lo mount_nullfs.lo mount_udf.lo mount_unionfs.lo newfs.lo newfs_msdos.lo nos-tun.lo ping.lo reboot.lo restore.lo rcorder.lo route.lo routed.lo rtquery.lo rtsol.lo savecore.lo spppcontrol.lo swapon.lo sysctl.lo tunefs.lo umount.lo atmconfig.lo ping6.lo ipf.lo zfs.lo zpool.lo mca.lo dhclient.lo head.lo mt.lo sed.lo tail.lo tee.lo gzip.lo bzip2.lo xz.lo tar.lo vi.lo id.lo chroot.lo chown.lo /usr/obj/usr/src/rescue/rescue/../librescue/exec.o /usr/obj/usr/src/rescue/rescue/../librescue/getusershell.o /usr/obj/usr/src/rescue/rescue/../librescue/login_class.o /usr/obj/usr/src/rescue/rescue/../librescue/popen.o /usr/obj/usr/src/rescue/rescue/../librescue/rcmdsh.o /usr/obj/usr/src/rescue/rescue/../librescue/sysctl.o /usr/obj/usr/src/rescue/rescue/../librescue/system.o -lcrypt -ledit -lkvm -ll -ltermcap -lutil -lalias -lcam -lcurses -ldevstat -lipsec -lipx -lzfs -lnvpair -luutil -lavl -lgeom -lbsdxml -ljail -lkiconv -lmd -lreadline -lsbuf -lufs -lz -lbz2 -llzma -larchive -lcrypto -lm xz.lo(.text+0x5202): In function `hardware_init': : undefined reference to `lzma_physmem' Finally repeating the last command with added -v flag gives: # cc -v -static -o rescue rescue.o cat.lo chflags.lo chio.lo chmod.lo cp.lo date.lo \ dd.lo df.lo echo.lo ed.lo expr.lo getfacl.lo hostname.lo kenv.lo kill.lo ln.lo \ ls.lo mkdir.lo mv.lo pkill.lo ps.lo pwd.lo realpath.lo rm.lo rmdir.lo setfacl.lo \ sh.lo stty.lo sync.lo test.lo rcp.lo csh.lo atacontrol.lo badsect.lo camcontrol.lo \ ccdconfig.lo clri.lo devfs.lo dmesg.lo dump.lo dumpfs.lo dumpon.lo fsck.lo \ fsck_ffs.lo fsck_msdosfs.lo fsdb.lo fsirand.lo gbde.lo geom.lo ifconfig.lo init.lo \ kldconfig.lo kldload.lo kldstat.lo kldunload.lo ldconfig.lo md5.lo mdconfig.lo mdmfs.lo \ > mknod.lo mount.lo mount_cd9660.lo mount_msdosfs.lo mount_nfs.lo mount_ntfs.lo \ mount_nullfs.lo mount_udf.lo mount_unionfs.lo newfs.lo newfs_msdos.lo nos-tun.lo \ ping.lo reboot.lo restore.lo rcorder.lo route.lo routed.lo rtquery.lo rtsol.lo \ > savecore.lo spppcontrol.lo swapon.lo sysctl.lo tunefs.lo umount.lo atmconfig.lo \ ping6.lo ipf.lo zfs.lo zpool.lo mca.lo dhclient.lo head.lo mt.lo sed.lo tail.lo tee.lo \ gzip.lo bzip2.lo xz.lo tar.lo vi.lo id.lo chroot.lo chown.lo \ > /usr/obj/usr/src/rescue/rescue/../librescue/exec.o \ /usr/obj/usr/src/rescue/rescue/../librescue/getusershell.o \ /usr/obj/usr/src/rescue/rescue/../librescue/login_class.o \ /usr/obj/usr/src/rescue/resque/../librescue/popen.o \ > /usr/obj/usr/src/rescue/rescue/../librescue/rcmdsh.o \ /usr/obj/usr/src/rescue/rescue/../librescue/sysctl.o \ /usr/obj/usr/src/rescue/rescue/../librescue/system.o \ -lcrypt -ledit -lkvm -ll -ltermcap -lutil -lalias -lcam -lcurses -ldevstat -lipsec \ -lipx -lzfs -lnvpair -luutil -lavl -lgeom -lbsdxml -ljail -lkiconv -lmd -lreadline \ -lsbuf -lufs -lz -lbz2 -llzma -larchive -lcrypto -lmcc: rescue.o: No such file or directory cc: cat.lo: No such file or directory cc: chflags.lo: No such file or directory cc: chio.lo: No such file or directory cc: chmod.lo: No such file or directory cc: cp.lo: No such file or directory cc: date.lo: No such file or directory cc: dd.lo: No such file or directory cc: df.lo: No such file or directory cc: echo.lo: No such file or directory cc: ed.lo: No such file or directory cc: expr.lo: No such file or directory cc: getfacl.lo: No such file or directory cc: hostname.lo: No such file or directory cc: kenv.lo: No such file or directory cc: kill.lo: No such file or directory cc: ln.lo: No such file or directory cc: ls.lo: No such file or directory cc: mkdir.lo: No such file or directory cc: mv.lo: No such file or directory cc: pkill.lo: No such file or directory cc: ps.lo: No such file or directory cc: pwd.lo: No such file or directory cc: realpath.lo: No such file or directory cc: rm.lo: No such file or directory cc: rmdir.lo: No such file or directory cc: setfacl.lo: No such file or directory cc: sh.lo: No such file or directory cc: stty.lo: No such file or directory cc: sync.lo: No such file or directory cc: test.lo: No such file or directory cc: rcp.lo: No such file or directory cc: csh.lo: No such file or directory cc: atacontrol.lo: No such file or directory cc: badsect.lo: No such file or directory cc: camcontrol.lo: No such file or directory cc: ccdconfig.lo: No such file or directory cc: clri.lo: No such file or directory cc: devfs.lo: No such file or directory cc: dmesg.lo: No such file or directory cc: dump.lo: No such file or directory cc: dumpfs.lo: No such file or directory cc: dumpon.lo: No such file or directory cc: fsck.lo: No such file or directory cc: : No such file or directory Using built-in specs. Target: ia64-undermydesk-freebsd Configured with: FreeBSD/ia64 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] # fsck_ffs.lo: not found # kldconfig.lo: not found # mknod.lo: not found # mount_nullfs.lo: not found # ping.lo: not found # savecore.lo: not found # ping6.lo: not found # gzip.lo: not found # /usr/obj/usr/src/rescue/rescue/../librescue/exec.o: Permission denied # /usr/obj/usr/src/rescue/rescue/../librescue/getusershell.o: Permission denied # /usr/obj/usr/src/rescue/rescue/../librescue/login_class.o: Permission denied # /usr/obj/usr/src/rescue/resque/../librescue/popen.o: not found # /usr/obj/usr/src/rescue/rescue/../librescue/rcmdsh.o: Permission denied # /usr/obj/usr/src/rescue/rescue/../librescue/sysctl.o: Permission denied # /usr/obj/usr/src/rescue/rescue/../librescue/system.o: Permission denied # -lcrypt: not found # -lipx: not found # I thought there might be a problem with my copy/paste procedure, so I rechecked this several times - same result. I also tried to run this command from a file: # pwd /usr/src/rescue/rescue # cat zzz cc -v -static -o rescue rescue.o cat.lo chflags.lo chio.lo chmod.lo cp.lo date.lo dd.lo df.lo echo.lo ed.lo expr.lo getfacl.lo hostname.lo kenv.lo kill.lo ln.lo ls.lo mkdir.lo mv.lo pkill.lo ps.lo pwd.lo realpath.lo rm.lo rmdir.lo setfacl.lo sh.lo stty.lo sync.lo test.lo rcp.lo csh.lo atacontrol.lo badsect.lo camcontrol.lo ccdconfig.lo clri.lo devfs.lo dmesg.lo dump.lo dumpfs.lo dumpon.lo fsck.lo fsck_ffs.lo fsck_msdosfs.lo fsdb.lo fsirand.lo gbde.lo geom.lo ifconfig.lo init.lo kldconfig.lo kldload.lo kldstat.lo kldunload.lo ldconfig.lo md5.lo mdconfig.lo mdmfs.lo mknod.lo mount.lo mount_cd9660.lo mount_msdosfs.lo mount_nfs.lo mount_ntfs.lo mount_nullfs.lo mount_udf.lo mount_unionfs.lo newfs.lo newfs_msdos.lo nos-tun.lo ping.lo reboot.lo restore.lo rcorder.lo route.lo routed.lo rtquery.lo rtsol.lo savecore.lo spppcontrol.lo swapon.lo sysctl.lo tunefs.lo umount.lo atmconfig.lo ping6.lo ipf.lo zfs.lo zpool.lo mca.lo dhclient.lo head.lo mt.lo sed.lo tail.lo tee.lo gzip.lo bzip2.lo xz.lo tar.lo vi.lo id.lo chroot.lo chown.lo /usr/obj/usr/src/rescue/rescue/../librescue/exec.o /usr/obj/usr/src/rescue/rescue/../librescue/getusershell.o /usr/obj/usr/src/rescue/rescue/../librescue/login_class.o /usr/obj/usr/src/rescue/resque/../librescue/popen.o /usr/obj/usr/src/rescue/rescue/../librescue/rcmdsh.o /usr/obj/usr/src/rescue/rescue/../librescue/sysctl.o /usr/obj/usr/src/rescue/rescue/../librescue/system.o -lcrypt -ledit -lkvm -ll -ltermcap -lutil -lalias -lcam -lcurses -ldevstat -lipsec -lipx -lzfs -lnvpair -luutil -lavl -lgeom -lbsdxml -ljail -lkiconv -lmd -lreadline -lsbuf -lufs -lz -lbz2 -llzma -larchive -lcrypto -lm # sh < zzz cc: rescue.o: No such file or directory cc: cat.lo: No such file or directory cc: chflags.lo: No such file or directory cc: chio.lo: No such file or directory cc: chmod.lo: No such file or directory cc: cp.lo: No such file or directory cc: date.lo: No such file or directory cc: dd.lo: No such file or directory cc: df.lo: No such file or directory cc: echo.lo: No such file or directory cc: ed.lo: No such file or directory cc: expr.lo: No such file or directory cc: getfacl.lo: No such file or directory cc: hostname.lo: No such file or directory cc: kenv.lo: No such file or directory cc: kill.lo: No such file or directory cc: ln.lo: No such file or directory cc: ls.lo: No such file or directory cc: mkdir.lo: No such file or directory cc: mv.lo: No such file or directory cc: pkill.lo: No such file or directory cc: ps.lo: No such file or directory cc: pwd.lo: No such file or directory cc: realpath.lo: No such file or directory cc: rm.lo: No such file or directory cc: rmdir.lo: No such file or directory cc: setfacl.lo: No such file or directory cc: sh.lo: No such file or directory cc: stty.lo: No such file or directory cc: sync.lo: No such file or directory cc: test.lo: No such file or directory cc: rcp.lo: No such file or directory cc: csh.lo: No such file or directory cc: atacontrol.lo: No such file or directory cc: badsect.lo: No such file or directory cc: camcontrol.lo: No such file or directory cc: ccdconfig.lo: No such file or directory cc: clri.lo: No such file or directory cc: devfs.lo: No such file or directory cc: dmesg.lo: No such file or directory cc: dump.lo: No such file or directory cc: dumpfs.lo: No such file or directory cc: dumpon.lo: No such file or directory cc: fsck.lo: No such file or directory cc: fsck_ffs.lo: No such file or directory cc: fsck_msdosfs.lo: No such file or directory cc: fsdb.lo: No such file or directory cc: fsirand.lo: No such file or directory cc: gbde.lo: No such file or directory cc: geom.lo: No such file or directory cc: ifconfig.lo: No such file or directory cc: init.lo: No such file or directory cc: kldconfig.lo: No such file or directory cc: kldload.lo: No such file or directory cc: kldstat.lo: No such file or directory cc: kldunload.lo: No such file or directory cc: ldconfig.lo: No such file or directory cc: md5.lo: No such file or directory cc: mdconfig.lo: No such file or directory cc: mdmfs.lo: No such file or directory cc: mknod.lo: No such file or directory cc: mount.lo: No such file or directory cc: mount_cd9660.lo: No such file or directory cc: mount_msdosfs.lo: No such file or directory cc: mount_nfs.lo: No such file or directory cc: mount_ntfs.lo: No such file or directory cc: mount_nullfs.lo: No such file or directory cc: mount_udf.lo: No such file or directory cc: mount_unionfs.lo: No such file or directory cc: newfs.lo: No such file or directory cc: newfs_msdos.lo: No such file or directory cc: nos-tun.lo: No such file or directory cc: ping.lo: No such file or directory cc: reboot.lo: No such file or directory cc: restore.lo: No such file or directory cc: rcorder.lo: No such file or directory cc: route.lo: No such file or directory cc: routed.lo: No such file or directory cc: rtquery.lo: No such file or directory cc: rtsol.lo: No such file or directory cc: savecore.lo: No such file or directory cc: spppcontrol.lo: No such file or directory cc: swapon.lo: No such file or directory cc: sysctl.lo: No such file or directory cc: tunefs.lo: No such file or directory cc: umount.lo: No such file or directory cc: atmconfig.lo: No such file or directory cc: ping6.lo: No such file or directory cc: ipf.lo: No such file or directory cc: zfs.lo: No such file or directory cc: zpool.lo: No such file or directory cc: mca.lo: No such file or directory cc: dhclient.lo: No such file or directory cc: head.lo: No such file or directory cc: mt.lo: No such file or directory cc: sed.lo: No such file or directory cc: tail.lo: No such file or directory cc: tee.lo: No such file or directory cc: gzip.lo: No such file or directory cc: bzip2.lo: No such file or directory cc: xz.lo: No such file or directory cc: tar.lo: No such file or directory cc: vi.lo: No such file or directory cc: id.lo: No such file or directory cc: chroot.lo: No such file or directory cc: chown.lo: No such file or directory cc: /usr/obj/usr/src/rescue/resque/../librescue/popen.o: No such file or directory Using built-in specs. Target: ia64-undermydesk-freebsd Configured with: FreeBSD/ia64 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] # I'm probably doing something wrong again.. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423Received on Mon Jun 28 2010 - 10:14:20 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC