tady je ten log
zkoušel jsem ten symlink ale nejsem si jistý jak ho správně napsat zkusil sem to takto
a pak sem to tam vložil místo toho
ale to psalo failed to distribute
a jak si to myslel s tou kompilací přes ssh?
VYŘEŠENO! udělal jsem tzv MASQUERADING - udělal sem si složku kam sem naházel symlinky na ten toolchain, a tuto cestu sem zadal do /etc/init.d/distcc do PATH jako první a odstranil sem cestu k původnímu compileru a už to jede na malině už stačí jen ./configure CC=distcc CXX=distcc a make
mám další problém chtěl jsem si to překompilovat znovu celé ať vidím jak to bude rychlé a teď mi sice distcc píše kompilaci OK ale na malině vyskákaly chyby při kompilování a linkování jednoho souboru a dál se to zaseklo
předtím to proběhlo v pohodě
Kód [Vybrat]
distccd[15231] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[15373] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[15504] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[16992] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[2254] (dcc_execvp) ERROR: failed to exec g++: No such file or directory
distccd[1078] (dcc_job_summary) client: 192.168.2.111:50854 COMPILE_ERROR exit:110 sig:0 core:0 ret:0 time:17ms g++ /home/martin/openttd-1.3.0/src/settingsgen/settingsgen.cpp
distccd[1077] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[2862] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[1102] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[2391] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[4317] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[4539] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[4565] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[4611] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[4667] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[4695] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[4784] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[4829] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[2294] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[1055] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[1076] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[2738] (dcc_job_summary) client: 192.168.2.105:33074 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:2526ms cc /home/pi/openttd-1.3.0/src/road_map.cpp
distccd[2743] (dcc_job_summary) client: 192.168.2.105:33075 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:3450ms cc /home/pi/openttd-1.3.0/src/road_gui.cpp
distccd[2744] (dcc_job_summary) client: 192.168.2.105:33076 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:4137ms cc /home/pi/openttd-1.3.0/src/roadstop.cpp
distccd[2745] (dcc_readx) ERROR: unexpected eof on fd5
distccd[2745] (dcc_r_token_int) ERROR: read failed while waiting for token "DOTI"
distccd[2745] (dcc_job_summary) client: 192.168.2.105:33077 OTHER exit:0 sig:0 core:0 ret:108 time:4366ms
distccd[2747] (dcc_job_summary) client: 192.168.2.105:33079 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:1967ms cc /home/pi/openttd-1.3.0/src/road_map.cpp
distccd[2746] (dcc_job_summary) client: 192.168.2.105:33078 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:3400ms cc /home/pi/openttd-1.3.0/src/road_gui.cpp
distccd[2743] (dcc_job_summary) client: 192.168.2.105:33081 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:3354ms cc /home/pi/openttd-1.3.0/src/roadstop.cpp
distccd[2738] (dcc_readx) ERROR: unexpected eof on fd5
distccd[2738] (dcc_r_token_int) ERROR: read failed while waiting for token "DOTI"
distccd[2738] (dcc_job_summary) client: 192.168.2.105:33080 OTHER exit:0 sig:0 core:0 ret:108 time:4105ms
distccd[2737] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[3209] (dcc_job_summary) client: 192.168.2.105:33085 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:2115ms cc /home/pi/openttd-1.3.0/src/road_map.cpp
distccd[3204] (dcc_job_summary) client: 192.168.2.105:33083 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:3339ms cc /home/pi/openttd-1.3.0/src/road_gui.cpp
distccd[3210] (dcc_job_summary) client: 192.168.2.105:33084 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:3396ms cc /home/pi/openttd-1.3.0/src/roadstop.cpp
distccd[3211] (dcc_readx) ERROR: unexpected eof on fd5
distccd[3211] (dcc_r_token_int) ERROR: read failed while waiting for token "DOTI"
distccd[3211] (dcc_job_summary) client: 192.168.2.105:33086 OTHER exit:0 sig:0 core:0 ret:108 time:3588ms
distccd[3203] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[3235] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[3267] (dcc_job_summary) client: 192.168.2.105:33088 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:2325ms cc /home/pi/openttd-1.3.0/src/road_map.cpp
distccd[3262] (dcc_job_summary) client: 192.168.2.105:33087 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:3784ms cc /home/pi/openttd-1.3.0/src/road_gui.cpp
distccd[3268] (dcc_job_summary) client: 192.168.2.105:33089 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:3746ms cc /home/pi/openttd-1.3.0/src/roadstop.cpp
distccd[3269] (dcc_readx) ERROR: unexpected eof on fd5
distccd[3269] (dcc_r_token_int) ERROR: read failed while waiting for token "DOTI"
distccd[3269] (dcc_job_summary) client: 192.168.2.105:33090 OTHER exit:0 sig:0 core:0 ret:108 time:5446ms
distccd[3270] (dcc_readx) ERROR: unexpected eof on fd5
distccd[3270] (dcc_r_token_int) ERROR: read failed while waiting for token "DOTI"
distccd[3270] (dcc_job_summary) client: 192.168.2.105:33092 OTHER exit:0 sig:0 core:0 ret:108 time:0ms
distccd[3271] (dcc_readx) ERROR: unexpected eof on fd5
distccd[3271] (dcc_r_token_int) ERROR: read failed while waiting for token "DOTI"
distccd[3271] (dcc_job_summary) client: 192.168.2.105:33091 OTHER exit:0 sig:0 core:0 ret:108 time:0ms
distccd[3267] (dcc_readx) ERROR: unexpected eof on fd5
distccd[3267] (dcc_r_token_int) ERROR: read failed while waiting for token "DOTI"
distccd[3267] (dcc_job_summary) client: 192.168.2.105:33093 OTHER exit:0 sig:0 core:0 ret:108 time:0ms
distccd[3262] (dcc_readx) ERROR: unexpected eof on fd5
distccd[3262] (dcc_r_token_int) ERROR: read failed while waiting for token "DOTI"
distccd[3262] (dcc_job_summary) client: 192.168.2.105:33094 OTHER exit:0 sig:0 core:0 ret:108 time:0ms
distccd[3268] (dcc_job_summary) client: 192.168.2.105:33095 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:952ms cc /home/pi/openttd-1.3.0/src/road_gui.cpp
distccd[3269] (dcc_job_summary) client: 192.168.2.105:51451 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:1009ms cc /home/pi/openttd-1.3.0/src/road_gui.cpp
distccd[3261] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[1235] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[1078] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[3605] (dcc_job_summary) client: 192.168.2.105:56228 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:1464ms cc /home/pi/openttd-1.3.0/src/road_gui.cpp
distccd[3610] (dcc_job_summary) client: 192.168.2.105:56229 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:1004ms cc /home/pi/openttd-1.3.0/src/road_gui.cpp
distccd[3604] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied
distccd[3804] (dcc_job_summary) client: 192.168.2.105:56231 COMPILE_ERROR exit:1 sig:0 core:0 ret:0 time:1106ms cc /home/pi/openttd-1.3.0/src/road_gui.cpp
zkoušel jsem ten symlink ale nejsem si jistý jak ho správně napsat zkusil sem to takto
Kód [Vybrat]
cd /usr/local/bin
ln -s distcc arm-linux-gnueabihf-gcc
a pak sem to tam vložil místo toho
Kód [Vybrat]
make CC="arm-linux-ghueabihf-gcc" ...
ale to psalo failed to distribute
a jak si to myslel s tou kompilací přes ssh?
VYŘEŠENO! udělal jsem tzv MASQUERADING - udělal sem si složku kam sem naházel symlinky na ten toolchain, a tuto cestu sem zadal do /etc/init.d/distcc do PATH jako první a odstranil sem cestu k původnímu compileru a už to jede na malině už stačí jen ./configure CC=distcc CXX=distcc a make
mám další problém chtěl jsem si to překompilovat znovu celé ať vidím jak to bude rychlé a teď mi sice distcc píše kompilaci OK ale na malině vyskákaly chyby při kompilování a linkování jednoho souboru a dál se to zaseklo
Kód [Vybrat]
make[1]: Entering directory `/home/pi/openttd-1.3.0/objs/lang'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/pi/openttd-1.3.0/objs/lang'
make[1]: Entering directory `/home/pi/openttd-1.3.0/objs/setting'
[SETTING] Compiling and Linking settings_gen
ini_load.o: In function `IniItem::~IniItem()':
ini_load.cpp:(.text+0x8c): undefined reference to `operator delete(void*)'
ini_load.o: In function `IniGroup::~IniGroup()':
ini_load.cpp:(.text+0x1cc): undefined reference to `operator delete(void*)'
ini_load.cpp:(.text+0x1e8): undefined reference to `operator delete(void*)'
ini_load.o: In function `IniLoadFile::~IniLoadFile()':
ini_load.cpp:(.text+0x224): undefined reference to `operator delete(void*)'
ini_load.o: In function `IniLoadFile::~IniLoadFile()':
ini_load.cpp:(.text+0x244): undefined reference to `operator delete(void*)'
ini_load.o: In function `IniGroup::GetItem(char const*, bool)':
ini_load.cpp:(.text+0x29c): undefined reference to `operator new(unsigned int)'
ini_load.o: In function `IniGroup::Clear()':
ini_load.cpp:(.text+0x2ec): undefined reference to `operator delete(void*)'
ini_load.o: In function `IniLoadFile::GetGroup(char const*, unsigned int, bool)':
ini_load.cpp:(.text+0x3a4): undefined reference to `operator new(unsigned int)'
ini_load.o: In function `IniLoadFile::RemoveGroup(char const*)':
ini_load.cpp:(.text+0x490): undefined reference to `operator delete(void*)'
ini_load.o: In function `IniLoadFile::LoadFromDisk(char const*, Subdirectory)':
ini_load.cpp:(.text+0x628): undefined reference to `operator new(unsigned int)'
ini_load.cpp:(.text+0x678): undefined reference to `operator new(unsigned int)'
ini_load.cpp:(.text+0x73c): undefined reference to `operator new(unsigned int)'
ini_load.o:(.rodata+0x10): undefined reference to `__cxa_pure_virtual'
ini_load.o:(.rodata+0x14): undefined reference to `__cxa_pure_virtual'
ini_load.o:(.rodata+0x28): undefined reference to `vtable for __cxxabiv1::__class_type_info'
settingsgen.o: In function `main':
settingsgen.cpp:(.text+0x6e8): undefined reference to `__cxa_guard_acquire'
settingsgen.cpp:(.text+0x708): undefined reference to `__cxa_guard_release'
settingsgen.cpp:(.text+0x710): undefined reference to `operator new(unsigned int)'
settingsgen.cpp:(.text+0x760): undefined reference to `operator delete(void*)'
settingsgen.cpp:(.text+0x764): undefined reference to `__cxa_end_cleanup'
settingsgen.cpp:(.text+0x76c): undefined reference to `__cxa_guard_acquire'
settingsgen.cpp:(.text+0x79c): undefined reference to `__cxa_guard_release'
settingsgen.o:(.ARM.extab+0x28): undefined reference to `__gxx_personality_v0'
settingsgen.o: In function `SettingsIniFile::~SettingsIniFile()':
settingsgen.cpp:(.text._ZN15SettingsIniFileD0Ev[SettingsIniFile::~SettingsIniFile()]+0x18): undefined reference to `operator delete(void*)'
settingsgen.o:(.rodata._ZTI15SettingsIniFile[typeinfo for SettingsIniFile]+0x0): undefined reference to `vtable for __cxxabiv1::__si_class_type_info'
collect2: ld returned 1 exit status
distcc[8537] ERROR: compile (null) on localhost failed
make[1]: *** [settings_gen] Error 1
make[1]: Leaving directory `/home/pi/openttd-1.3.0/objs/setting'
make: *** [all] Error 1
předtím to proběhlo v pohodě