Summary: | net-misc/l7-filter-userspace-0.6 - l7-queue.cpp:147: error: 'strerror' was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alois Hammer <aloishammer> |
Component: | Current packages | Assignee: | Daniel Black (RETIRED) <dragonheart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://sourceforge.net/tracker/download.php?group_id=80085&atid=558671&file_id=283090&aid=2005884 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 |
Description
Alois Hammer
2008-06-10 15:10:00 UTC
Yes, seems like string.h needs to be included. Maybe mark as a blocker of bug #198121. added string.h to the two files that failed here. I confess to not having gcc4.3 to test this on properly. Please let me know if there's still problems. Thanks for the bug report and the #include file reference Jeroen As of a sync a couple hours ago, still unresolved (I'm assuming the version number didn't change): configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands make all-am make[1]: Entering directory `/var/tmp/portage/net-misc/l7-filter-userspace-0.6/work/l7-filter-userspace-0.6' i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -march=core2 -O3 -pipe -fomit-frame-pointer -mcx16 -mfpmath=sse -MT l7-classify.o -MD -MP -MF .deps/l7-classify.Tpo -c -o l7-classify.o l7-classify.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -march=core2 -O3 -pipe -fomit-frame-pointer -mcx16 -mfpmath=sse -MT l7-queue.o -MD -MP -MF .deps/l7-queue.Tpo -c -o l7-queue.o l7-queue.cpp i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -march=core2 -O3 -pipe -fomit-frame-pointer -mcx16 -mfpmath=sse -MT l7-conntrack.o -MD -MP -MF .deps/l7-conntrack.Tpo -c -o l7-conntrack.o l7-conntrack.cpp l7-classify.cpp: In member function 'char* l7_pattern::pre_process(const char*)': l7-classify.cpp:82: error: 'strlen' was not declared in this scope l7-classify.cpp: In function 'char** readl7dir(std::string)': l7-classify.cpp:159: warning: deprecated conversion from string constant to 'char*' l7-classify.cpp:179: error: 'strcmp' was not declared in this scope l7-classify.cpp:183: error: 'strlen' was not declared in this scope l7-classify.cpp:184: error: 'strcpy' was not declared in this scope l7-conntrack.cpp: In function 'int sprintf_conntrack_key(char*, nfct_conntrack*, unsigned int)': l7-conntrack.cpp:127: warning: 'int nfct_sprintf_protocol(char*, nfct_conntrack*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:738) l7-conntrack.cpp:127: warning: 'int nfct_sprintf_protocol(char*, nfct_conntrack*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:738) l7-conntrack.cpp:128: warning: 'int nfct_sprintf_address(char*, nfct_tuple*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:730) l7-conntrack.cpp:128: warning: 'int nfct_sprintf_address(char*, nfct_tuple*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:730) l7-conntrack.cpp:129: warning: 'int nfct_sprintf_proto(char*, nfct_tuple*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:732) l7-conntrack.cpp:129: warning: 'int nfct_sprintf_proto(char*, nfct_tuple*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:732) l7-conntrack.cpp: In destructor 'l7_conntrack::~l7_conntrack()': l7-conntrack.cpp:194: warning: 'void nfct_conntrack_free(nfct_conntrack*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:649) l7-conntrack.cpp:194: warning: 'void nfct_conntrack_free(nfct_conntrack*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:649) l7-conntrack.cpp: In member function 'void l7_conntrack::start()': l7-conntrack.cpp:231: warning: 'void nfct_register_callback(nfct_handle*, int (*)(void*, unsigned int, int, void*), void*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:669) l7-conntrack.cpp:231: warning: 'void nfct_register_callback(nfct_handle*, int (*)(void*, unsigned int, int, void*), void*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:669) l7-conntrack.cpp:232: warning: 'int nfct_event_conntrack(nfct_handle*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:718) l7-conntrack.cpp:232: warning: 'int nfct_event_conntrack(nfct_handle*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:718) l7-conntrack.cpp:235: warning: 'void nfct_conntrack_free(nfct_conntrack*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:649) l7-conntrack.cpp:235: warning: 'void nfct_conntrack_free(nfct_conntrack*)' is deprecated (declared at /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:649) make[1]: *** [l7-classify.o] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f .deps/l7-queue.Tpo .deps/l7-queue.Po mv -f .deps/l7-conntrack.Tpo .deps/l7-conntrack.Po make[1]: Leaving directory `/var/tmp/portage/net-misc/l7-filter-userspace-0.6/work/l7-filter-userspace-0.6' make: *** [all] Error 2 Hope you don't mind, dragonheart, I'm cleaning out gcc-4.3 bugs. + 29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> + files/l7-filter-userspace-0.6-gcc4.3compat.patch: + Update gcc-4.3 patches to really fix bug #225761 + thankyou - upstream as per url |