Subject: Re: Building Python with Tcl/Tk on Cygwin_NT-5.1
From: Jason Tishler <[email-masked]>
To: "Dean N. Williams" <[email-masked]>
Cc: Cygwin <[email-masked]>
Date: Thu, 10 Feb 2005 07:07:34 -0500

Dean,

Please post instead of sending private email.

On Wed, Feb 09, 2005 at 12:42:22PM -0800, Dean N. Williams wrote:
> I'm trying to build one of my executables in Cygwin. I was wondering
> if you've seen this type of error? Everything appears to compile, but
> the linking fails.
> 
> ippc% make -f Makefile.CYGWIN_NT-5.1
> gcc -DCYGWIN_NT  -o gplot gplot.o cgm.o ccgm.o utils.o io.o carray.o 
> devices.o hload.o emul.o tty.o ps.o cgmc.o xws_cla.o xws_color.o 
> xws_delim.o xws_marker.o xws_polygon.o xws_polyline.o xws_setup.o 
> xws_text.o drvcla.o    /usr/X11R6/lib/libXp.dll.a 
> /usr/X11R6/lib/libXpm.dll.a /usr/X11R6/lib/libXaw.dll.a 
> /usr/X11R6/lib/libXmu.dll.a /usr/X11R6/lib/libXext.dll.a 
> /usr/X11R6/lib/libXt.dll.a /usr/X11R6/lib/libX11.dll.a     
> /usr/lib/libm.a -lc
> ccgm.o(.text+0xbe5c):ccgm.c: multiple definition of `_do_apdata'
> cgm.o(.text+0xc218):cgm.c: first defined here
> ccgm.o(.text+0xbdd8):ccgm.c: multiple definition of `_do_message'
> cgm.o(.text+0xc192):cgm.c: first defined here
> ccgm.o(.text+0xbd8):ccgm.c: multiple definition of `_class0'
> cgm.o(.text+0xe25):cgm.c: first defined here

The above appears to indicate the following:

    _do_apdata
    _do_message
    _class0

are defined more than once (i.e., in cgm.c and ccgm.c).

> Info: resolving _XtStrings by linking to __imp__XtStrings (auto-import)
> Info: resolving _widgetClass by linking to __imp__widgetClass (auto-import)
> collect2: ld returned 1 exit status
> make: *** [gplot] Error 1

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/