This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Megahal compile issue on OSX

Old posts that have not been replied to for several years.
Locked
c
cyk
Voice
Posts: 2
Joined: Wed Aug 10, 2005 1:36 pm

Megahal compile issue on OSX

Post by cyk »

I can get eggdrop to compile, using 1.6.17 RC1 but when I try to add the megahal module it fails. I'm using Megahal 2.7.

Code: Select all

gcc -pipe -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DSTATIC  -DMAKING_MODS -c .././megahal.mod/megahal.c
In file included from .././megahal.mod/../modvals.h:92,
                 from .././megahal.mod/../module.h:30,
                 from .././megahal.mod/megahal.c:166:
/usr/include/mach-o/dyld.h:45: error: redeclaration of enumerator 'FALSE'
.././megahal.mod/megahal.h:83: error: previous definition of 'FALSE' was here
/usr/include/mach-o/dyld.h:47: error: redeclaration of enumerator 'TRUE'
.././megahal.mod/megahal.h:83: error: previous definition of 'TRUE' was here
make[2]: *** [../megahal.o] Error 1
make[1]: *** [megahal.mod_o] Error 2
make: *** [static] Error 2
Any ideas?
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

fix megahal to use different constant defines for TRUE and FALSE
c
cyk
Voice
Posts: 2
Joined: Wed Aug 10, 2005 1:36 pm

Post by cyk »

Ah of course. Cheers, that did it :)
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

cyk: did dns.mod work for you? If it didn't, e-mail me at wcc@techmonkeys.org . I might have a fix for dns.mod on OSX, but I need a few people to test it befire I fix it in the main eggdrop release...

Thanks,
Will
Locked