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.
Discussion of Eggdrop's code and module programming in C.
Romeyo
Voice
Posts: 12 Joined: Tue Nov 01, 2005 10:56 am
Post
by Romeyo » Thu Mar 02, 2006 12:11 pm
i was trying to compile the eggdrop with MegaHAL Version 2.7 and am keep getting the following error. I tried in my 2 different shell accounts and still getting the errors. Below is the error..
Code: Select all
gcc -pipe -fPIC -g -O2 -Wall -I. -I../../.. -I../../.. -I../../../src/mod -DHAVE_CONFIG_H -DMAKING_MODS -c .././megahal.mod/megahal.c
In file included from .././megahal.mod/megahal.c:153:
/usr/include/malloc.h:3:2: #error "<malloc.h> has been replaced by <stdlib.h>"
*** Error code 1
Stop in /usr/home/knight/eggdrop1.6.17/src/mod/megahal.mod.
*** Error code 1
Stop in /usr/home/knight/eggdrop1.6.17/src/mod.
*** Error code 1
Stop in /usr/home/knight/eggdrop1.6.17.
I have tried make, make clean, gmake all. Help me to solve this issue.
Thanks in Advance.
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Fri Mar 03, 2006 1:23 am
one would think that the thought of replacing malloc.h with stdlib.h should have crossed your mind... alas, obviously not
connection, sharing, dcc problems? click
<here>
before asking for scripting help, read
<this>
use
Romeyo
Voice
Posts: 12 Joined: Tue Nov 01, 2005 10:56 am
Post
by Romeyo » Sat Mar 04, 2006 2:05 am
Sorry forgot to report back. I did so and got the thing working
anyway thankies