Oliver Dawid
Registered 13 years 311 days
Oliver 349 Thursday, 27 June 2019, 10:45 AM
Building x86 code faills
Hi,

I am trying to figure out what's going wrong in my build process when building x86 code. Hopefully someone can help me.

Here is the console output of the build process:
1>------ Erstellen gestartet: Projekt: Counter, Konfiguration: Debug x64 ------
1> 0 [main] sh.exe" 15792 sync_with_child: child 18896(0x278) died before initialization with status code 0xC0000142
1> 16 [main] sh.exe" 15792 sync_with_child: *** child state waiting for longjmp
1>"C:/program Files/WinAVR-20100110/utils/bin/sh.exe": fork: Resource temporarily unavailable
1>sdk/exe/httpfiles -k -r web -s 0,HTTP_GZIP -d sdk/web1 -o x86_64-debug/obj/appwebsocket_httpdata.cpp \
1> appwebsocket/innovaphone.appwebsocket.Connection.js,SERVLET_STATIC,HTTP_CACHE+HTTP_NOPWD+HTTP_FORCENOPWD
1>sdk/exe/httpfiles -k -r web -s 0,HTTP_GZIP -d sdk/web1 -o x86_64-debug/obj/fonts_httpdata.cpp \
1> fonts/titilliumweb-regular.ttf,SERVLET_STATIC,HTTP_CACHE+HTTP_NOPWD+HTTP_FORCENOPWD \
1>
1>sdk/exe/httpfiles -k -r web -s 0,HTTP_GZIP -d sdk/web1 -o x86_64-debug/obj/lib1_httpdata.cpp \
1> lib1/innovaphone.lib1.js,SERVLET_STATIC,HTTP_CACHE+HTTP_NOPWD+HTTP_FORCENOPWD \
1> lib1/innovaphone.lib1.css,SERVLET_STATIC,HTTP_CACHE+HTTP_NOPWD+HTTP_FORCENOPWD \
1>
1>sdk/exe/httpfiles -k -r web -s 0,HTTP_GZIP -d sdk/web1 -o x86_64-debug/obj/ui1.lib_httpdata.cpp \
1> ui1.lib/innovaphone.ui1.lib.js,SERVLET_STATIC,HTTP_CACHE+HTTP_NOPWD+HTTP_FORCENOPWD
1>echo ^<!-- innovaphone.manifest >x86_64-debug/obj/innovaphone.manifest
1>"C:/program Files/WinAVR-20100110/utils/bin/sh.exe": !--: No such file or directory
1>make: *** [sdk/sdk.mak:15: x86_64-debug/obj/innovaphone.manifest] Error 1
1>make: *** Waiting for unfinished jobs....
1>httpfiles 1.11
1>make: *** [sdk/web1/fonts/fonts.mak:6: x86_64-debug/obj/fonts_httpdata.cpp] Error 1
1>outfile x86_64-debug/obj/fonts_httpdata.cpp not open, exithttpfiles 1.11
1>make: *** [sdk/web1/appwebsocket/appwebsocket.mak:6: x86_64-debug/obj/appwebsocket_httpdata.cpp] Error 1
1>outfile x86_64-debug/obj/appwebsocket_httpdata.cpp not open, exithttpfiles 1.11
1>make: *** [sdk/web1/lib1/lib1.mak:7: x86_64-debug/obj/lib1_httpdata.cpp] Error 1
1>outfile x86_64-debug/obj/lib1_httpdata.cpp not open, exithttpfiles 1.11
1>make: *** [sdk/web1/ui1.lib/ui1.lib.mak:9: x86_64-debug/obj/ui1.lib_httpdata.cpp] Error 1
1>outfile x86_64-debug/obj/ui1.lib_httpdata.cpp not open, exit
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Application Type\Linux\1.0\Linux.Makefile.Targets(197,5): error MSB3073: Der Befehl "call sdk/common/build/buildnum Counter.mak x86_64 "DEBUG=1"" wurde mit dem Code 2 beendet.
1>Die Erstellung des Projekts "Counter.vcxproj" ist abgeschlossen -- FEHLER.
========== Erstellen: 0 erfolgreich, 1 fehlerhaft, 0 aktuell, 0 übersprungen ==========

Is it right that buildnum is just calling make -f Counter.mak?

Regards,
Olli

Picture of Daniel Deterding (innovaphone)
Moderator Registered 15 years 178 days
Daniel Deterding (innovaphone) Thursday, 27 June 2019, 11:02 AM
1 of 1 users consider this post helpful
Re: Building x86 code faills
Hi Oliver,

seems you have a sh.exe in your PATH variable which interferes somehow:
C:/program Files/WinAVR-20100110/utils/bin/sh.exe

Can you remove the path from your PATH variable, restart visual studio and test again?

Greetings,
Daniel
Oliver Dawid
Registered 13 years 311 days
Oliver 349 Thursday, 27 June 2019, 11:51 AM
Re: Building x86 code faills
Hi Daniel,

thank you that seem to do the trick. Unfortunately my AVR build environment seem to interfer with the innovaphone environment.

Seems like I have to build a wrapper around AVR build to get it working in parallel.

Greetings,
Olli
← You can define your color theme preference here