www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/08/15:34:55

From: khan AT xraylith DOT wisc DOT edu (Mumit Khan)
Subject: Re: Porting eggdrop 1.3.xx
8 Dec 1998 15:34:55 -0800 :
Message-ID: <199812081620.KAA04115.cygnus.gnu-win32@modi.xraylith.wisc.edu>
References: <Pine DOT OSF DOT 4 DOT 05 DOT 9812071152310 DOT 24290-100000 AT cfplasma1 DOT ist DOT utl DOT pt>
To: Hugo Leote <hugo AT cfplasma1 DOT ist DOT utl DOT pt>
Cc: GNU Win32 <gnu-win32 AT cygnus DOT com>

Hugo Leote <hugo AT cfplasma1 DOT ist DOT utl DOT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019