Skip to content

Instantly share code, notes, and snippets.

@tedstriker
Created January 30, 2016 10:53
Show Gist options
  • Save tedstriker/e8578e7ad7b5946e3895 to your computer and use it in GitHub Desktop.
Save tedstriker/e8578e7ad7b5946e3895 to your computer and use it in GitHub Desktop.
Libwebsocket does not compile for armadaxp 5.2
__/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeError.log:__
`Determining if the include file in6addr.h exists failed with the following output:
Change Dir: /home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec1523460589/fast"
make[2]: Entering directory '/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec1523460589.dir/build.make CMakeFiles/cmTryCompileExec1523460589.dir/build
make[3]: Entering directory '/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1523460589.dir/CheckIncludeFile.c.o
/home/xyz/spksrc/toolchains/syno-armadaxp-5.2/work/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-gcc -DKEYWORD=__inline -I/home/xyz/spksrc/toolchains/syno-armadaxp-5.2/work/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/include -mcpu=marvell-pj4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DSYNO_MARVELL_ARMADA370 -DSYNO_PLATFORM=MARVELL_ARMADA370 -I/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/install//usr/local/include -o CMakeFiles/cmTryCompileExec1523460589.dir/CheckIncludeFile.c.o -c /home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:21: fatal error: in6addr.h: No such file or directory
compilation terminated.
CMakeFiles/cmTryCompileExec1523460589.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec1523460589.dir/CheckIncludeFile.c.o' failed
make[3]: Leaving directory '/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp'
make[3]: *** [CMakeFiles/cmTryCompileExec1523460589.dir/CheckIncludeFile.c.o] Error 1
Makefile:118: recipe for target 'cmTryCompileExec1523460589/fast' failed
make[2]: Leaving directory '/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp'
make[2]: *** [cmTryCompileExec1523460589/fast] Error 2
Determining if the include file __vfork.h__ exists failed with the following output:
Change Dir: /home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec3667589391/fast"
make[2]: Entering directory '/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec3667589391.dir/build.make CMakeFiles/cmTryCompileExec3667589391.dir/build
make[3]: Entering directory '/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report /home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3667589391.dir/CheckIncludeFile.c.o
/home/xyz/spksrc/toolchains/syno-armadaxp-5.2/work/arm-marvell-linux-gnueabi/bin/arm-marvell-linux-gnueabi-gcc -DKEYWORD=__inline -I/home/xyz/spksrc/toolchains/syno-armadaxp-5.2/work/arm-marvell-linux-gnueabi/arm-marvell-linux-gnueabi/libc/include -mcpu=marvell-pj4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -DSYNO_MARVELL_ARMADA370 -DSYNO_PLATFORM=MARVELL_ARMADA370 -I/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/install//usr/local/include -o CMakeFiles/cmTryCompileExec3667589391.dir/CheckIncludeFile.c.o -c /home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp/CheckIncludeFile.c
/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:19: fatal error: vfork.h: No such file or directory
compilation terminated.
CMakeFiles/cmTryCompileExec3667589391.dir/build.make:57: recipe for target 'CMakeFiles/cmTryCompileExec3667589391.dir/CheckIncludeFile.c.o' failed
make[3]: Leaving directory '/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp'
make[3]: *** [CMakeFiles/cmTryCompileExec3667589391.dir/CheckIncludeFile.c.o] Error 1
Makefile:118: recipe for target 'cmTryCompileExec3667589391/fast' failed
make[2]: Leaving directory '/home/xyz/spksrc/cross/libwebsockets/work-armadaxp-5.2/libwebsockets-1.4-chrome43-firefox-36/CMakeFiles/CMakeTmp'
make[2]: *** [cmTryCompileExec3667589391/fast] Error 2`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment