Error compiling Examples

support for the powerpc toolchain
Post Reply
Category
Posts: 3
Joined: Mon Aug 11, 2008 12:28 pm

Error compiling Examples

Post by Category » Mon Aug 11, 2008 12:35 pm

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!

Category
Posts: 3
Joined: Mon Aug 11, 2008 12:28 pm

Re: Error compiling Examples

Post by Category » Sat Aug 16, 2008 12:51 pm

Has nobody else had a similar problem to this?

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Error compiling Examples

Post by WinterMute » Sun Aug 17, 2008 3:48 pm

Never seen anything remotely resembling this one, sorry.

How did you install devkitPPC?
Help keep devkitPro toolchains free, Donate today

Personal Blog

Category
Posts: 3
Joined: Mon Aug 11, 2008 12:28 pm

Re: Error compiling Examples

Post by Category » Sun Aug 17, 2008 4:37 pm

I followed this guide:- link to inappropriate guide removed, as I found posted on wiibrew - and I followed it to the letter.

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Error compiling Examples

Post by WinterMute » Mon Aug 18, 2008 1:54 am

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.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest