Hi Yves,
>From here, it looks like you're compiling with LLVM, whereas it looks like
>everyone here is using GCC.
On my side, I tryed this:
nm .libs/misc.o | fgrep W_DraggingInfo
nm .libs/handlers.o | fgrep W_DraggingInfo
(It seems the begining "_" is a LLVW thing)
And I got in both case this:
0000000000000030 C W_DraggingInfo
Could you check on your side?
The 'C' means it is a "Common" symbol, something that GCC is merging at link
time.
Do you have the same 'C' on your side?
Looks like a LLVM issue to me, either because it fails to set the 'Common' flag
to the symbol, or because its linker fails to recognise it. May this be due to
an old LLVM version? ("clang --version" should help)
That does not mean that nothing can be done on WMaker side, but for a start we
need to know were the problem is...
Christophe.
----- Yves de Champlain <[email protected]> a écrit :
> Hi
>
> I get this error :
>
> ld: duplicate symbol _W_DraggingInfo in .libs/misc.o and .libs/handlers.o for
> architecture x86_64
>
> in
>
> make[3]: Entering directory
> `/opt/local/var/macports/build/_Users_yves_src_dports_x11_windowmaker/windowmaker/work/WindowMaker-0.95.2/WINGs'
> /bin/sh ../libtool --tag=CC --mode=link /usr/bin/clang -pipe -O2 -arch
> x86_64 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -version-info
> 2:0:0 -L/opt/local/lib -arch x86_64 -o libWUtil.la -rpath /opt/local/lib
> array.lo bagtree.lo data.lo error.lo findfile.lo handlers.lo hashtable.lo
> memory.lo misc.lo notification.lo proplist.lo string.lo tree.lo
> userdefaults.lo usleep.lo wapplication.lo wutil.lo
> libtool: link: /usr/bin/clang -dynamiclib -Wl,-undefined -Wl,dynamic_lookup
> -o .libs/libWUtil.2.dylib .libs/array.o .libs/bagtree.o .libs/data.o
> .libs/error.o .libs/findfile.o .libs/handlers.o .libs/hashtable.o
> .libs/memory.o .libs/misc.o .libs/notification.o .libs/proplist.o
> .libs/string.o .libs/tree.o .libs/userdefaults.o .libs/usleep.o
> .libs/wapplication.o .libs/wutil.o -L/opt/local/lib -arch x86_64 -arch
> x86_64 -install_name /opt/local/lib/libWUtil.2.dylib
> -compatibility_version 3 -current_version 3.0 -Wl,-single_module
> ld: duplicate symbol _W_DraggingInfo in .libs/misc.o and .libs/handlers.o for
> architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
>
> Any help appreciated
>
> yves
>
>
>
> --
> To unsubscribe, send mail to [email protected].
--
To unsubscribe, send mail to [email protected].