openmptcprouter icon indicating copy to clipboard operation
openmptcprouter copied to clipboard

Compile error on macOS (m1)

Open atyouspace opened this issue 1 year ago • 5 comments

lib/obstack.c:351:31: error: incompatible function pointer types initializing 'void (*)(void) attribute((noreturn))' with an expression of type 'void (void)' [-Wincompatible-function-pointer-types] attribute_noreturn void (*obstack_alloc_failed_handler) (void) ^ 1 error generated. make[6]: *** [Makefile:2781: lib/obstack.o] Error 1 make[6]: Leaving directory '/Volumes/OpenWrt/source/build_dir/host/sed-4.8' make[5]: *** [Makefile:3105: all-recursive] Error 1 make[5]: Leaving directory '/Volumes/OpenWrt/source/build_dir/host/sed-4.8' make[4]: *** [Makefile:2321: all] Error 2 make[4]: Leaving directory '/Volumes/OpenWrt/source/build_dir/host/sed-4.8' make[3]: *** [Makefile:49: /Volumes/OpenWrt/source/build_dir/host/sed-4.8/.built] Error 2 make[3]: Leaving directory '/Volumes/OpenWrt/source/tools/sed' time: tools/sed/compile#16.14#9.27#49.65 ERROR: tools/sed failed to build. make[2]: *** [tools/Makefile:160: tools/sed/compile] Error 1 make[2]: Leaving directory '/Volumes/OpenWrt/source' make[1]: *** [tools/Makefile:156: /Volumes/OpenWrt/source/staging_dir/host/stamp/.tools_compile_yyyyyynnyyyynyyyyyynyynnyyyynyyyyyyyyyyyyyyyyyynynnyyyyyyy] Error 2 make[1]: Leaving directory '/Volumes/OpenWrt/source' make: *** [/Volumes/OpenWrt/source/include/toplevel.mk:230: world] Error 2

Specifications

  • OpenMPTCProuter version: 0.6 kernel-5.4

atyouspace avatar May 16 '24 15:05 atyouspace

Maybe you can try to build 0.60 kernel 6.1 that is more up to date.

Ysurac avatar May 16 '24 15:05 Ysurac

Maybe you can try to build 0.60 kernel 6.1 that is more up to date.

But I found there is only fullmesh supported in kernel 6.1. is that right? I want to use other scheduling mechanism with fullmesh together , how to do that?

atyouspace avatar May 16 '24 15:05 atyouspace

Other schedulers are available in snapshot using kernel 6.6 (but not yes tested...)

Ysurac avatar May 16 '24 15:05 Ysurac

Maybe you can try to build 0.60 kernel 6.1 that is more up to date.

I build project by OMR_TARGET="newboard" OMR_FEED_SRC="v0.59.1" OMR_KERNEL="5.4" ./build.sh. Is that right? the problem is still there. Are some packages missing?

atyouspace avatar May 17 '24 05:05 atyouspace

To use 6.6: OMR_TARGET="newboard" OMR_FEED_SRC="develop" OMR_KERNEL="6.6" ./build.sh if your platform have 6.6 support in OpenWRT. Compilation is only tested under Linux, no if this can work on macOS.

Ysurac avatar May 17 '24 06:05 Ysurac

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Aug 15 '24 19:08 github-actions[bot]