On Wed, May 02, 2001 at 09:33:36PM -0400, Matthew O. Persico wrote:
> 
> 
> -------- Original Message --------
> From: "Matthew O. Persico" <[EMAIL PROTECTED]>
> Subject: lesstif build fails
> To: cygwin <[EMAIL PROTECTED]>
> 
> 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 modify lesstif-0.92.26/clients/Motif-2.0/uil/main.c as
> follows:
> 
>  #ifndef HAVE_GETOPT
>  #error You need getopt() to build this client!
> +#else
> +#include <getopt.h>
>  #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?
> -- 
> Matthew O. Persico
>     
> http://www.acecape.com/dsl
> AceDSL:The best ADSL in Verizon area
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

I think this has already been discussed on the mailing list.
Please check out the archive.

-- 
Alexander Mai
[EMAIL PROTECTED]

Reply via email to