Hi,

  I'm trying to build machinekit from the 2017-02-12 version.  I've gone 
through the steps below, and at step 24 I encounter an error while 
compiling emctask.cc.  I read somewhere that adding a swap space might 
help, so I tried to add one, and it either didn't help, or I did it wrong.  
In any case, can anyone tell me if the steps I've taken below are either 
wrong, or if I'm missing any?

Thanks,

Jeff
(PS.  I tried to download the most recent Jessie version and when booting 
the three blue LEDs would light up, and the BBB would freeze, thus I'm 
using the 02-12 version)
====================================== 
on ubuntu....
[1] wget 
https://rcn-ee.com/rootfs/bb.org/testing/2017-02-12/machinekit/bone-debian-8.7-machinekit-armhf-2017-02-12-4gb.img.xz

[2] sha256sum bone-debian-8.7-machinekit-armhf-2017-02-12-4gb*
18361e0426715974b5a0e7f014ff1bf26db2421cbf8d61622efd2856cd8c6214  
bone-debian-8.7-machinekit-armhf-2017-02-12-4gb.img.xz

[3] xzcat bone-debian-8.7-machinekit-armhf-2017-02-12-4gb.img.xz | sudo dd 
of=/dev/sdc
----------------------------
[4] install uSD in to BBB and boot
----------------------------
resize 4GB to full 16 GB
[5] cd /opt/scripts/tools/
[6] git pull
[7] sudo ./grow_partition.sh
[8] sudo reboot
-----------------------------
[9] sudo apt-get remove --purge machinekit
[10] sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 
43DDF224
[11] sudo sh -c \
  "echo 'deb http://deb.machinekit.io/debian jessie main' > \
  /etc/apt/sources.list.d/machinekit.list"
[12] sudo apt-get update
[13] sudo apt-get install machinekit-xenomai machinekit-dev
----------------------------
[14] sudo apt-get install libczmq-dev python-zmq libjansson-dev pkg-config \
  libwebsockets-dev libxenomai-dev python-pyftpdlib cython bwidget 
lsb-release
----------------------------  
[15] sudo apt-get install git dpkg-dev
[16] sudo apt-get install --no-install-recommends devscripts equivs
[17] sudo git clone https://github.com/machinekit/machinekit.git 
/home/machinekit-dev
[18] cd machinekit-dev
[19] sudo ./debian/configure -prx
[20] sudo mk-build-deps -ir
[21] cd src
[22] sudo ./autogen.sh
[23] sudo ./configure --with-platform-beaglebone
[24] sudo make
*********
during compilng the source I get the error.......
....
....
....
Compiling emc/task/emctask.cc
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.9/README.Bugs> for instructions.
Makefile:436: recipe for target 'objects/emc/task/emctask.o' failed
make: *** [objects/emc/task/emctask.o] Error 4
make: Leaving directory '/home/machinekit-dev/src'
*********

--to be done after compile
[24]sudo make setuid
---------------------------

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to