Hi All,
I am cross compiling nettle-3.2 for armv7 on linux. But I am getting following error. Could you please help me on this
nettle_deps = $(shell find $(LTOP)/nettle-3.2 -type f) $(OBJS)/nettle/nettle.configured: $(nettle_deps) @rm -rf $(OBJS)/nettle; @mkdir -p $(OBJS)/nettle; @cd $(OBJS)/nettle;\ declare -x PATH=$(CCPATH):$(PATH);\ declare -x ac_cv_func_malloc_0_nonnull="yes";\ declare -x ac_cv_func_realloc_0_nonnull="yes";\ declare -x CFLAGS="$(PLATFORM_CFLAGS) ";\ declare -x LDFLAGS="$(PLATFORM_LDFLAGS) -L$(CROSSLIBS) -L$(BUILT_LIBS)";\ declare -x CPPFLAGS="$(PLATFORM_CPPFLAGS) -I$(CROSSINCS) -I$(BUILT_INCLUDES) ";\ $(LTOP)/nettle-3.2/configure --prefix=$(BUILT_BASE) --host=$(CCPREFIX) --disable-static&> $(OBJS)/nettle/configure.out @touch $(OBJS)/nettle/nettle.configured
$(RAMDISK_LIB)/nettle.so: $(OBJS)/nettle/nettle.configured @cd $(OBJS)/nettle;\ declare -x HOSTCC=`which gcc`;\ declare -x PATH=$(CCPATH):$(PATH);\ declare -x CFLAGS="$(PLATFORM_CFLAGS) ";\ declare -x LDFLAGS="$(PLATFORM_LDFLAGS) -L$(CROSSLIBS) -L$(BUILT_LIBS)";\ declare -x CPPFLAGS="$(PLATFORM_CPPFLAGS) -I$(CROSSINCS) -I$(BUILT_INCLUDES) ";\ $(MAKE) &> $(OBJS)/nettle/make.out;\ $(MAKE) install &> $(OBJS)/nettle/install.out checking build system compiler gcc... no checking build system compiler cc... no checking build system compiler c89... no checking build system compiler c99... no configure: error: Cannot find a build system compiler make[1]: *** [/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps/objs/46/7.X.X.R01/armv7/nettle/nettle.configured] Error 1 make[1]: Leaving directory `/home/gkuma020/PERFORCE/7.X.X.R01-gkuma020-new/engr/sw/tps' make: *** [tps-build] Error 2 + set +x
My make file changes. Please let me know if anything is wrong.
Regards, Girish