Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build biosload on Ubuntu 17.04 x86_64 #1

Open
AdrianKoshka opened this issue Jul 17, 2017 · 1 comment
Open

Failed to build biosload on Ubuntu 17.04 x86_64 #1

AdrianKoshka opened this issue Jul 17, 2017 · 1 comment

Comments

@AdrianKoshka
Copy link

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
@alexandrelombard
Copy link

Same for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants