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 "make" issues

Discussion of Eggdrop's code and module programming in C.
Post Reply
R
Romeyo
Voice
Posts: 12
Joined: Tue Nov 01, 2005 10:56 am

MegaHAL "make" issues

Post by Romeyo »

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.
User avatar
demond
Revered One
Posts: 3073
Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:

Post by demond »

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

Code: Select all

 tag when posting logs, code
R
Romeyo
Voice
Posts: 12
Joined: Tue Nov 01, 2005 10:56 am

Post by Romeyo »

Sorry forgot to report back. I did so and got the thing working ;) anyway thankies :)
Post Reply