[ARCHIVED] About PearPC, a mostly obsolete PPC Mac emulator for Windows and Linux to run MacOS X 10.1 up to 10.4. Using QEMU is now recommended.
Moderators: Cat_7 , Ronald P. Regensburg
Ph0eniX
Mac Mechanic
Posts: 154 Joined: Sun May 23, 2004 6:29 am
Post
by Ph0eniX » Tue Jun 22, 2004 7:42 pm
I'm using "--ui=sdl" when running configure. All the SDL checks run fine but then when I go to compile it, I get this:
Code: Select all
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I ../../.. -Wundef -Wall -Woverloaded-virtual -fsigned-char -O2 -fomit-frame-pointer -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -I/usr/include -MT sysdisplay.o -MD -MP -MF ".deps/sysdisplay.Tpo" \
-c -o sysdisplay.o `test -f 'sysdisplay.cc' || echo './'`sysdisplay.cc; \
then mv -f ".deps/sysdisplay.Tpo" ".deps/sysdisplay.Po"; \
else rm -f ".deps/sysdisplay.Tpo"; exit 1; \
fi
sysdisplay.cc: In function `bool handleSDLEvent(const SDL_Event&)':
sysdisplay.cc:51: error: `SDL_VIDEOEXPOSE' undeclared (first use this function)
sysdisplay.cc:51: error: (Each undeclared identifier is reported only once for each function it appears in.)
sysdisplay.cc: In constructor `SDLSystemDisplay::SDLSystemDisplay(const char*, int, int, const DisplayCharacteristics&)':
sysdisplay.cc:133: error: `SDL_DISABLE' undeclared (first use this function)
gmake[5]: *** [sysdisplay.o] Error 1
gmake[5]: Leaving directory `/home/jacks/pearpc/src/system/ui/sdl'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/home/jacks/pearpc/src/system/ui'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/jacks/pearpc/src/system'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/jacks/pearpc/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/jacks/pearpc'
make: *** [all] Error 2
Any ideas?
Cybermagellan
Forum All-Star
Posts: 541 Joined: Mon May 24, 2004 5:37 am
Location: Arizona
Post
by Cybermagellan » Wed Jun 23, 2004 1:41 pm
If you check the CVS status that might explain this....
Ph0eniX
Mac Mechanic
Posts: 154 Joined: Sun May 23, 2004 6:29 am
Post
by Ph0eniX » Sat Jun 26, 2004 8:33 pm
Cybermagellan wrote: If you check the CVS status that might explain this....
I did but then someone said it was fixed. I'm still having problems with it. The latest source produces:
Code: Select all
gmake[5]: Entering directory `/home/jacks/pearpc/src/system/ui/sdl'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I ../../.. -Wundef -Wall -Woverloaded-virtual -fsigned-char -O2 -fomit-frame-pointer -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -I/usr/include -MT gui.o -MD -MP -MF ".deps/gui.Tpo" \
-c -o gui.o `test -f 'gui.cc' || echo './'`gui.cc; \
then mv ".deps/gui.Tpo" ".deps/gui.Po"; \
else rm -f ".deps/gui.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I ../../.. -Wundef -Wall -Woverloaded-virtual -fsigned-char -O2 -fomit-frame-pointer -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -I/usr/include -MT sysdisplay.o -MD -MP -MF ".deps/sysdisplay.Tpo" \
-c -o sysdisplay.o `test -f 'sysdisplay.cc' || echo './'`sysdisplay.cc; \
then mv ".deps/sysdisplay.Tpo" ".deps/sysdisplay.Po"; \
else rm -f ".deps/sysdisplay.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I ../../.. -Wundef -Wall -Woverloaded-virtual -fsigned-char -O2 -fomit-frame-pointer -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -I/usr/include -MT syskeyboard.o -MD -MP -MF ".deps/syskeyboard.Tpo" \
-c -o syskeyboard.o `test -f 'syskeyboard.cc' || echo './'`syskeyboard.cc; \
then mv ".deps/syskeyboard.Tpo" ".deps/syskeyboard.Po"; \
else rm -f ".deps/syskeyboard.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I ../../.. -Wundef -Wall -Woverloaded-virtual -fsigned-char -O2 -fomit-frame-pointer -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -I/usr/include -MT sysmouse.o -MD -MP -MF ".deps/sysmouse.Tpo" \
-c -o sysmouse.o `test -f 'sysmouse.cc' || echo './'`sysmouse.cc; \
then mv ".deps/sysmouse.Tpo" ".deps/sysmouse.Po"; \
else rm -f ".deps/sysmouse.Tpo"; exit 1; \
fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../.. -I ../../.. -Wundef -Wall -Woverloaded-virtual -fsigned-char -O2 -fomit-frame-pointer -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -I/usr/include -MT syssdl.o -MD -MP -MF ".deps/syssdl.Tpo" \
-c -o syssdl.o `test -f 'syssdl.cc' || echo './'`syssdl.cc; \
then mv ".deps/syssdl.Tpo" ".deps/syssdl.Po"; \
else rm -f ".deps/syssdl.Tpo"; exit 1; \
fi
syssdl.cc: In function `bool handleSDLEvent(const SDL_Event&)':
syssdl.cc:71: error: `SDL_VIDEOEXPOSE' undeclared (first use this function)
syssdl.cc:71: error: (Each undeclared identifier is reported only once for each function it appears in.)
gmake[5]: *** [syssdl.o] Error 1
gmake[5]: Leaving directory `/home/jacks/pearpc/src/system/ui/sdl'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/home/jacks/pearpc/src/system/ui'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/home/jacks/pearpc/src/system'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/jacks/pearpc/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/jacks/pearpc'
make: *** [all] Error 2
Cybermagellan
Forum All-Star
Posts: 541 Joined: Mon May 24, 2004 5:37 am
Location: Arizona
Post
by Cybermagellan » Sun Jun 27, 2004 12:01 pm
Still having issues? Please keep us updated on your status...
Ph0eniX
Mac Mechanic
Posts: 154 Joined: Sun May 23, 2004 6:29 am
Post
by Ph0eniX » Mon Jun 28, 2004 2:45 pm
I'm still having problems. Now I'm getting:
Code: Select all
configure: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: pthread.h: proceeding with the compiler's result
checking for pthread.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... no
configure: WARNING: sys/socket.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: sys/socket.h: proceeding with the compiler's result
checking for sys/socket.h... yes
checking asm/types.h usability... yes
checking asm/types.h presence... no
configure: WARNING: asm/types.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: asm/types.h: proceeding with the compiler's result
while running:
Code: Select all
./configure --prefix=/usr/local --enable-fpo --enable-mmx --enable-msse --enable-msse2 --enable-ui=sdl --enable-cpu=jitc_x86
Older, precompiled SDL builds run fine on this system.
Also, if I use "ui=x11" now, ppc crashes when switching to GUI with:
Code: Select all
Couldn't change X window size to 1280x1024
Reported new size: 1270x(875+28)
[IO/GCARD] osi: 29
[IO/GCARD] osi: 29
[IO/GCARD] osi: 29
[IO/GCARD] osi: 29
Segmentation fault
1280x1024 is the resolution I have set in OS-X. It used to work fine.