Subject: Re: Build errors
To: Bob Nestor <rnestor@augustmail.com>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: current-users
Date: 05/31/2000 12:11:33
I haven't tried, but you could say:

cd ramdisk
cat>keepme
bzDecompressInit
bzDecompress
bzDecompressEnd
^D
Then edit obj/ramdiskbin.mk to find

# -------- gzip
...
gzip.cro: gzip_stub.o $(gzip_OBJPATHS)
        ${LD} -dc -r -o gzip.cro gzip_stub.o $(gzip_OBJPATHS)
        crunchide -k _crunched_gzip_stub gzip.cro

and change that last line to
	crunchide -k _crunched_gzip_stub -f ../keepme gzip.cro


"It's a long shot but it might just work"

Cheers,

Patrick

On Tue, May 30, 2000 at 05:40:04PM -0500, Bob Nestor wrote:
> Sorry this was sent from a system without a valid name or e-mail address. 
>  I'm the one looking for the help here.
> 
> Thanks,
> -bob
> 
> Charlie Root wrote:
> 
> >I'm trying to build an Installation Kernel (mac68k) on sources brought up to
> >-current this past weekend.  Does anyone recognize what's happening here and
> >what to do to fix it?
> >
> >cc -static -o ramdiskbin ramdiskbin.o cat.cro chmod.cro chown.cro 
> >chroot.cro cp.cro dd.cro df.cro disklabel.cro ed.cro fsck.cro fsck_ffs.cro 
> >ftp.cro gzip.cro ifconfig.cro init.cro less.cro ln.cro ls.cro mkdir.cro 
> >mknod.cro mount.cro mount_cd9660.cro mount_ffs.cro mount_msdos.cro 
> >mount_nfs.cro mount_kernfs.cro mt.cro mv.cro newfs.cro ping.cro pwd.cro 
> >reboot.cro restore.cro rm.cro route.cro sed.cro sh.cro shutdown.cro 
> >slattach.cro stty.cro swapctl.cro sync.cro test.cro tip.cro umount.cro 
> >sysinst.cro pax.cro tset.cro -L/usr/lib  -ledit -lutil -lcurses -ltermcap 
> >-lrmt -lcrypt -ll -lm
> >gzip.cro: Undefined symbol `_bzDecompressInit' referenced from text segment
> >gzip.cro: Undefined symbol `_bzDecompress' referenced from text segment
> >gzip.cro: Undefined symbol `_bzDecompressEnd' referenced from text segment
> >sysinst.cro: Undefined symbol `_refresh' referenced from text segment
> >collect2: ld returned 1 exit status
> >*** Error code 1
> >
> >Stop.
> >*** Error code 1
> >
> >Stop.
> >*** Error code 1
> >
> >Stop.