<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#336666">
I am trying to build openfirmware for an Allwinner A13 board so it
can have a means to call an OS.<br>
I had follow the instructions on the Wiki on my Fedora 23 x64 KDE
machine, while i think i have the<br>
gnu toolchain properly installed, i just get a massive ammount of
errors.<br>
<br>
That's what i get after make -i...<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div id="post_message_1777747" style="color: rgb(0, 0, 0);
font-family: verdana, geneva, lucida, "lucida grande",
arial, helvetica, sans-serif, sans; font-size: 11px; font-style:
normal; font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: normal; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px;">[madscientist@localhost arm]$ cd
mmp2<br>
[madscientist@localhost mmp2]$ ls<br>
addrs.fth config.fth fw.bth make-sdkit.sh physaddr.fth sdkit.fth
timer.fth<br>
apbc.fth ddr_elpida_512m.fth galcore.fth mdma.fth pmua.fth
sdkit.sh twsi.fth<br>
boardgpio.fth devices.fth gpio.fth mfpr.fth probemem.fth
sdregs.fth twsi-node.fth<br>
boardtwsi.fth dma.fth hash.fth mmp2.bth random.fth showirqs.fth
twsi-package.fth<br>
boot.fth draminit.fth hwaddrs.fth mmuon.fth rawboot.fth
soc-config.fth uart.fth<br>
build dramrecal.fth initmmu.fth
ntim_mmp2_nand_cforth_ddr_elpida_512m.fth rootnode.fth socregs.fth
ulpiphy.fth<br>
cforth.bth dsi.fth irq.fth ntim_mmp2_nand_ofw_ddr_elpida_512m.fth
rtc.fth sp.bth virtaddr.fth<br>
clocks-complex.fth fast-scroll.patch keypad.fth
ntim_mmp2_nand_ofwonly_ddr_elpida_512m.fth sdhcimmp2.fth
spimaster.fth wakeups.fth<br>
clockset.fth fuse.fth lcdcfg.fth
ntim_mmp2_nand_uboot_ddr_elpida_512m.fth sdkit-arm sspspi.fth
watchdog.fth<br>
clocks.fth fusepgm.fth lcd.fth ofw.bth sdkit-arm.tgz thermal.fth<br>
[madscientist@localhost mmp2]$ cd build<br>
[madscientist@localhost build]$ make<br>
make[1]: Entering directory
'/home/madscientist/Desktop/openfirmware/cpu/x86/Linux'<br>
cc -c -O -g -m32 -DTARGET_X86 ../../../forth/wrapper/wrapper.c -o
wrapper.o<br>
In file included from /usr/include/features.h:389:0,<br>
from /usr/include/stdio.h:27,<br>
from ../../../forth/wrapper/wrapper.c:55:<br>
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No
such file or directory<br>
compilation terminated.<br>
Makefile:56: recipe for target 'wrapper.o' failed<br>
make[1]: *** [wrapper.o] Error 1<br>
make[1]: Leaving directory
'/home/madscientist/Desktop/openfirmware/cpu/x86/Linux'<br>
Makefile:25: recipe for target '../../../x86/Linux/forth' failed<br>
make: *** [../../../x86/Linux/forth] Error 2<br>
[madscientist@localhost build]$ make -i<br>
make[1]: Entering directory
'/home/madscientist/Desktop/openfirmware/cpu/x86/Linux'<br>
cc -c -O -g -m32 -DTARGET_X86 ../../../forth/wrapper/wrapper.c -o
wrapper.o<br>
In file included from /usr/include/features.h:389:0,<br>
from /usr/include/stdio.h:27,<br>
from ../../../forth/wrapper/wrapper.c:55:<br>
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No
such file or directory<br>
compilation terminated.<br>
Makefile:56: recipe for target 'wrapper.o' failed<br>
make[1]: [wrapper.o] Error 1 (ignored)<br>
cc -c -O -g -m32 -DTARGET_X86 ../../../forth/wrapper/logger.c -o
logger.o<br>
In file included from /usr/include/features.h:389:0,<br>
from /usr/include/stdio.h:27,<br>
from ../../../forth/wrapper/logger.c:16:<br>
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No
such file or directory<br>
compilation terminated.<br>
Makefile:56: recipe for target 'logger.o' failed<br>
make[1]: [logger.o] Error 1 (ignored)<br>
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip
../../../forth/wrapper/zip/adler32.c -o adler32.o<br>
In file included from /usr/include/features.h:389:0,<br>
from /usr/include/sys/types.h:25,<br>
from ../../../forth/wrapper/zip/zconf.h:364,<br>
from ../../../forth/wrapper/zip/zlib.h:34,<br>
from ../../../forth/wrapper/zip/zutil.h:22,<br>
from ../../../forth/wrapper/zip/adler32.c:8:<br>
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No
such file or directory<br>
compilation terminated.<br>
Makefile:59: recipe for target 'adler32.o' failed<br>
make[1]: [adler32.o] Error 1 (ignored)<br>
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip
../../../forth/wrapper/zip/compress.c -o compress.o<br>
In file included from /usr/include/features.h:389:0,<br>
from /usr/include/sys/types.h:25,<br>
from ../../../forth/wrapper/zip/zconf.h:364,<br>
from ../../../forth/wrapper/zip/zlib.h:34,<br>
from ../../../forth/wrapper/zip/compress.c:9:<br>
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No
such file or directory<br>
compilation terminated.<br>
Makefile:59: recipe for target 'compress.o' failed<br>
make[1]: [compress.o] Error 1 (ignored)<br>
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip
../../../forth/wrapper/zip/crc32.c -o crc32.o<br>
In file included from /usr/include/features.h:389:0,<br>
from /usr/include/sys/types.h:25,<br>
from ../../../forth/wrapper/zip/zconf.h:364,<br>
from ../../../forth/wrapper/zip/zlib.h:34,<br>
from ../../../forth/wrapper/zip/zutil.h:22,<br>
from ../../../forth/wrapper/zip/crc32.c:29:<br>
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No
such file or directory<br>
compilation terminated.<br>
Makefile:59: recipe for target 'crc32.o' failed<br>
make[1]: [crc32.o] Error 1 (ignored)<br>
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip
../../../forth/wrapper/zip/deflate.c -o deflate.o<br>
In file included from /usr/include/features.h:389:0,<br>
from /usr/include/sys/types.h:25,<br>
from ../../../forth/wrapper/zip/zconf.h:364,<br>
from ../../../forth/wrapper/zip/zlib.h:34,<br>
from ../../../forth/wrapper/zip/zutil.h:22,<br>
from ../../../forth/wrapper/zip/deflate.h:16,<br>
from ../../../forth/wrapper/zip/deflate.c:52:<br>
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No
such file or directory<br>
compilation terminated.<br>
Makefile:59: recipe for target 'deflate.o' failed<br>
make[1]: [deflate.o] Error 1 (ignored)<br>
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip
../../../forth/wrapper/zip/trees.c -o trees.o<br>
In file included from /usr/include/features.h:389:0,<br>
from /usr/include/sys/types.h:25,<br>
from ../../../forth/wrapper/zip/zconf.h:364,<br>
from ../../../forth/wrapper/zip/zlib.h:34,<br>
from ../../../forth/wrapper/zip/zutil.h:22,<br>
from ../../../forth/wrapper/zip/deflate.h:16,<br>
from ../../../forth/wrapper/zip/trees.c:37:<br>
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No
such file or directory<br>
compilation terminated.<br>
Makefile:59: recipe for target 'trees.o' failed<br>
make[1]: [trees.o] Error 1 (ignored)<br>
cc -c -O -g -m32 -DTARGET_X86 -I../../../forth/wrapper/zip
../../../forth/wrapper/zip/zutil.c -o zutil.o<br>
In file included from /usr/include/features.h:389:0,<br>
from /usr/include/sys/types.h:25,<br>
from ../../../forth/wrapper/zip/zconf.h:364,<br>
from ../../../forth/wrapper/zip/zlib.h:34,<br>
from ../../../forth/wrapper/zip/zutil.h:22,<br>
from ../../../forth/wrapper/zip/zutil.c:8:<br>
/usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No
such file or directory<br>
compilation terminated.<br>
Makefile:59: recipe for target 'zutil.o' failed<br>
make[1]: [zutil.o] Error 1 (ignored)<br>
cc -m32 -o forth wrapper.o logger.o adler32.o compress.o crc32.o
deflate.o inflate.o trees.o zutil.o<span
class="Apple-converted-space"> </span><br>
cc: error: wrapper.o: No such file or directory<br>
cc: error: logger.o: No such file or directory<br>
cc: error: adler32.o: No such file or directory<br>
cc: error: compress.o: No such file or directory<br>
cc: error: crc32.o: No such file or directory<br>
cc: error: deflate.o: No such file or directory<br>
cc: error: trees.o: No such file or directory<br>
cc: error: zutil.o: No such file or directory<br>
Makefile:43: recipe for target 'forth' failed<br>
make[1]: [forth] Error 1 (ignored)<br>
make[1]: Leaving directory
'/home/madscientist/Desktop/openfirmware/cpu/x86/Linux'<br>
./build ofw.rom<br>
./build: line 85:
/home/madscientist/Desktop/openfirmware/cpu/x86/Linux/forth: No
such file or directory<br>
Makefile:22: recipe for target 'ofw.rom' failed<br>
make: [ofw.rom] Error 127 (ignored)<br>
sed: can't read ../../build/*.tag: No such file or directory<br>
sed: can't read *.tag: No such file or directory<br>
[madscientist@localhost build]$<span class="Apple-converted-space"> </span><a
href="https://www.openfirmware.info/Building_OFW_for_ARM"
target="_blank" style="color: rgb(0, 0, 0);">https://www.openfirmware.info/Building_OFW_for_ARM</a><br>
<br>
<font color="#336666"><font size="+1"><br>
</font></font><font color="#336666" size="+1">Is something else
i can do on my system looking towards building the binary? Do i
have to install x86 32bit libraries or something else?</font><font
color="#336666"><br>
</font></div>
Respect the Allwinner A13, is is the best choice for using this
firmware or should i try something else?<br
class="Apple-interchange-newline">
<br>
</body>
</html>