I'm using @kazade guide here: http://blog.kazade.co.uk/2016/01/setting-up-kallistios-on-fedora.html I have a fresh install of Fedora on an SD card. I followed all the steps correctly, but I'm getting these errors after you ./download , ./unpack , then make the makefile This is where I've gotten stuck on other distros. I figured using a fresh Fedora install would fix that. But I'm not sure how to go about diagnosing and fixing these errors because from what I understand Make errorcode 1 is just whatever command was run in the Makefile returns an error and the build exits with Ecode 1 I figured this would be the best place to get assistance specifically for KOS. Since Ecode 1 and 2 are pretty general errors. Any assistance is greatly appriciated. I've been wanting to setup a working toolchain for awhile Thanks
I can't believe I missed that. I assumed anything above the Ecodes was irrelevant. Thanks man it's building now
I installed a bunch of development libraries and a few dependancies I was missing but still stuck at GCC pass 2 Here's everything I could copy from console
Code: checking how to copy va_list... Makefile:3810: recipe for target 'configure-gcc' failed Looks like the gcc-configure step failed, what is going on in the makefile around line 3810?
KOS/utils/dc-chain/Makefile is only 352 lines long. Though it's probably making the Makefiles for each of the toolchain components, do you want the main Makefile or GCC's Makefile? Edit: Here's the section from line 3809 of dc-chain/build-gcc-sh-elf-4.7.3. It's impressive how you could predict the line for the failed function
Interesting, that doesn't seem to have anything to do with va_lists. Post the whole output of the make process that fails (make &> somefile.txt will pipe it to a file). I know KOS wants a specific version of GCC, but 4.7 is pretty old. It is possible that the ABI for va_lists in libcpp has changed recently.
It looks like your error is way up in the makefile, searching for a parser fails but the make process continues to truck along. line 7536: Code: checking command to parse /home/dan/dreamcast/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/./gcc/nm output from /home/dan/dreamcast/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/./gcc/xgcc -B/home/dan/dreamcast/kallistios/utils/dc-chain/build-gcc-sh-elf-4.7.3/./gcc/ -B/home/dan/dreamcast/toolchain/sh-elf/sh-elf/bin/ -B/home/dan/dreamcast/toolchain/sh-elf/sh-elf/lib/ -isystem /home/dan/dreamcast/toolchain/sh-elf/sh-elf/include -isystem /home/dan/dreamcast/toolchain/sh-elf/sh-elf/sys-include object... (cached) failed This usually means you are missing binutils for your target. This is the only link I could find on that error: http://stackoverflow.com/questions/33450401/building-gcc-make-all-error-2 https://gcc.gnu.org/ml/gcc-help/2012-07/msg00018.html Good luck.