Skip to content

Failed to build biosload on Ubuntu 17.04 x86_64 #1

@AdrianKoshka

Description

@AdrianKoshka

I made sure I had all dependencies (to my knowledge), followed the instructions, and got the following error:

$ cd openfirmware/cpu/x86/biosload
$ cp config-grub.fth config.fth
$ cd build
$ make
make[1]: Entering directory '/mnt/storage/openfirmware/cpu/x86/Linux'
cc -c -O -g -m32 -DTARGET_X86 ../../../forth/wrapper/wrapper.c -o wrapper.o
../../../forth/wrapper/wrapper.c: In function ‘f_ioctl’:
../../../forth/wrapper/wrapper.c:1962:15: warning: implicit declaration of function ‘ioctl’ [-Wimplicit-function-declaration]
  return((long)ioctl((int)fd, (int)code, buf));
               ^~~~~
../../../forth/wrapper/wrapper.c: In function ‘today’:
../../../forth/wrapper/wrapper.c:2139:2: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]
  time(&tadd);
  ^~~~
../../../forth/wrapper/wrapper.c:2140:15: warning: implicit declaration of function ‘localtime’ [-Wimplicit-function-declaration]
  return((long)localtime(&tadd));
               ^~~~~~~~~
cc -c -O -g -m32 -DTARGET_X86 ../../../forth/wrapper/logger.c -o logger.o
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip ../../../forth/wrapper/zip/adler32.c -o adler32.o
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip ../../../forth/wrapper/zip/compress.c -o compress.o
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip ../../../forth/wrapper/zip/crc32.c -o crc32.o
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip ../../../forth/wrapper/zip/deflate.c -o deflate.o
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip ../../../forth/wrapper/zip/inflate.c -o inflate.o
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip ../../../forth/wrapper/zip/trees.c -o trees.o
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip ../../../forth/wrapper/zip/zutil.c -o zutil.o
cc -m32 -o forth wrapper.o logger.o adler32.o compress.o crc32.o deflate.o inflate.o trees.o zutil.o 
make[1]: Leaving directory '/mnt/storage/openfirmware/cpu/x86/Linux'
make[1]: Entering directory '/mnt/storage/openfirmware/cpu/x86/build'
make -C ../Linux ../build/inflate.bin
make[2]: Entering directory '/mnt/storage/openfirmware/cpu/x86/Linux'
cc -c -m32 -Wall -fno-builtin -fno-stack-protector -ffreestanding -DNEED_BCOPY -O2 -fpic ../../../forth/wrapper/zip/inflate.c -o xinflate.lo
ld -melf_i386 -T inflate.ld xinflate.lo -o xinflate.o
objcopy -O binary xinflate.o ../build/inflate.bin
make[2]: Leaving directory '/mnt/storage/openfirmware/cpu/x86/Linux'
make[1]: Leaving directory '/mnt/storage/openfirmware/cpu/x86/build'
./build ofw.c32
Target file ofw.c32 does not exist, and there is
no .log or .bth file for it.
Build aborted
Makefile:9: recipe for target 'ofw.c32' failed
make: *** [ofw.c32] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions