Bzip2 problem on M68K

Gerard Beekmans gerard at linuxfromscratch.org
Mon Sep 4 06:13:39 PDT 2000


On Sat, 02 Sep 2000, you wrote:
> Hello,
>
> As the LFS'ers on IRC know, I am building an LFS on a Motorola 68030 with
> an MVME147 board and 8MB RAM.
>
> To do the static compiles, it took 9 hours for binutils, 29 hours for GCC
> and 67 hours for GLIBC!
>
>
> Anyway, I am now in the chroot, and have sucessfully compiled everything up
> to bzip2, with the exception of Bin86, but I think I have solved that
> now...
>
> When I try and compile BZIP2, I get this:
>
> bash-2.04#  make -f Makefile-libbz2_so
> gcc -fpic -fPIC -Wall -Winline -O2 -fomit-frame-pointer
> -fno-strength-reduce -D_FILE_OFFSET_BITS=64 -c blocksort.c blocksort.o:
> Section has no contents
> /tmp/ccmpikxc.s: Assembler messages:
> /tmp/ccmpikxc.s:2448: FATAL: Can't write blocksort.o: Section has no
> contents make: *** [blocksort.o] Error 1

Try not to make a shared library. That means just executing:
make
make PREFIX=/usr install

(or PREFIX=$LFS/usr install - depending whether you're in chroot already or 
not)

-- 
Gerard Beekmans
www.linuxfromscratch.org

-*- If Linux doesn't have the solution, you have the wrong problem -*-





More information about the lfs-dev mailing list