2.6~pre.
I dont know what system You have, but if it is updated, then it is not
fresh dailybuild from
http://cdimage.ubuntu.com/xubuntu/daily-live/current/ .
The problem is :
linuxcnc is compilled on Xubuntu downloaded in januaru, but is NOT
compiled on system downloaded in february.
My script for dependiences is :
#!/bin/bash
if !( ping -c 1 www.google.com ); then
echo "No Internet connection detected."
echo "Connect computer to the Internet before running this script."
echo "Aborted"
exit 0
fi
apt-get update
apt-get dist-upgrade
apt-get -y install mc
apt-get -y install patch
apt-get -y install cvs
apt-get -y install git
apt-get -y install kernel-package
apt-get -y install gedit
apt-get -y install ncurses-dev
apt-get -y install libc6-dev-i386
apt-get -y install libglib2.0-dev
apt-get -y install libgtk2.0-dev
apt-get -y install tcl-dev
apt-get -y install tk-dev
apt-get -y install bwidget
apt-get -y install libreadline-gplv2-dev
apt-get -y install python-tk
apt-get -y install libboost-dev
apt-get -y install libboost-python-dev
apt-get -y install libxmu-dev
apt-get -y install autoconf
apt-get -y install libpth-dev
apt-get -y install libxaw7-dev
apt-get -y install libgl1-mesa-dev
apt-get -y install libglu1-mesa-dev
apt-get -y install mesa-utils
apt-get -y install driconf
apt-get -y install libtk-img
apt-get -y install yapps2
cd /usr/src
git clone git://git.linuxcnc.org/git/emc2.git emc2-dev
----------------
Some packages are not for linuxcnc, but this is not important.
System downloaded in january works, but system downloaded in february
not works for linuxcnc.
The error is :
Linking classicladder
/usr/bin/ld: objects/hal/classicladder/socket_modbus_master.o: undefined
reference to symbol 'pthread_create@@GLIBC_2.2.5'
/usr/bin/ld: note: 'pthread_create@@GLIBC_2.2.5' is defined in DSO
/lib/x86_64-linux-gnu/libpthread.so.0 so try adding it to the linker
command line
/lib/x86_64-linux-gnu/libpthread.so.0: could not read symbols: Invalid
operation
collect2: ld returned 1 exit status
make: *** [../bin/classicladder] B?a;d 1
make: Opuszczenie katalogu `/opt/linuxcnc.sim/src'
It is problem to write code witch <at> symbol in mail.
I must write pthread_create<at><at>GLIBC_2.2.5 .
All dependiences are installed correctly.
lipthread is libpthread.so.0 --> libpthread-2.15.so
symbol pthread_create<at><at>GLIBC_2.2.5 exist.
In system downloaded in january libraries are 2.13 and compiled linuxcnc
without errors.
In system downloaded in february libraries are 2.15 and compiled
linuxcnc with described error.
Well, english is not my native language, but problem is simply.
Newest libraries not support old code of linuxcnc.
Adam.
W dniu 20.02.2012 22:06, Sebastian Kuzminsky pisze:
I just did several builds on a Precise machine, updated today. I built 2.5 and
master. No problems.
On Feb 20, 2012, at 11:01 , Sebastian Kuzminsky wrote:
Our buildbot builds and tests every commit to LinuxCNC on Ubuntu Precise, both
in 32-bit and 64-bit, and we are not seeing any problems there. I think your
build machine is set up wrong somehow.
Do you have all the build dependencies installed correctly? Try this (from the
top-level directory of a git clone of linuxcnc):
cd debian
./configure sim
cd ..
dpkg-checkbuilddeps
On Feb 19, 2012, at 02:10 , tuxcnc wrote:
I have no libmodbus in my system.
Installing libmodbus-dev gets no changes.
There are two questions :
1. Why ?
2. Why when linking classicladder and in socket_modbus_master.o ?
1.
It is not first and nod last surprise from gcc developers.
They are rebuilding libraries without back compability.
2.
In my opinion it is bad code in linuxcnc.
This code was work, but will not
12.04 is LTS and Xubuntu is light and simple like old Gnome.
It is good choice get Xubuntu Precise for linuxcnc platform.
In my opinion linuxcnc must work on this system.
On 32 and 64 bit.
Adam.
W dniu 18.02.2012 23:34, andy pugh pisze:
On 18 February 2012 21:56, tuxcnc<[email protected]> wrote:
/usr/bin/ld: objects/hal/classicladder/socket_modbus_master.o: undefined
Possibly linked to:
http://thread.gmane.org/gmane.linux.distributions.emc.devel/5879/focus=5915
?
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers