<div dir="ltr"><div>I'm building a new package Suricata 2.0.7 that sees to need the full iconv support.  The stubs don't seem to be enough. I've included @BUILD_NLS in the make file but I'm still getting a configure error:<br>checking iconv.h usability... no<br>checking iconv.h presence... yes<br>configure: WARNING: iconv.h: present but cannot be compiled<br>configure: WARNING: iconv.h:     check for missing prerequisite headers?<br>configure: WARNING: iconv.h: see the Autoconf documentation<br>configure: WARNING: iconv.h:     section "Present But Cannot Be Compiled"<br>configure: WARNING: iconv.h: proceeding with the compiler's result<br>checking for iconv.h... no<br>configure: error: iconv.h not found ...<br><br><br></div><div>Any ideas/ Guidance? <br></div><div>       Cheers<br></div><div>                     Derek<br>   <br></div><div><br></div>Here is the relevant makefile.<br>include $(INCLUDE_DIR)/<a href="http://package.mk">package.mk</a><br>include $(INCLUDE_DIR)/<a href="http://nls.mk">nls.mk</a><br> <br>define Package/suricata<br>  SECTION:=net<br>  CATEGORY:=Network<br>  SUBMENU:=Web Servers/Proxies<br>  TITLE:=Suricata<br>  URL:=<a href="http://www.openinfosecfoundation.org">http://www.openinfosecfoundation.org</a><br>  DEPENDS:=@BUILD_NLS +libpcre +pcre +libtool +libnetfilter-queue +libpcap +libn<br>et +libyaml +zlib +libcap +libnids +libnet0 +libopenssl +libnfnetlink +libmagic <br>+libcap $(ICONV_DEPENDS)<br>  MENU:=1<br>endef<br><br><br>HOST_CONFIGURE_ARGS += CFLAGS=-fno-stack-protector<br><br>TARGET_CFLAGS += $(FPIC) -lpthread -fno-stack-protector \<br><br>MAKE_FLAGS += \<br>    EXTRALIBS="$(ICONV_LDFLAGS) -L$(STAGING_DIR)/usr/lib -liconv"<br><br>TARGET_CPPFLAGS += -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-stack-prote<br>ctor<br><br>CONFIGURE_ARGS += \<br>    --disable-gccprotect \<br>    --enable-nfqueue \<br>    $(if $(ICONV_FULL),--with-libiconv=gnu) \<br><br></div>