Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cd logsurfer-1.8
- $ ./configure && make
- creating cache ./config.cache
- checking for gcc... gcc
- checking whether we are using GNU C... yes
- checking whether gcc accepts -g... yes
- checking for a BSD compatible install... /usr/local/bin/ginstall -c
- checking whether make sets ${MAKE}... yes
- checking how to run the C preprocessor... gcc -E
- checking for AIX... no
- checking for -lgen... no
- checking whether cross-compiling... no
- checking for ANSI C header files... yes
- checking for sys/wait.h that is POSIX.1 compatible... yes
- checking whether time.h and sys/time.h may both be included... yes
- checking for sys/time.h... yes
- checking for stdlib.h... yes
- checking for malloc.h... no
- checking for string.h... yes
- checking for strings.h... yes
- checking for limits.h... yes
- checking for unistd.h... yes
- checking for sys/resource.h... yes
- checking for pid_t... yes
- checking for working const... yes
- checking for working alloca.h... yes
- checking for alloca... yes
- checking for strchr... yes
- checking for index... yes
- checking for memmove... yes
- checking for bcopy... yes
- checking etcdir... /usr/local/etc
- updating cache ./config.cache
- creating ./config.status
- creating Makefile
- creating src/Makefile
- creating man/Makefile
- creating config.h
- for subdir in man src; do \
- echo making all in $subdir ; \
- (cd $subdir; /Library/Developer/CommandLineTools/usr/bin/make prefix='/usr/local' bindir='/usr/local/bin' mandir='/usr/local/man' CPPFLAGS='-DVERSION=\"1.8\" -DWARN_ROOT' CC='gcc' CFLAGS='-g -O' LDFLAGS='' DEF_DUMPFILE='/dev/null' DEF_CONFFILE='/usr/local/etc/logsurfer.conf' LIBS='' INSTALL='/usr/local/bin/ginstall -c' INSTALL_PROGRAM='/usr/local/bin/ginstall -c' INSTALL_DATA='/usr/local/bin/ginstall -c -m 644' DEFS='-DHAVE_CONFIG_H' all); \
- done
- making all in man
- sed -e "s,@DUMPFILE@,/dev/null," \
- -e "s,@CONFFILE@,/usr/local/etc/logsurfer.conf," < logsurfer.1.in > logsurfer.1
- sed -e "s,@DUMPFILE@,/dev/null," \
- -e "s,@CONFFILE@,/usr/local/etc/logsurfer.conf," < logsurfer.conf.4.in > logsurfer.conf.4
- making all in src
- gcc -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \
- -DCONFFILE=\"/usr/local/etc/logsurfer.conf\" -I.. -g -O context.c
- context.c:637:39: warning: format specifies type 'int' but the argument has type
- 'long' [-Wformat]
- tp += sprintf(tp,"%d",this_context->lines);
- ~~ ^~~~~~~~~~~~~~~~~~~
- %ld
- /usr/include/secure/_stdio.h:47:56: note: expanded from macro 'sprintf'
- __builtin___sprintf_chk (str, 0, __darwin_obsz(str), __VA_ARGS__)
- ^~~~~~~~~~~
- 1 warning generated.
- gcc -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \
- -DCONFFILE=\"/usr/local/etc/logsurfer.conf\" -I.. -g -O exec.c
- gcc -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \
- -DCONFFILE=\"/usr/local/etc/logsurfer.conf\" -I.. -g -O exit.c
- gcc -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \
- -DCONFFILE=\"/usr/local/etc/logsurfer.conf\" -I.. -g -O logsurfer.c
- logsurfer.c:348:1: warning: control may reach end of non-void function
- [-Wreturn-type]
- }
- ^
- logsurfer.c:684:3: warning: implicit declaration of function
- 'check_context_linelimit' is invalid in C99
- [-Wimplicit-function-declaration]
- check_context_linelimit();
- ^
- 2 warnings generated.
- gcc -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \
- -DCONFFILE=\"/usr/local/etc/logsurfer.conf\" -I.. -g -O readcf.c
- gcc -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \
- -DCONFFILE=\"/usr/local/etc/logsurfer.conf\" -I.. -g -O report.c
- gcc -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \
- -DCONFFILE=\"/usr/local/etc/logsurfer.conf\" -I.. -g -O rule.c
- gcc -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \
- -DCONFFILE=\"/usr/local/etc/logsurfer.conf\" -I.. -g -O str_util.c
- gcc -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \
- -DCONFFILE=\"/usr/local/etc/logsurfer.conf\" -I.. -g -O regex.c
- regex.c:1629:17: warning: add explicit braces to avoid dangling else
- [-Wdangling-else]
- else
- ^
- regex.c:1649:17: warning: add explicit braces to avoid dangling else
- [-Wdangling-else]
- else
- ^
- regex.c:2834:33: warning: expression which evaluates to zero treated as a null
- pointer constant of type 'regoff_t *' (aka 'int *')
- [-Wnon-literal-null-conversion]
- regs->start = regs->end = (regoff_t) 0;
- ^~~~~~~~~~~~
- regex.c:3771:19: warning: cast to 'fail_stack_elt_t' (aka
- 'const unsigned char *') from smaller integer type 'unsigned int'
- [-Wint-to-pointer-cast]
- PUSH_FAILURE_POINT (p1 + mcnt, d, -2);
- ^
- regex.c:2407:5: note: expanded from macro 'PUSH_FAILURE_POINT'
- PUSH_FAILURE_ITEM (lowest_active_reg); \
- ^
- regex.c:2328:42: note: expanded from macro 'PUSH_FAILURE_ITEM'
- fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item
- ^
- regex.c:3771:19: warning: cast to 'fail_stack_elt_t' (aka
- 'const unsigned char *') from smaller integer type 'unsigned int'
- [-Wint-to-pointer-cast]
- regex.c:2410:5: note: expanded from macro 'PUSH_FAILURE_POINT'
- PUSH_FAILURE_ITEM (highest_active_reg); \
- ^
- regex.c:2328:42: note: expanded from macro 'PUSH_FAILURE_ITEM'
- fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item
- ^
- regex.c:3918:11: warning: cast to 'fail_stack_elt_t' (aka
- 'const unsigned char *') from smaller integer type 'unsigned int'
- [-Wint-to-pointer-cast]
- PUSH_FAILURE_POINT (p + mcnt, NULL, -2);
- ^
- regex.c:2407:5: note: expanded from macro 'PUSH_FAILURE_POINT'
- PUSH_FAILURE_ITEM (lowest_active_reg); \
- ^
- regex.c:2328:42: note: expanded from macro 'PUSH_FAILURE_ITEM'
- fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item
- ^
- regex.c:3918:11: warning: cast to 'fail_stack_elt_t' (aka
- 'const unsigned char *') from smaller integer type 'unsigned int'
- [-Wint-to-pointer-cast]
- regex.c:2410:5: note: expanded from macro 'PUSH_FAILURE_POINT'
- PUSH_FAILURE_ITEM (highest_active_reg); \
- ^
- regex.c:2328:42: note: expanded from macro 'PUSH_FAILURE_ITEM'
- fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item
- ^
- regex.c:3971:11: warning: cast to 'fail_stack_elt_t' (aka
- 'const unsigned char *') from smaller integer type 'unsigned int'
- [-Wint-to-pointer-cast]
- PUSH_FAILURE_POINT (p + mcnt, d, -2);
- ^
- regex.c:2407:5: note: expanded from macro 'PUSH_FAILURE_POINT'
- PUSH_FAILURE_ITEM (lowest_active_reg); \
- ^
- regex.c:2328:42: note: expanded from macro 'PUSH_FAILURE_ITEM'
- fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item
- ^
- regex.c:3971:11: warning: cast to 'fail_stack_elt_t' (aka
- 'const unsigned char *') from smaller integer type 'unsigned int'
- [-Wint-to-pointer-cast]
- regex.c:2410:5: note: expanded from macro 'PUSH_FAILURE_POINT'
- PUSH_FAILURE_ITEM (highest_active_reg); \
- ^
- regex.c:2328:42: note: expanded from macro 'PUSH_FAILURE_ITEM'
- fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item
- ^
- regex.c:4110:11: warning: cast to 'fail_stack_elt_t' (aka
- 'const unsigned char *') from smaller integer type 'unsigned int'
- [-Wint-to-pointer-cast]
- PUSH_FAILURE_POINT (0, 0, -2);
- ^
- regex.c:2407:5: note: expanded from macro 'PUSH_FAILURE_POINT'
- PUSH_FAILURE_ITEM (lowest_active_reg); \
- ^
- regex.c:2328:42: note: expanded from macro 'PUSH_FAILURE_ITEM'
- fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item
- ^
- regex.c:4110:11: warning: cast to 'fail_stack_elt_t' (aka
- 'const unsigned char *') from smaller integer type 'unsigned int'
- [-Wint-to-pointer-cast]
- regex.c:2410:5: note: expanded from macro 'PUSH_FAILURE_POINT'
- PUSH_FAILURE_ITEM (highest_active_reg); \
- ^
- regex.c:2328:42: note: expanded from macro 'PUSH_FAILURE_ITEM'
- fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item
- ^
- regex.c:4123:11: warning: cast to 'fail_stack_elt_t' (aka
- 'const unsigned char *') from smaller integer type 'unsigned int'
- [-Wint-to-pointer-cast]
- PUSH_FAILURE_POINT (0, 0, -2);
- ^
- regex.c:2407:5: note: expanded from macro 'PUSH_FAILURE_POINT'
- PUSH_FAILURE_ITEM (lowest_active_reg); \
- ^
- regex.c:2328:42: note: expanded from macro 'PUSH_FAILURE_ITEM'
- fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item
- ^
- regex.c:4123:11: warning: cast to 'fail_stack_elt_t' (aka
- 'const unsigned char *') from smaller integer type 'unsigned int'
- [-Wint-to-pointer-cast]
- regex.c:2410:5: note: expanded from macro 'PUSH_FAILURE_POINT'
- PUSH_FAILURE_ITEM (highest_active_reg); \
- ^
- regex.c:2328:42: note: expanded from macro 'PUSH_FAILURE_ITEM'
- fail_stack.stack[fail_stack.avail++] = (fail_stack_elt_t) item
- ^
- 13 warnings generated.
- gcc -c -DVERSION=\"1.8\" -DWARN_ROOT -DHAVE_CONFIG_H -DDUMPFILE=\"/dev/null\" \
- -DCONFFILE=\"/usr/local/etc/logsurfer.conf\" -I.. -g -O readline.c
- readline.c:69:25: warning: implicitly declaring library function 'realloc' with
- type 'void *(void *, unsigned long)' [-Wimplicit-function-declaration]
- if ( (*buffer=(char *)realloc(*buffer, (*buffer_size)*2)...
- ^
- readline.c:69:25: note: include the header <stdlib.h> or explicitly provide a
- declaration for 'realloc'
- readline.c:109:25: warning: implicitly declaring library function 'malloc' with
- type 'void *(unsigned long)' [-Wimplicit-function-declaration]
- if ( (result=(char *) malloc(strlen(*buffer)+1)) == NULL ) {
- ^
- readline.c:109:25: note: include the header <stdlib.h> or explicitly provide a
- declaration for 'malloc'
- 2 warnings generated.
- gcc -DVERSION=\"1.8\" -DWARN_ROOT -g -O -o logsurfer context.o exec.o exit.o logsurfer.o readcf.o report.o rule.o str_util.o regex.o readline.o
Advertisement
Add Comment
Please, Sign In to add comment