egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Megahal compile issue on OSX

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive
View previous topic :: View next topic  
Author Message
cyk
Voice


Joined: 10 Aug 2005
Posts: 2

PostPosted: Wed Aug 10, 2005 1:40 pm    Post subject: Megahal compile issue on OSX Reply with quote

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:
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?
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Wed Aug 10, 2005 1:49 pm    Post subject: Reply with quote

fix megahal to use different constant defines for TRUE and FALSE
Back to top
View user's profile Send private message Visit poster's website
cyk
Voice


Joined: 10 Aug 2005
Posts: 2

PostPosted: Wed Aug 10, 2005 2:28 pm    Post subject: Reply with quote

Ah of course. Cheers, that did it Smile
Back to top
View user's profile Send private message
Wcc
Master


Joined: 28 Oct 2001
Posts: 278
Location: USA

PostPosted: Sun Aug 14, 2005 11:19 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    egghelp.org community Forum Index -> Archive All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber