[OpenBIOS] OpenBIOS Fails to compile.

Stefan Reinauer stepan at coresystems.de
Wed Sep 20 22:02:05 CEST 2006


* steve yannalfo <fourstar10_2000 at yahoo.com> [060920 18:51]:
> I understand  conflicting types... but why here?

The amd64 version is currently broken because as a LinuxBIOS payload you
have to use the 32bit version anyways. Sorry.

> administrator at sky_bolt /bios/OpenBIOS/openbios-devel $ make build-verbose
> Building...
> make -f obj-amd64/Makefile "CROSSCFLAGS=-USWAP_ENDIANNESS
> -DNATIVE_BITWIDTH_EQUALS_HOST_BITWIDTH"
> make[1]: Entering directory `/bios/OpenBIOS/openbios-devel'
> EXTRACFLAGS="-DBOOTSTRAP" ;\
> gcc  $EXTRACFLAGS -Os -Wall -W -DNATIVE_BITWIDTH_EQUALS_HOST_BITWIDTH
> -USWAP_ENDIANNESS -fno-builtin-bcopy -fno-builtin-log2 -Iinclude -Ikernel/
> include -Iobj-amd64/target/include -c -o obj-amd64/target/arch/unix/unix.o arch
> /unix/unix.c
> arch/unix/unix.c:152: error: conflicting types for 'inb'
> obj-amd64/target/include/asm/io.h:45: error: previous definition of 'inb' was
> here
> arch/unix/unix.c:164: error: conflicting types for 'inw'
> obj-amd64/target/include/asm/io.h:46: error: previous definition of 'inw' was
> here
> arch/unix/unix.c:176: error: conflicting types for 'inl'
> obj-amd64/target/include/asm/io.h:47: error: previous definition of 'inl' was
> here
> arch/unix/unix.c:188: error: conflicting types for 'outb'
> obj-amd64/target/include/asm/io.h:45: error: previous definition of 'outb' was
> here
> arch/unix/unix.c:201: error: conflicting types for 'outw'
> obj-amd64/target/include/asm/io.h:46: error: previous definition of 'outw' was
> here
> arch/unix/unix.c:213: error: conflicting types for 'outl'
> obj-amd64/target/include/asm/io.h:47: error: previous definition of 'outl' was
> here
> arch/unix/unix.c: In function 'segv_handler':
> arch/unix/unix.c:268: warning: format '%x' expects type 'unsigned int', but
> argument 2 has type 'long unsigned int'
> arch/unix/unix.c:270: warning: format '%x' expects type 'unsigned int', but
> argument 2 has type 'long unsigned int'
> arch/unix/unix.c:270: warning: format '%x' expects type 'unsigned int', but
> argument 3 has type 'long unsigned int'
> arch/unix/unix.c:270: warning: format '%x' expects type 'unsigned int', but
> argument 4 has type 'cell'
> arch/unix/unix.c:270: warning: format '%x' expects type 'unsigned int', but
> argument 5 has type 'ucell'
> arch/unix/unix.c:270: warning: format '%x' expects type 'unsigned int', but
> argument 6 has type 'long unsigned int'
> arch/unix/unix.c:272: warning: format '%x' expects type 'unsigned int', but
> argument 4 has type 'ucell'
> arch/unix/unix.c: In function 'read_from_disk':
> arch/unix/unix.c:348: warning: unused parameter 'channel'
> arch/unix/unix.c:348: warning: unused parameter 'unit'
> arch/unix/unix.c: In function 'main':
> arch/unix/unix.c:503: warning: format '%d' expects type 'int', but argument 2
> has type 'cell'
> make[1]: *** [obj-amd64/target/arch/unix/unix.o] Error 1
> make[1]: Leaving directory `/bios/OpenBIOS/openbios-devel'
> make: *** [build-verbose] Error 2
> administrator at sky_bolt /bios/OpenBIOS/openbios-devel $ 
> 
> 
> thanks
> steve
> 
> 
> ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
> Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small
> Business.

> -- 
> OpenBIOS                 http://openbios.org/
> Mailinglist:  http://lists.openbios.org/mailman/listinfo
> Free your System - May the Forth be with you

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/



More information about the OpenBIOS mailing list