Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 10 Feb 2005 07:07:34 -0500 From: Jason Tishler To: "Dean N. Williams" Cc: Cygwin Subject: Re: Building Python with Tcl/Tk on Cygwin_NT-5.1 Message-ID: <20050210120734.GB4084@tishler.net> Mail-Followup-To: "Dean N. Williams" , Cygwin References: <41FF5A67 DOT 3090606 AT llnl DOT gov> <20050201125129 DOT GA432 AT tishler DOT net> <41FFA7C9 DOT 4070308 AT llnl DOT gov> <20050202124435 DOT GA2472 AT tishler DOT net> <4200D056 DOT 4010000 AT llnl DOT gov> <4200D22D DOT 9070000 AT llnl DOT gov> <20050202133005 DOT GE2472 AT tishler DOT net> <4208E247 DOT 8030706 AT llnl DOT gov> <20050208175514 DOT GA3788 AT tishler DOT net> <420A75AE DOT 7040807 AT llnl DOT gov> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <420A75AE.7040807@llnl.gov> User-Agent: Mutt/1.4.1i X-IsSubscribed: yes 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/