On 10/19/2016 10:20 AM, Joop Goedbloed wrote:

> For testing I'am trying to compile emc2 2.4.6 simulating on opensuse
> leap 42.1.
>
> get a linking error lke this:
> Linking xemc
> /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
> objects/emc/usr_intf/xemc.o: undefined reference to symbol 'XtAddCallback'
> /usr/lib64/libXt.so.6: error adding symbols: DSO missing from command line
> collect2: error: ld returned 1 exit status
> emc/usr_intf/Submakefile:90: recept voor doel '../bin/xemc' is mislukt
> make: *** [../bin/xemc] Fout 1
> make: Map '/home/joop/emc3/emc2-dev/src' wordt verlaten
> joop@linux-mt69:~/emc3/emc2-dev/src>
>
> what is wrong
I don't know about OpenSuse 42.1, but on my machine (Debian Stretch),
that symbol (XtAddCallback) is supplied by libXt.so, supplied by the
debian package named libxt, version 1.1.5.  Do you have that library
installed?

We had a bug in the build system of some older versions of LinuxCNC
where it would place the command-line arguments to the linker in the
wrong order, and sometimes fail to find symbols supplied by some of the
libraries.  Can you try LinuxCNC 2.7 and see if this fixes your problem?

Problem solved

Got the latest version 2.8,pre1 from git

This version build fine op opensuse leap 42.1

Thanks

Joop Goedbloed
-- Sebastian Kuzminsky

-- 
Dit bericht is verzonden met Thunderbird op Linux.
Linux is een vrij- en open besturings-systeem, onafhankelijk
van Microsoft, Google en Apple.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to