before configure
	unset C_INCLUDE_PATH

perl comes with a local poll.h 
	that attempts to emulate the functionality of poll() if you don't have the right headers

export C_INCLUDE_PATH=$HOME/include:$C_INCLUDE_PATH
	the empty string (the second $C_INCLUDE_PATH) 
		to be implicitly treated the same as .
	Which effectively adds the current directory to the system include path,
		which makes #include <poll.h> do the same thing as #include "poll.h", which is bad.
		

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐