Page 1 of 1
Error compiling Examples
Posted: Mon Aug 11, 2008 12:35 pm
by Category
I have recently installed devkitPPC onto my Linux system (Ubuntu 8.04 Hardy Heron), but I cannot compile the Hello World template. Here is the output on my console when I try and use the makefile :-
Code: Select all
template.c
/home/category/devkitpro/devkitPPC/bin/powerpc-gekko-gcc: 1: Syntax error: "(" unexpected
make[1]: *** [template.o] Error 2
make: *** [build] Error 2
I have installed devkitpro in my home folder (/home/category/devkitpro), and added the paths to my .bashrc file. Isthere something foolish and obvious I have missed? I have the devkitpro folder, libogc, the wii-examples, and wiiload all in there. Anyhelp would be appreciated!
Re: Error compiling Examples
Posted: Sat Aug 16, 2008 12:51 pm
by Category
Has nobody else had a similar problem to this?
Re: Error compiling Examples
Posted: Sun Aug 17, 2008 3:48 pm
by WinterMute
Never seen anything remotely resembling this one, sorry.
How did you install devkitPPC?
Re: Error compiling Examples
Posted: Sun Aug 17, 2008 4:37 pm
by Category
I followed this guide:- link to inappropriate guide removed, as I found posted on wiibrew - and I followed it to the letter.
Re: Error compiling Examples
Posted: Mon Aug 18, 2008 1:54 am
by WinterMute
Unfortunately that guide isn't particularly good - I'm actually not particularly happy with many of the guides and tutorials which relate to devkitPro toolchains.
There's a much better guide in the user contributions section @
http://forums.devkitpro.org/viewtopic.php?f=25&t=68 which should help a bit. It's a little out of date unfortunately and refers to older versions of the toolchain. I've started to write up some details on the wiki at
http://wiki.devkitpro.org/index.php/Get ... /devkitPPC where I'm trying to avoid using particular versions so it doesn't need updated.
Your main issue is likely to be caused by using a GUI tool to extract the archive - most of them have trouble with symbolic links and/or properly extracting files from the tarballs.
In the future we hope to find a way to create an automated installer for both OSX and linux, similar to the Windows installer - this is unfortunately complicated by the differences between distros.