Error when compiling on raspbian-stretch-full Topic is solved

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
marmachine
Posts: 133
Joined: Saturday 26 March 2016 10:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Error when compiling on raspbian-stretch-full

Post by marmachine »

I'v installed raspbian-stretch-full, version 2018-11-13 on my RPI3, also installed webserver and other stuff prior to Domoticz.
When i retry i get the same, have removed and cloned new sources, this was my second attempt with a clean system.
Seems to me that it is related to the source... however i'm no expert.

When compiling Domoticz, according the instructions here, i get the below result;

Code: Select all

....
[ 22%] Building CXX object CMakeFiles/domoticz.dir/main/dzVents.cpp.o
c++: internal compiler error: Geëlimineerd (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
CMakeFiles/domoticz.dir/build.make:134: recept voor doel 'CMakeFiles/domoticz.dir/main/Camera.cpp.o' is mislukt
make[2]: *** [CMakeFiles/domoticz.dir/main/Camera.cpp.o] Fout 4
make[2]: *** Wachten op onvoltooide taken...
c++: internal compiler error: Geëlimineerd (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
CMakeFiles/domoticz.dir/build.make:182: recept voor doel 'CMakeFiles/domoticz.dir/main/dzVents.cpp.o' is mislukt
make[2]: *** [CMakeFiles/domoticz.dir/main/dzVents.cpp.o] Fout 4
CMakeFiles/Makefile2:72: recept voor doel 'CMakeFiles/domoticz.dir/all' is mislukt
make[1]: *** [CMakeFiles/domoticz.dir/all] Fout 2
Makefile:149: recept voor doel 'all' is mislukt
make: *** [all] Fout 2
What is meant with the "preprocessed source"? I've simply cloned the source from GitHub as described in the instructions.
Actually don't know how to share my local source :geek:

Do i need a different distribution or earlier version??
Or do i need to use a swap file?
I'm lost :(
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: Error when compiling on raspbian-stretch-full

Post by waaren »

marmachine wrote: Sunday 24 February 2019 7:37 I'v installed raspbian-stretch-full, version 2018-11-13 on my RPI3, also installed webserver and other stuff prior to Domoticz.
When compiling Domoticz, according the instructions here, i get the below result;

Code: Select all

c++: internal compiler error: Geëlimineerd (program cc1plus)
Please submit a full bug report,
Do i need a different distribution or earlier version??
Or do i need to use a swap file?
I compile current domoticz beta with python and Zwave, local on a RPI-3B system after stopping all none essential services without swapfile using make -j1. It takes some time when I need to make from a fresh install but at least it is successful.

Code: Select all

RPi: Raspberry Pi 3 Model B Plus Rev 1.3
OS : Raspbian 9.8 (stretch)
Kernel: Linux 4.14.83v7-aufs armv7l
Python3: 3.5.3
Make: GNU Make 4.1
Compiler: gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1)
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
marmachine
Posts: 133
Joined: Saturday 26 March 2016 10:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Re: Error when compiling on raspbian-stretch-full

Post by marmachine »

waaren wrote: Sunday 24 February 2019 11:22 I compile current domoticz beta with python and Zwave, local on a RPI-3B system after stopping all none essential services without swapfile using make -j1. It takes some time when I need to make from a fresh install but at least it is successful.

Code: Select all

RPi: Raspberry Pi 3 Model B Plus Rev 1.3
OS : Raspbian 9.8 (stretch)
Kernel: Linux 4.14.83v7-aufs armv7l
Python3: 3.5.3
Make: GNU Make 4.1
Compiler: gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1)
Well, guess what.... this lead me to the solution... i've issued make -j 1 instead of make -j 3 as the manual says...
Takes a while, but.... [100%] Built target domoticz

Woohoo... thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest