This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Building Python with Tcl/Tk on Cygwin_NT-5.1
- From: Jason Tishler <jason at tishler dot net>
- To: "Dean N. Williams" <williams13 at llnl dot gov>
- Cc: Cygwin <cygwin at cygwin dot com>
- Date: Thu, 10 Feb 2005 07:07:34 -0500
- Subject: Re: Building Python with Tcl/Tk on Cygwin_NT-5.1
- References: <41FF5A67.3090606@llnl.gov> <20050201125129.GA432@tishler.net> <41FFA7C9.4070308@llnl.gov> <20050202124435.GA2472@tishler.net> <4200D056.4010000@llnl.gov> <4200D22D.9070000@llnl.gov> <20050202133005.GE2472@tishler.net> <4208E247.8030706@llnl.gov> <20050208175514.GA3788@tishler.net> <420A75AE.7040807@llnl.gov>
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/