delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/12/09/04:47:56

From: hugo AT cfplasma1 DOT ist DOT utl DOT pt (Hugo Leote)
Subject: Porting eggdrop 1.3.xx - SOLVED !
9 Dec 1998 04:47:56 -0800 :
Message-ID: <Pine.OSF.4.05.9812081952530.25640-100000.cygnus.gnu-win32@cfplasma1.ist.utl.pt>
References: <199812081252 DOT OAA29994 AT loop DOT nettilinja DOT fi>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Thanks to the help of four very nice people, my porting problem is now
solved. 
I just had to change one line (line 29) in src/Makefile :

from:
	${LD} -o ../eggdrop ${OBJS} ${XLIBS} mod/*.o
to:
	${LD} -o ../eggdrop ${OBJS} mod/*.o ${XLIBS}


I used a source package that was meant for unix systems and
now the ported program works. I find this absolutely *AMAZING*. 

Thanks again !
Hugo


(original problem follows)
> Hugo Leote wrote:
> 
> > 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-cygwi
> > n32/lib -ltcl80 -lm  mod/*.o
> > mod/server.o: In function `tcl_eggserver':
> > /cygnus/cygwin-b20/src/eggdrop1.3.22-pide/src/mod/server.mod/server.c:543:
> >  undefined reference to `Tcl_DStringInit'
> > /cygnus/cygwin-b20/src/eggdrop1.3.22-pide/src/mod/server.mod/server.c:548:
> >  undefined reference to `Tcl_DStringAppendElement'
> > /cygnus/cygwin-b20/src/eggdrop1.3.22-pide/src/mod/server.mod/server.c:552:
> >  undefined reference to `Tcl_DStringFree'
> > collect2: ld returned 1 exit status
> > make[1]: *** [static] Error 1
> > make: *** [static] Error 2
> > 
> > ******************************************
> > 
> > So far, I've been unable to find out why these three TCL functions are not
> > recognized because they appear to be included in libtcl80.a .
> 

,~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~,
|      Hugo Leote                                           /
|      hugo AT cfplasma1 DOT ist DOT utl DOT pt                           /
|      Electronics & Computers Engineering Student         \
|      IST - Instituto Superior Tecnico, Lisbon, Portugal   \
`~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`

-
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