Skip to content

cc1: error: no include path in which to search for stdc-predef.h #215

@ChungLaey

Description

@ChungLaey

I build the musl-cross-make in the target: mips-linux-musl
Makefile:

CONFIG_SUB_REV = 3d5db9ebe860
BINUTILS_VER = 2.25.1
GCC_VER = 5.3.0
MUSL_VER = 1.1.12
GMP_VER = 6.0.0
MPC_VER = 1.0.2
MPFR_VER = 3.1.3
LINUX_VER = 2.6.39.4

when I build it, some logs are:

$ make
......
echo |/musl-cross-make/build/local/mips-linux-musl/obj_gcc/./gcc/xgcc -B/musl-cross-make/build/local/mips-linux-musl/obj_gcc/./gcc/ -E -dM - | \
  sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
	 -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
  sort -u > tmp-macro_list
cc1: error: no include path in which to search for stdc-predef.h
......
checking preprocessor condition _MIPSEL || __MIPSEL || __MIPSEL__... false
checking preprocessor condition __mips_soft_float... false
checking whether compiler's long double definition matches float.h... yes
creating config.mak... done
touch obj_musl/.lc_configured
cd obj_musl && make MULTILIB_OSDIRNAMES= INFO_DEPS= infodir= ac_cv_prog_lex_root=lex.yy.c MAKEINFO=false DESTDIR=/musl-cross-make/build/local/mips-linux-musl/obj_sysroot install-headers
make[2]: Entering directory '/musl-cross-make/build/local/mips-linux-musl/obj_musl'
make[2]: *** No rule to make target 'install-headers'.  Stop.
make[2]: Leaving directory '/musl-cross-make/build/local/mips-linux-musl/obj_musl'
Makefile:219: recipe for target 'obj_sysroot/.lc_headers' failed
make[1]: *** [obj_sysroot/.lc_headers] Error 2
make[1]: Leaving directory '/musl-cross-make/build/local/mips-linux-musl'
Makefile:165: recipe for target 'all' failed
make: *** [all] Error 2

How can I solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions