Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with libhtp #2

Closed
Steel551454 opened this issue Feb 19, 2018 · 4 comments
Closed

Problem with libhtp #2

Steel551454 opened this issue Feb 19, 2018 · 4 comments

Comments

@Steel551454
Copy link

Hello!

Today I tried to compile a package of suricata using feeds.

Everything went well. However, there are problems with libhtp:

htp_transcoder.c: In function 'htp_transcode_params':
htp_transcoder.c: 69: 5: warning: implicit declaration of function 'iconvctl' [-Wimplicit-function-declaration]
     iconvctl (cd, ICONV_SET_TRANSLITERATE, & iconv_param);
     ^
htp_transcoder.c: 69: 18: error: 'ICONV_SET_TRANSLITERATE' undeclared (first use in this function)
     iconvctl (cd, ICONV_SET_TRANSLITERATE, & iconv_param);
                  ^
htp_transcoder.c: 69: 18: note: each undeclared identifier is reported only once for each function it appears in
htp_transcoder.c: 71: 18: error: 'ICONV_SET_DISCARD_ILSEQ' undeclared (first use in this function)
     iconvctl (cd, ICONV_SET_DISCARD_ILSEQ, & iconv_param);
                  ^
Makefile: 518: recipe for target 'htp_transcoder.lo' failed
make [7]: *** [htp_transcoder.lo] Error 1
make [7]: Leaving directory '/home/openwrt/sdk/build_dir/target-mips_24kc_musl-1.1.16/suricata-4.0.4/libhtp/htp'
Makefile: 468: recipe for target 'all-recursive' failed
make [6]: *** [all-recursive] Error 1
make [6]: Leaving directory '/home/openwrt/sdk/build_dir/target-mips_24kc_musl-1.1.16/suricata-4.0.4/libhtp'
Makefile: 377: recipe for target 'all' failed
make [5]: *** [all] Error 2
make [5]: Leaving directory '/home/openwrt/sdk/build_dir/target-mips_24kc_musl-1.1.16/suricata-4.0.4/libhtp'
Makefile: 492: recipe for target 'all-recursive' failed
make [4]: ​​*** [all-recursive] Error 1
make [4]: ​​Leaving directory '/home/openwrt/sdk/build_dir/target-mips_24kc_musl-1.1.16/suricata-4.0.4'
Makefile: 420: recipe for target 'all' failed
make [3]: *** [all] Error 2
make [3]: Leaving directory '/home/openwrt/sdk/build_dir/target-mips_24kc_musl-1.1.16/suricata-4.0.4'
Makefile: 64: recipe for target '/home/openwrt/sdk/build_dir/target-mips_24kc_musl-1.1.16/suricata-4.0.4/.built' failed
make [2]: *** [/home/openwrt/sdk/build_dir/target-mips_24kc_musl-1.1.16/suricata-4.0.4/.built] Error 2
make [2]: Leaving directory '/ home / openwrt / sdk / feeds / packages / net / suricata'
package / Makefile: 105: recipe for target 'package / feeds / packages / suricata / compile' failed
make [1]: *** [package / feeds / packages / suricata / compile] Error 2
make [1]: Leaving directory '/ home / openwrt / sdk'
/home/openwrt/sdk/include/toplevel.mk:191: recipe for target 'package / suricata / compile' failed
make: *** [package / suricata / compile] Error 2

@seanlinmt
Copy link
Owner

Please attach your .config file

@Steel551454
Copy link
Author

I hope I understood you correctly.
I'm sending you a .config file

config.txt

@seanlinmt
Copy link
Owner

You need to compile with the "full language support" option turn on.

@Moonbeam4520
Copy link

sorry to reopen this, I can't find the "full language support" option in menuconfig, and if I set it manually in .config file it is ignored. How do I set this option ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants