new code on the server rc.40

Carter Bullard carter at qosient.com
Wed Feb 28 12:24:34 EST 2007


Hey Peter,
We should be using putenv() instead of setenv().   I've fixed this.
Carter

Peter Van Epp wrote:

>	Clients.rc.40 on Solaris 2.9:
>
>gcc  -O3 -I. -I./../include -I./../common  -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DLBL_ALIGN=1 -DHAVE_VFPRINTF=1 -DHAVE_STRCASECMP=1 -DHAVE_STRLCAT=1 -DHAVE_STRLCPY=1 -DHAVE_STRDUP=1 -DHAVE_STRFTIME=1 -DHAVE_SETLINEBUF=1 -DHAVE_ALARM=1 -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_UNISTD_H=1 -Du_int8_t=unsigned\ char -Du_int16_t=unsigned\ short -Du_int32_t=unsigned\ int -Du_int64_t=unsigned\ long\ long -DHAVE_INTTYPES_H=1 -D_FILE_OFFSET_BITS=64 -DARGUS_THREADS=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_STRING_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_FILE_H=1 -DHAVE_SYSLOG_H=1 -DHAVE_STRERROR=1 -DARGUS_CURSES=1 -DHAVE_SOLARIS=1 -DSTDC_HEADERS=1   -o ../bin/ragrep  ragrep.o dfa.o kwset.o obstack.o search.o egrepmat.o regex.o  ../lib/argus_parse.a ../lib/argus_common.a ../lib/argus_client.a -lm -lsocket -lnsl   -R/usr/openwin/lib
>Undefined                       first referenced
> symbol                             in file
>setenv                              ../lib/argus_parse.a(argus_main.o)
>
>	don't have libpcap installed so argus didn't make it out of configure:
>
>
>19: vanepp_fraser% ./configure
>checking build system type... sparc-sun-solaris2.9
>checking host system type... sparc-sun-solaris2.9
>checking target system type... sparc-sun-solaris2.9
>checking for gcc... gcc
>checking for C compiler default output file name... a.out
>checking whether the C compiler works... yes
>checking whether we are cross compiling... no
>checking for suffix of executables...
>checking for suffix of object files... o
>checking whether we are using the GNU C compiler... yes
>checking whether gcc accepts -g... yes
>checking for gcc option to accept ANSI C... none needed
>checking gcc version... 3
>checking for inline... inline
>checking for gcc... (cached) gcc
>checking whether we are using the GNU C compiler... (cached) yes
>checking whether gcc accepts -g... (cached) yes
>checking for gcc option to accept ANSI C... (cached) none needed
>checking how to run the C preprocessor... gcc -E
>checking whether make sets $(MAKE)... yes
>checking for ranlib... ranlib
>checking for vfprintf... yes
>checking for strcasecmp... yes
>checking for strlcat... yes
>checking for strlcpy... yes
>checking for strdup... yes
>checking for strftime... yes
>checking for setlinebuf... yes
>checking for alarm... yes
>checking for egrep... grep -E
>checking for ANSI C header files... yes
>checking for sys/types.h... yes
>checking for sys/stat.h... yes
>checking for stdlib.h... yes
>checking for string.h... yes
>checking for memory.h... yes
>checking for strings.h... yes
>checking for inttypes.h... yes
>checking for stdint.h... no
>checking for unistd.h... yes
>checking sys/bitypes.h usability... no
>checking sys/bitypes.h presence... no
>checking for sys/bitypes.h... no
>checking for int8_t... yes
>checking for u_int8_t... no
>checking for int16_t... yes
>checking for u_int16_t... no
>checking for int32_t... yes
>checking for u_int32_t... no
>checking for int64_t... yes
>checking for u_int64_t... no
>checking for inttypes.h... (cached) yes
>checking whether inttypes.h defines the PRI[doxu]64 macros... yes
>checking for vsnprintf... yes
>checking for snprintf... yes
>checking for library containing gethostbyname... -lnsl
>checking for library containing socket... -lsocket
>checking for library containing putmsg... none required
>checking for ether_hostton... yes
>checking netinet/ether.h usability... no
>checking netinet/ether.h presence... no
>checking for netinet/ether.h... no
>checking for struct ether_addr... yes
>checking for flex... flex
>checking for flex 2.4 or higher... yes
>checking for bison... bison
>checking for ranlib... ranlib
>checking if unaligned accesses fail... yes
>checking for special C compiler options needed for large files... no
>checking for _FILE_OFFSET_BITS value needed for large files... 64
>checking for _LARGE_FILES value needed for large files... no
>checking for local pcap library... no
>checking for main in -lpcap... no
>checking for local wpcap library... no
>checking for main in -lwpcap... no
>configure: error: cannot find packet capture library
>./configure: exit: bad non-numeric arg `see'
>./configure: exit: bad non-numeric arg `see'
>
>	I'm guessing the native dlpi library is too different to be an option?
>
>Peter Van Epp / Operations and Technical Support 
>Simon Fraser University, Burnaby, B.C. Canada
>
>
>  
>





More information about the argus mailing list