Page 1 of 1

unable to build package when using arch linux

Posted: Sun Jun 08, 2025 11:22 pm
by bulkmoerls

Hello. I was new to the forums, but wasn't new to devkitPro on windows before using Linux.

somehow, i ran into issues here when building. first, for some reason, it cannot find powerpc-eabi-g++, and then powerpc-eabi-gcc. those two files are in the bin folder. i googled it out, and i found the existing post about the one i've been experiencing (link here: viewtopic.php?t=9542), but the user who posted it has macOS and not Linux, and it has remained unsolved it looks like.

in fact, here is the verbose output (make -n):

Code: Select all

[ -d build ] || mkdir -p build
make --no-print-directory -C build -f /home/john/Documents/wiifin2/application/Makefile
echo template.c
true add powerpc-eabi-gcc " -g -O2 -Wall -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float   -I/home/john/Documents/wiifin2/application/build -I/libogc/include -c /home/john/Documents/wiifin2/application/source/template.c -o template.o" /home/john/Documents/wiifin2/application/source/template.c
powerpc-eabi-gcc -MMD -MP -MF /home/john/Documents/wiifin2/application/build/template.d  -g -O2 -Wall -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float   -I/home/john/Documents/wiifin2/application/build -I/libogc/include -c /home/john/Documents/wiifin2/application/source/template.c -o template.o 
echo linking ... application.elf
true end
powerpc-eabi-gcc  template.o -g -DGEKKO -mrvl -mcpu=750 -meabi -mhard-float -Wl,-Map,application.elf.map -L/libogc/lib/wii  -lwiiuse -lbte -logc -lm -o /home/john/Documents/wiifin2/application/application.elf
echo output ... application.dol
elf2dol /home/john/Documents/wiifin2/application/application.elf /home/john/Documents/wiifin2/application/application.dol 

and my output without verbose:

Code: Select all

template.c
make[1]: powerpc-eabi-gcc: No such file or directory
make[1]: *** [/opt/devkitpro/devkitPPC//base_rules:21: template.o] Error 127
make: *** [Makefile:101: build] Error 2

can somebody help me with this? those errors are literally killing me. thank you


Re: unable to build package when using arch linux

Posted: Sun Jun 15, 2025 3:30 pm
by WinterMute

have you installed the packages you need?

Code: Select all

pacman -S --needed wii-dev gamecube-dev