About mips compile.

asked 2015-07-28 04:53:52 -0700

fred_li gravatar image

updated 2015-07-28 14:33:14 -0700

ry.jones gravatar image
Linux Foundation Staff

When I compiled the SDK-14.12 by the CPU of mips it have the follow problem:

Common/os/posix/Even.cc:181:error:'epoll_create1' was not declared in  this scope. The problem may be  the scons can't find the linux system '.h' document.

The command was:

scons WS=off CPU=mips OS=linux BINDINGS=c,cpp CROSS_COMPILE=$(PATHTOOl)/mips-linux-

The Sconscripe that I revise by the arm's Sconscripe. How can I solve this problem?

edit retag flag offensive close merge delete


To the best of my knowledge, compilation for mips-based CPUs was only tested with OS=openwrt. What you are attempted is something that is being done for the first time? Refer to build_core/conf/openwrt that contains SConscript files for OpenWrt (which gets built using the cross compiler).

praveenb ( 2015-07-29 00:27:58 -0700 )edit

Thank you very much for your reply. But our router is not based on the openWRT system.Should I must be compiled another SConscript for mips.And which Sconscriot that I can use for reference? I never use the scons before this project.

fred_li ( 2015-07-29 18:06:01 -0700 )edit

you might try on the core mailing list. https://lists.allseenalliance.org/mailman/listinfo/allseen-core

ry.jones ( 2015-08-07 20:57:47 -0700 )edit