error when compiling pearpc

Discuss PearPC's Development and any bugs you find here

error when compiling pearpc

Postby TheBigB » Fri Dec 31, 2004 1:16 am

i get
[code:90c1474db8]/usr/local/include/SDL/SDL_audio.h:97: error: parse error before `[' token
make[5]: *** [sysdisplay.o] Error 1
make[5]: Leaving directory `/home/Brian/g4-sdl/pearpc/src/system/ui/sdl'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/Brian/g4-sdl/pearpc/src/system/ui'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/Brian/g4-sdl/pearpc/src/system'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Brian/g4-sdl/pearpc/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Brian/g4-sdl/pearpc'[/code:90c1474db8] while making pearpc. anyone know how to fix it? i patched it a lot if that could be the problem but none of the patches seemed to have anything to do with sdl and i din't put in the audio patch. sorry if this is a really dumb error. i never successfully compiled pearpc and only started today.
PearPC ROCKS!!!! my pearpc is faster than older imacs!
TheBigB
Member
Member
 
Posts: 43
Joined: Mon Jul 19, 2004 8:53 pm
Location: NY

Postby prasys » Fri Dec 31, 2004 4:47 am

Some patch just won't work with the latest pre-release of it , this where it gives you the error....I suggest you to use the oringial G3 Bulid , do not get the G4 and then apply the patch....Some patch won't work with the new code
Bastila Shan: The Jedi do not believe in killing their prisoners. No one deserves execution, no matter what their crimes.
prasys
PearPC.net staff
PearPC.net staff
 
Posts: 2357
Joined: Wed Jun 30, 2004 9:48 am
Location: Kuala Lumpur, Malaysia

Postby TheBigB » Sat Jan 01, 2005 12:09 am

ok because it still won't build:

-the byates graphics card patch
-the prom boot patch
-the start banner patch
PearPC ROCKS!!!! my pearpc is faster than older imacs!
TheBigB
Member
Member
 
Posts: 43
Joined: Mon Jul 19, 2004 8:53 pm
Location: NY

Postby TheBigB » Sat Jan 01, 2005 3:47 pm

i forgot to say i already tried that. it still doesn't compile. i have cygwin's x server so i'll try compiling it using x as the display.
PearPC ROCKS!!!! my pearpc is faster than older imacs!
TheBigB
Member
Member
 
Posts: 43
Joined: Mon Jul 19, 2004 8:53 pm
Location: NY

Postby Alex » Sat Jan 01, 2005 4:45 pm

I had this same error. It can be fixed by editing the file src/system/ui/sdl/sysdisplay.cc. Remove the line

#include <SDL/SDL_audio.h>

Save it and compile again. If it still doesn't work, use win32 as the UI
Welcome to PearPC.net!
AlexBlog | Kiwi
User avatar
Alex
Administrator
Administrator
 
Posts: 2094
Joined: Sat Oct 23, 2004 6:23 am
Location: Leicestershire, UK

Postby TheBigB » Sat Jan 01, 2005 5:13 pm

i don't have a [code:01f461d002]#include <SDL/SDL_audio.h>[/code:01f461d002] line in my sysdisplay.cc file.
PearPC ROCKS!!!! my pearpc is faster than older imacs!
TheBigB
Member
Member
 
Posts: 43
Joined: Mon Jul 19, 2004 8:53 pm
Location: NY

Postby Alex » Sat Jan 01, 2005 5:26 pm

Whoops!

Temporarily remove that line from /usr/local/include/SDL/SDL.h

Then compile. If it [i:a8c1620c02]still[/i:a8c1620c02] doesn't work, just use win32 ui
Welcome to PearPC.net!
AlexBlog | Kiwi
User avatar
Alex
Administrator
Administrator
 
Posts: 2094
Joined: Sat Oct 23, 2004 6:23 am
Location: Leicestershire, UK

Postby TheBigB » Sat Jan 01, 2005 6:36 pm

its not there either. should i remove the line
#include "SDL_audio.h"
as its the closest one to that?
PearPC ROCKS!!!! my pearpc is faster than older imacs!
TheBigB
Member
Member
 
Posts: 43
Joined: Mon Jul 19, 2004 8:53 pm
Location: NY

Next

Return to PearPC Development

Who is online

Users browsing this forum: No registered users and 1 guest