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.

Compiling

Old posts that have not been replied to for several years.
Locked
f
ferrisr

Compiling

Post by ferrisr »

When i run LD to make my dll for my module for windrop, i get something about undefined start function, hwo am i supposed to ahve a start function (what to use for it, how does eggdrop makefiles make the modules?)
f
ferrisr

Post by ferrisr »

please help me, i am using cygwin and i am an experienced programmer, i just cant get this to work

more info:

Code: Select all

bash-2.05b$ gcc -pipe -g -O2 -I. -I../../.. -I../../.. -I../../../src/mod -DHAV
E_CONFIG_H -DMAKING_MODS -o ./bafnotes.c
gcc: no input files
bash-2.05b$ ld bafnotes.o -o bafnotes.dll
ld: warning: cannot find entry symbol _mainCRTStartup; defaulting to 00401000
bash-2.05b$ strip bafnotes.dll
that is what i use to compile, and how do i fix it so it knows the startpoint? i mean, like how does eggdrop compile it and not get that and have the modules work (this wont load, said it cant find the start point)
W
Wcc
Master
Posts: 278
Joined: Sun Oct 28, 2001 8:00 pm
Location: USA
Contact:

Post by Wcc »

Look at the code for the existing modules, specifically the EXPORT_SCOPE define.
[
[SD]Amon

Post by [SD]Amon »

http://windrop.sourceforge.net/compilemodules.html
Did you follow those instructions?
Locked