Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

current-sparc crosscompile (on amd64) not building?



I think cleaning the directories on the amd64 build worked to fix this,
but crosscompiling with no -u doesn't fix this:

--- instbin ---
#      link  obj.sparc/instbin
/usr/cross/sparc/bin/sparc--netbsdelf-gcc  
-B/usr/src/obj.sparc/destdir.sparc/usr/lib/ 
-B/usr/src/obj.sparc/destdir.sparc/usr/lib/  -Wl,-nostdlib     -static  -o 
instbin  instbin.o cat.cro chmod.cro cp.cro dd.cro df.cro ed.cro expr.cro 
hostname.cro ln.cro ls.cro kill.cro mkdir.cro mt.cro mv.cro pwd.cro pax.cro 
rm.cro sh.cro stty.cro sleep.cro sync.cro fsck_ffs.cro ifconfig.cro init.cro 
mknod.cro mount.cro mount_cd9660.cro mount_ffs.cro mount_nfs.cro newfs.cro 
ping.cro reboot.cro route.cro shutdown.cro slattach.cro umount.cro chflags.cro 
ftp.cro gzip.cro sed.cro sort.cro tip.cro chown.cro chroot.cro rcmd.cro 
disklabel.cro dmesg.cro sysctl.cro basename.cro cksum.cro getopt.cro 
netstat.cro rsh.cro tset.cro vi.cro less.cro installboot.cro sysinst.cro 
progress.cro  libhack.o -lrmt -lutil -lcurses -lterminfo -lbz2 -lcrypt -lintl 
-ll -lm -lkvm -lz -lprop      -L/usr/src/obj.sparc/destdir.sparc/usr/lib   
-Wl,-rpath-link,/usr/src/obj.sparc/destdir.sparc/lib  -L/usr/src/obj.sparc/dest!
dir.sparc/lib -Wl,-rpath-link,/usr/src/obj.sparc/destdir.sparc/usr/lib  
-L/usr/src/obj.sparc/destdir.sparc/usr/lib
netstat.cro: In function `bpf_dump$$from$$netstat':
(.text+0xaf0): undefined reference to `prog_ops'
netstat.cro: In function `bpf_dump$$from$$netstat':
(.text+0xaf4): undefined reference to `prog_ops'
netstat.cro: In function `fetchifs':
if.c:(.text+0x2240): undefined reference to `prog_ops'
if.c:(.text+0x2248): undefined reference to `prog_ops'
netstat.cro: In function `intpr$$from$$netstat':
(.text+0x3de0): undefined reference to `prog_ops'
netstat.cro:(.text+0x3de8): more undefined references to `prog_ops' follow
collect2: ld returned 1 exit status
*** [instbin] Error code 1
nbmake: stopped in /usr/src/distrib/miniroot/obj.sparc
1 error
nbmake: stopped in /usr/src/distrib/miniroot/obj.sparc
*** [instbin.strip] Error code 2


--
Hisashi T Fujinaka - htodd%twofifty.com@localhost
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte


Home | Main Index | Thread Index | Old Index