| View previous topic :: View next topic |
| Author |
Message |
cyk Voice
Joined: 10 Aug 2005 Posts: 2
|
Posted: Wed Aug 10, 2005 1:40 pm Post subject: Megahal compile issue on OSX |
|
|
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 |
|
 |
demond Revered One

Joined: 12 Jun 2004 Posts: 3073 Location: San Francisco, CA
|
Posted: Wed Aug 10, 2005 1:49 pm Post subject: |
|
|
| fix megahal to use different constant defines for TRUE and FALSE |
|
| Back to top |
|
 |
cyk Voice
Joined: 10 Aug 2005 Posts: 2
|
Posted: Wed Aug 10, 2005 2:28 pm Post subject: |
|
|
Ah of course. Cheers, that did it  |
|
| Back to top |
|
 |
Wcc Master
Joined: 28 Oct 2001 Posts: 278 Location: USA
|
Posted: Sun Aug 14, 2005 11:19 pm Post subject: |
|
|
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 |
|
 |
|