delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/01/01:09:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Tue, 1 May 2001 01:09:20 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: "Matthew O. Persico" <persicom AT acedsl DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: lesstif build fails
Message-ID: <20010501010920.A6978@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: "Matthew O. Persico" <persicom AT acedsl DOT com>,
cygwin AT cygwin DOT com
References: <3AEE3DC2 DOT 7231D4A4 AT acedsl DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <3AEE3DC2.7231D4A4@acedsl.com>; from persicom@acedsl.com on Tue, May 01, 2001 at 12:38:26AM -0400

WRONG MAILING LIST.

On Tue, May 01, 2001 at 12:38:26AM -0400, Matthew O. Persico wrote:
>Just for kicks, after installing the latest XFree binaries, I decided to
>try lesstif, so that I can eventually try DDD.
>
>Anyway, I had to put the following patch into
>lesstif-0.92.26/clients/Motif-2.0/uil (submitted to the lesstif folks): 
>
>--- main.c.orig Tue May  1 00:13:33 2001
>+++ main.c      Tue May  1 00:12:29 2001
>@@ -38,6 +38,10 @@
>
> #ifndef HAVE_GETOPT
> #error You need getopt() to build this client!
>+#else
>+#ifdef CYGWIN
>+#include <getopt.h>
>+#endif
> #endif
>
> #include "FakeWidget.h"
>
>but then I ran into this problem:
>
>gcc -g -Wall -o newuil.exe newuil.o ../../../lib/Uil-2.0/.libs/libUil.a
>-L/usr/X11R6/lib -lXt ../../../lib/Mrm-2.0/.libs/libMrm.a
>../../../lib/Xm-2.0/.libs/libXm.a -lXt -lSM -lICE -lX11 -L/usr/X11R6/lib
>-lXt -lSM -lICE -lX11
>
>../../../lib/Xm-2.0/.libs/libXm.a(Vendor.o): In function
>`secondary_object_create':
>/e/src/cygwin/other/lesstif-0.92.26/lib/Xm-2.0/Vendor.c:895: multiple
>definition of `vendorShellClassRec'
>/usr/X11R6/lib/libXt.a(Vendor.o)(.data+0x0):Vendor.c: first defined here
>
>../../../lib/Xm-2.0/.libs/libXm.a(Vendor.o): In function
>`secondary_object_create':
>/e/src/cygwin/other/lesstif-0.92.26/lib/Xm-2.0/Vendor.c:917: multiple
>definition of `vendorShellWidgetClass'
>/usr/X11R6/lib/libXt.a(Vendor.o)(.data+0x94):Vendor.c: first defined
>here
>
>collect2: ld returned 1 exit status
>
>make[3]: *** [newuil.exe] Error 1
>make[3]: Leaving directory
>`/e/src/cygwin/other/lesstif-0.92.26/clients/Motif-2.0/uil'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory
>`/e/src/cygwin/other/lesstif-0.92.26/clients/Motif-2.0'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/e/src/cygwin/other/lesstif-0.92.26/clients'
>make: *** [all-recursive] Error 1
>
>Where should I make the changes to eliminate the extra symbol? Any
>ideas?

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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