This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: XFree86 4.0.3 / LessTif 0.92.26 Symbol Collision


Brian.P.Kasper@aero.org wrote:
> 
> Hello.
> 
> I'm encountering multiply-defined symbols while linking
> UIL clients included with LessTif 0.92.26 with the latest
> Cygwin XFree86.
> 
> I'm compiling with Cygwin 1.1.8 (gcc 2.95.3-1) and the
> binary release of XFree86 4.0.3 for Cygwin from
> 
> ftp://mirrors.rcn.net/pub/sourceware/cygwin/xfree/xc-4-binaries/4.0.3
> 
<SNIP>
> The next error I encountered was during the link stage for
> newuil.exe:
> 
> 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)(.data+0x6e0): \
> 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)(.data+0x774): \
> multiple definition of `vendorShellWidgetClass'
> /usr/X11R6/lib/libXt.a(Vendor.o)(.data+0x94):Vendor.c: \
> first defined here
> collect2: ld returned 1 exit status
> 
> I have the Hummingbird Exceed XDK installed also; I did a
> "strings libXm.lib libXt.lib | grep vendorShellClassRec"
> and determined that both libraries contain references to
> that string.  I'm unsure which library should be defining
> it.
<SNIP>

Perhaps Martin Simmons response earlier today could help.

http://www.mail-archive.com/lesstif%40hungry.com/msg01452.html

-- 
______________________________________________________________________________
Todd Denniston, Code 6067, NSWC Crane mailto:Todd.Denniston@SSA.Crane.Navy.Mil
I'd crawl over an acre of 'Visual This++' and 'Integrated Development
That' to get to gcc, Emacs, and gdb.  Thank you.
        -- Vance Petree, Virginia Power


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]