New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

compiling Freedroid RPG make errors

Post Reply New Thread Subscribe

Thread Tools

Member Since: Nov 21, 2010
Posts: 23
gajbooks is on a distinguished road

gajbooks is offline
I want to compile FreedroidRPG on an old mac 10.3.9 ibook G3, and i keep getting these errors when i try and make it

make all-recursive
Making all in src
gcc -DHAVE_CONFIG_H -I. -I.. -I. -DMACOSX -g -O2 -Wall -DFD_DATADIR='"/usr/local/share/freedroidrpg"' -ffast-math -I/usr/local/include -I/usr/local/include/SDL -D_THREAD_SAFE -F/System/Library/Frameworks/Carbon.framework -F/System/Library/Frameworks/Cocoa.framework -MT menu.o -MD -MP -MF .deps/menu.Tpo -c -o menu.o menu.c
menu.c: In function `DoMenuSelection':
menu.c:326: error: `SDL_BUTTON_WHEELUP' undeclared (first use in this function)
menu.c:326: error: (Each undeclared identifier is reported only once
menu.c:326: error: for each function it appears in.)
menu.c:330: error: `SDL_BUTTON_WHEELDOWN' undeclared (first use in this function)
menu.c: In function `ChatDoMenuSelection':
menu.c:687: error: `SDL_BUTTON_WHEELUP' undeclared (first use in this function)
menu.c:691: error: `SDL_BUTTON_WHEELDOWN' undeclared (first use in this function)
menu.c: In function `do_savegame_selection_and_act':
menu.c:2049: warning: passing arg 3 of `scandir' from incompatible pointer type
make[2]: *** [menu.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

this is just what appears after i enter sudo make and hit enter. I found out why it does this, i have no mouse wheel. I fixed this error i put on here, but i still have problems with takeover.c. same problem, but lots more complicated to fix (i just deleted the part with this in it in the other ones), so i need help with that now.
QUOTE Thanks

Post Reply New Thread Subscribe

« script to add startup sounds | gcc command not found »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Cant run SDL test program while configuring Freedroid RPG gajbooks OS X - Apps and Games 0 05-12-2011 08:11 PM
Building Mac-On-Linux Dreamcast270mhz Running Windows (or anything else) on your Mac 3 04-03-2010 10:04 AM
How to make your own iPhone Ringtone with iPhone Ringtone maker(for Windows/Mac) jerrygreen Other Hardware and Peripherals 0 01-25-2010 02:38 AM
make and CDRecord plunger OS X - Development and Darwin 3 12-29-2003 05:49 PM

All times are GMT -4. The time now is 06:02 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?