argus 3.0.3.10 fails to build with sasl
Peter Volkov
pva at gentoo.org
Fri May 21 08:46:11 EDT 2010
Hi Carter. I've just tried to install argus-3.0.3.10 with sasl support
enabled and notice that it fails to build with:
x86_64-pc-linux-gnu-gcc -O3 -O2 -pipe -march=native -mtune=native -ggdb -I. -I./../include -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_ZLIB_H=1 -DHAVE_BACKTRACE=1 -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -DHAVE_INET_ATON=1 -DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_XDRMEM_CREATE=1 -DHAVE_XDR=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_GETADDRINFO=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_NETINET_ETHER_H=1 -DNETINET_ETHER_H_DECLARES_ETHER_HOSTTON= -DHAVE_DECL_ETHER_HOSTTON=1 -DARGUS_THREADS=1 -DHAVE_SCHED_GET_PRIORITY_MIN=1 -DHAVE_PCAP_LIST_DATALINKS=1 -DHAVE_PCAP_SET_DATALINK=1 -DHAVE_PCAP_DATALINK_NAME_TO_VAL=1 -DHAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION=1 -DHAVE_PCAP_GET_SELECTABLE_FD=1 -DHAVE_PCAP_NEXT_EX=1 -DHAVE_PCAP_DUMP_FTELL=1 -DARGUS_SASL=1 -DSTDC_HEADERS=1 -DARGUS_SYSLOG=1 -c ArgusOutput.c
ArgusOutput.c: In function 'ArgusCheckClientMessage':
ArgusOutput.c:1236: error: 'g' undeclared (first use in this function)
ArgusOutput.c:1236: error: (Each undeclared identifier is reported only once
ArgusOutput.c:1236: error: for each function it appears in.)
ArgusOutput.c:1236: error: expected ';' before 'else'
ArgusOutput.c:1683: error: expected declaration or statement at end of input
make: *** [ArgusOutput.o] Error 1
This really looks like a simple typo. argus-3.0.3.10-sasl2-typo.patch in
attachment fixes this issue.
\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_SYS_VFS_H=1 -DHAVE_ZLIB_H=1 -DHAVE_BACKTRACE=1 -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -DHAVE_INET_ATON=1 -DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -DHAVE_STRERROR=1 -DHAVE_STRTOF=1 -DHAVE_SYS_BITYPES_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_XDRMEM_CREATE=1 -DHAVE_XDR=1 -DHAVE_VSNPRINTF=1 -DHAVE_SNPRINTF=1 -DHAVE_GETADDRINFO=1 -DHAVE_ETHER_HOSTTON=1 -DHAVE_NETINET_ETHER_H=1 -DNETINET_ETHER_H_DECLARES_ETHER_HOSTTON= -DHAVE_DECL_ETHER_HOSTTON=1 -DARGUS_THREADS=1 -DHAVE_SCHED_GET_PRIORITY_MIN=1 -DHAVE_PCAP_LIST_DATALINKS=1 -DHAVE_PCAP_SET_DATALINK=1 -DHAVE_PCAP_DATALINK_NAME_TO_VAL=1 -DHAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION=1 -DHAVE_PCAP_GET_SELECTABLE_FD=1 -DHAVE_PCAP_NEXT_EX=1 -DHAVE_PCAP_DUMP_FTELL=1 -DARGUS_SASL=1 -DSTDC_HEADERS=1 -DARGUS_SYSLOG=1 -o ../bin/argus argus.o ArgusModeler.o ArgusSource.o ArgusUtil.o ArgusOutput.o ArgusUdp.o ArgusTcp.o ArgusIcmp.o ArgusIgmp.o ArgusEsp.o ArgusArp.o ArgusFrag.o ArgusLcp.o ArgusIsis.o ArgusAuth.o Argus802.11.o ArgusApp.o ArgusEvents.o -Wl,--as-needed -lpcap -lpthread -lz ../lib/argus_common.a -lm
ArgusUtil.o: In function `ArgusWriteOutSocket':
/vt/portage/tmp/portage/net-analyzer/argus-3.0.3.10/work/argus-3.0.3.10/argus/ArgusUtil.c:1668: undefined reference to `sasl_encode'
ArgusUtil.o: In function `ArgusWriteSocket':
/vt/portage/tmp/portage/net-analyzer/argus-3.0.3.10/work/argus-3.0.3.10/argus/ArgusUtil.c:1405: undefined reference to `sasl_getprop'
argus-3.0.3.10-sasl2.patch in attachment fixes linking issue. Please apply.
--
Peter.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: argus-3.0.3.10-sasl2.patch
Type: text/x-patch
Size: 570 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20100521/d9fad916/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: argus-3.0.3.10-sasl2-typo.patch
Type: text/x-patch
Size: 585 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20100521/d9fad916/attachment-0001.bin>
More information about the argus
mailing list