[OpenBIOS] Bug in file unix.c

Programmingkid programmingkidx at gmail.com
Sun Aug 5 21:36:23 CEST 2012

I was trying to build openbios on Ubuntu 10.10 when I received this error message:

CC    target/arch/unix/unix.o
cc1: warnings being treated as errors
../arch/unix/unix.c: In function ‘read_from_disk’:
../arch/unix/unix.c:382: error: ignoring return value of ‘read’, declared with attribute warn_unused_result
make[1]: *** [target/arch/unix/unix.o] Error 1
make[1]: Leaving directory `/home/user/Desktop/openbios-devel/obj-x86'
make: *** [build-verbose] Error 1

This is the command I used to build openbios:
./config/scripts/switch-arch unix-x86

More information about the OpenBIOS mailing list