This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Porting eggdrop 1.3.xx
- To: Hugo Leote <hugo at cfplasma1 dot ist dot utl dot pt>
- Subject: Re: Porting eggdrop 1.3.xx
- From: Mumit Khan <khan at xraylith dot wisc dot edu>
- Date: Tue, 08 Dec 1998 10:20:58 -0600
- cc: GNU Win32 <gnu-win32 at cygnus dot com>
Hugo Leote <hugo@cfplasma1.ist.utl.pt> writes:
>
> I'm one step away from compiling eggdrop1.3.22 sucessfully with cygwin32.
> Unfortunately I still get the following linking problem:
>
> Linking eggdrop...(statically)
>
> gcc -o ../eggdrop botcmd.o botmsg.o botnet.o chanprog.o cmds.o dcc.o dccutil.
> o f
> lags.o language.o main.o mem.o misc.o modules.o net.o tcl.o tcldcc.o tclhash.
> o t
> clmisc.o tcluser.o userent.o userrec.o users.o -L/cygnus/cygwin-b20/H-i586-cy
> gwi
> n32/lib -ltcl80 -lm mod/*.o
^^^ This is WRONG.
Whoever designed the original Makefile (or Makefile.in) didn't understand
how most/typical Unix linkers work (single pass, left to right resolution).
Move mod/*.o *before* -ltcl80.
Regards,
Mumit
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".