Re: Freebsd problems
Carter Bullard via Argus-info <[email protected]> Fri, 2 Dec 2016 17:22:28 -0500
| Newsgroups | gmane.network.argus |
|---|---|
| Message-ID | <[email protected]> |
what version of freebsd are you using ??? Carter > On Dec 2, 2016, at 4:22 PM, Peter Van Epp via Argus-info <[email protected]> wrote: > > On Fri, Dec 02, 2016 at 03:58:44PM -0500, Carter Bullard wrote: >> Hey Peter, >> Try this version??? it should be in the developers section of the argus web site by the end of the year. >> Carter > > That fixes up configure but it's still unhappy with pthreads (which may > just mean we need a FreeBSD ifdef somewhere but I'm not sure what it is unhappy > about): > > root@Len1:/usr/local/src/argus-clients-3.0.8.3 # ./configure > > checking build system type... x86_64-unknown-freebsd11.0 > checking host system type... x86_64-unknown-freebsd11.0 > checking target system type... x86_64-unknown-freebsd11.0 > checking for standard perl installation... no > /usr/local/bin/perl > checking for gcc... gcc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > 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 ISO C89... unsupported > checking gcc version... (cached) 0 > checking whether ln -s works... yes > checking for flex... flex > checking lex output file root... lex.yy > checking lex library... none needed > checking whether yytext is a pointer... no > checking for a BSD-compatible install... /usr/bin/install -c > checking for ranlib... ranlib > checking for bison... bison -y > checking for ranlib... ranlib > checking for flex... flex > checking for flex 2.4 or higher... yes > checking for bison... bison > checking how to run the C preprocessor... gcc -E > checking for grep that handles long lines and -e... /usr/bin/grep > checking for egrep... /usr/bin/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... yes > checking for unistd.h... yes > checking readline/readline.h usability... yes > checking readline/readline.h presence... yes > checking for readline/readline.h... yes > checking whether rl_event_hook is declared... yes > checking whether rl_catch_signals is declared... yes > checking whether rl_done is declared... yes > checking whether rl_set_keyboard_input_timeout is declared... yes > checking whether rl_replace_line is declared... yes > checking whether rl_delete_text is declared... yes > checking whether rl_resize_terminal is declared... yes > checking whether rl_save_prompt is declared... yes > readline test finished cppflags ldflags > checking for mysql... no > checking zlib.h usability... yes > checking zlib.h presence... yes > checking for zlib.h... yes > checking for uncompress in -lz... yes > checking for local ft library... not found > checking for ft-config... no > checking for main in -lft... no > checking for extraneous ft header directories... checking regex.h usability... yes > checking regex.h presence... yes > checking for regex.h... yes > checking for dirent.h that defines DIR... yes > checking for library containing opendir... none required > checking for ANSI C header files... (cached) yes > checking for sys/wait.h that is POSIX.1 compatible... yes > checking for sys/types.h... (cached) yes > checking sys/sockio.h usability... yes > checking sys/sockio.h presence... yes > checking for sys/sockio.h... yes > checking sys/file.h usability... yes > checking sys/file.h presence... yes > checking for sys/file.h... yes > checking for string.h... (cached) yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking syslog.h usability... yes > checking syslog.h presence... yes > checking for syslog.h... yes > checking arpa/inet.h usability... yes > checking arpa/inet.h presence... yes > checking for arpa/inet.h... yes > checking for fcntl.h... (cached) yes > checking for inttypes.h... (cached) yes > checking limits.h usability... yes > checking limits.h presence... yes > checking for limits.h... yes > checking libintl.h usability... yes > checking libintl.h presence... yes > checking for libintl.h... yes > checking malloc.h usability... no > checking malloc.h presence... no > checking for malloc.h... no > checking for memory.h... (cached) yes > checking netdb.h usability... yes > checking netdb.h presence... yes > checking for netdb.h... yes > checking netinet/in.h usability... yes > checking netinet/in.h presence... yes > checking for netinet/in.h... yes > checking net/if_dl.h usability... yes > checking net/if_dl.h presence... yes > checking for net/if_dl.h... yes > checking for stdlib.h... (cached) yes > checking stddef.h usability... yes > checking stddef.h presence... yes > checking for stddef.h... yes > checking for string.h... (cached) yes > checking for strings.h... (cached) yes > checking for sys/file.h... (cached) yes > checking sys/ioctl.h usability... yes > checking sys/ioctl.h presence... yes > checking for sys/ioctl.h... yes > checking sys/param.h usability... yes > checking sys/param.h presence... yes > checking for sys/param.h... yes > checking sys/socket.h usability... yes > checking sys/socket.h presence... yes > checking for sys/socket.h... yes > checking sys/mount.h usability... yes > checking sys/mount.h presence... yes > checking for sys/mount.h... yes > checking sys/time.h usability... yes > checking sys/time.h presence... yes > checking for sys/time.h... yes > checking sys/vfs.h usability... no > checking sys/vfs.h presence... no > checking for sys/vfs.h... no > checking for syslog.h... (cached) yes > checking termios.h usability... yes > checking termios.h presence... yes > checking for termios.h... yes > checking for unistd.h... (cached) yes > checking values.h usability... no > checking values.h presence... no > checking for values.h... no > checking ifaddrs.h usability... yes > checking ifaddrs.h presence... yes > checking for ifaddrs.h... yes > checking for an ANSI C-conforming const... yes > checking for inline... inline > checking for special C compiler options needed for large files... no > checking for _FILE_OFFSET_BITS value needed for large files... no > checking if unaligned accesses fail... yes > checking for int8_t... yes > checking for uint8_t... yes > checking for int16_t... yes > checking for uint16_t... yes > checking for int32_t... yes > checking for uint32_t... yes > checking for uint64_t... yes > checking for uid_t in sys/types.h... yes > checking for pid_t... yes > checking for size_t... yes > checking whether time.h and sys/time.h may both be included... yes > checking whether struct tm is in sys/time.h or time.h... time.h > checking for struct tm.tm_zone... yes > checking for working alloca.h... no > checking for alloca... yes > checking for vprintf... yes > checking for _doprnt... no > checking whether closedir returns void... no > checking for error_at_line... no > checking vfork.h usability... no > checking vfork.h presence... no > checking for vfork.h... no > checking for fork... yes > checking for vfork... yes > checking for working fork... yes > checking for working vfork... (cached) yes > checking whether gcc needs -traditional... no > checking for stdlib.h... (cached) yes > checking for GNU libc compatible malloc... yes > checking for working memcmp... yes > checking for sys/time.h... (cached) yes > checking for unistd.h... (cached) yes > checking for alarm... yes > checking for working mktime... no > checking for stdlib.h... (cached) yes > checking for GNU libc compatible realloc... yes > checking sys/select.h usability... yes > checking sys/select.h presence... yes > checking for sys/select.h... yes > checking for sys/socket.h... (cached) yes > checking types of arguments for select... int,fd_set *,struct timeval * > checking return type of signal handlers... void > checking whether lstat correctly handles trailing slash... yes > checking whether stat accepts an empty string... no > checking for strftime... yes > checking for working strtod... yes > checking for backtrace... no > checking for openlog... yes > checking for syslog... yes > checking for vfprintf... yes > checking for strlcpy... yes > checking for strftime... (cached) yes > checking for inet_aton... yes > checking for setlinebuf... yes > checking for strerror... yes > checking for strtof... yes > checking for floorf... yes > checking for remainderf... yes > checking for timegm... yes > checking for vsnprintf... yes > checking for snprintf... yes > checking for library containing gethostbyname... none required > checking for library containing socket... none required > checking for library containing putmsg... no > checking for ether_hostton... yes > checking for getaddrinfo... yes > checking for gethostname... yes > checking for alarm... (cached) yes > checking for bzero... yes > checking for endgrent... yes > checking for endpwent... yes > checking for floor... yes > checking for gethostbyaddr... yes > checking for gethostbyname... yes > checking for getpass... yes > checking for gettimeofday... yes > checking for inet_ntoa... yes > checking for isascii... yes > checking for localtime_r... yes > checking for memchr... yes > checking for memmove... yes > checking for memset... yes > checking for mkdir... yes > checking for modf... yes > checking for pow... yes > checking for putenv... yes > checking for realpath... yes > checking for regcomp... yes > checking for select... yes > checking for setenv... yes > checking for socket... yes > checking for sqrt... yes > checking for strcasecmp... yes > checking for strchr... yes > checking for strdup... yes > checking for strerror... (cached) yes > checking for strlcat... yes > checking for strncasecmp... yes > checking for strpbrk... yes > checking for strerror... (cached) yes > checking for strrchr... yes > checking for strstr... yes > checking for strtol... yes > checking for strtof... (cached) yes > checking for srandomdev... yes > checking for tzset... yes > checking for .threads... yes > checking for sched_get_priority_min... yes > checking for local tcp_wrappers library... not found > checking for system tcp_wrappers library... no > checking for xdrmem_create... yes > checking ncurses.h usability... yes > checking ncurses.h presence... yes > checking for ncurses.h... yes > checking for initscr in -lncurses... yes > checking for GeoIP_open in -lGeoIP... no > checking for standard GeoIP installation... no > checking for local GeoIP library and includes... no > checking for GeoIP library... not found > checking tm_gmtoff in struct tm... yes > checking sys_errlist in stdio.h... no > configure: creating ./config.status > config.status: creating Makefile > config.status: creating ./common/Makefile > config.status: creating ./include/Makefile > config.status: creating ./clients/Makefile > config.status: creating ./lib/argus-clients.pc > config.status: creating ./examples/Makefile > config.status: creating ./examples/raconvert/Makefile > config.status: creating ./examples/radark/Makefile > config.status: creating ./examples/radecode/Makefile > config.status: creating ./examples/radump/Makefile > config.status: creating ./examples/raevent/Makefile > config.status: creating ./examples/rafilter/Makefile > config.status: creating ./examples/ragraph/Makefile > config.status: creating ./examples/ragrep/Makefile > config.status: creating ./examples/rahisto/Makefile > config.status: creating ./examples/rahosts/Makefile > config.status: creating ./examples/ralabel/Makefile > config.status: creating ./examples/rapath/Makefile > config.status: creating ./examples/rapolicy/Makefile > config.status: creating ./examples/raports/Makefile > config.status: creating ./examples/rarpwatch/Makefile > config.status: creating ./examples/raservices/Makefile > config.status: creating ./examples/rastream/Makefile > config.status: creating ./examples/rastrip/Makefile > config.status: creating ./examples/ratop/Makefile > config.status: creating ./examples/ratimerange/Makefile > config.status: creating ./examples/ratemplate/Makefile > config.status: creating include/argus_config.h > config.status: include/argus_config.h is unchanged > root@Len1:/usr/local/src/argus-clients-3.0.8.3 # make > > making in ./common > gcc -O -I. -I../include -DHAVE_CONFIG_H -DARGUS_SYSLOG -c ./argus_main.c > In file included from ./argus_main.c:71:0: > /usr/include/pthread.h:153:4: error: expected initializer before '__nonnull_all' > __nonnull_all; > ^ > /usr/include/pthread.h:155:4: error: expected initializer before '__nonnull_all' > __nonnull_all; > ^ > /usr/include/pthread.h:159:4: error: expected initializer before '__nonnull_all' > __nonnull_all; > ^ > /usr/include/pthread.h:194:17: error: expected initializer before '__nonnull_all' > clockid_t *) __nonnull_all; > ^ > /usr/include/pthread.h:196:4: error: expected initializer before '__nonnull_all' > __nonnull_all; > ^ > /usr/include/pthread.h:211:4: error: expected initializer before '__nonnull_all' > __nonnull_all __requires_exclusive(*__mutex); > ^ > /usr/include/pthread.h:213:4: error: expected initializer before '__nonnull_all' > __nonnull_all __requires_exclusive(*__mutex); > ^ > /usr/include/pthread.h:228:11: error: expected initializer before '__nonnull_all' > int *) __nonnull_all; > ^ > /usr/include/pthread.h:230:4: error: expected initializer before '__nonnull_all' > __nonnull_all; > ^ > /usr/include/pthread.h:236:17: error: expected initializer before '__requires_exclusive' > __nonnull(1) __requires_exclusive(*__mutex); > ^ > /usr/include/pthread.h:238:17: error: expected initializer before '__requires_unlocked' > __nonnull(1) __requires_unlocked(*__mutex); > ^ > /usr/include/pthread.h:241:17: error: expected initializer before '__requires_unlocked' > __nonnull(1) __requires_unlocked(*__mutex); > ^ > /usr/include/pthread.h:243:17: error: expected initializer before '__locks_exclusive' > __nonnull(1) __locks_exclusive(*__mutex); > ^ > /usr/include/pthread.h:245:17: error: expected initializer before '__trylocks_exclusive' > __nonnull(1) __trylocks_exclusive(0, *__mutex); > ^ > /usr/include/pthread.h:248:4: error: expected initializer before '__nonnull_all' > __nonnull_all __trylocks_exclusive(0, *__mutex); > ^ > /usr/include/pthread.h:250:17: error: expected initializer before '__unlocks' > __nonnull(1) __unlocks(*__mutex); > ^ > /usr/include/pthread.h:251:54: error: expected initializer before '__nonnull_all' > int pthread_once(pthread_once_t *, void (*) (void)) __nonnull_all; > ^ > /usr/include/pthread.h:253:17: error: expected initializer before '__requires_unlocked' > __nonnull(1) __requires_unlocked(*__rwlock); > ^ > /usr/include/pthread.h:256:17: error: expected initializer before '__requires_unlocked' > __nonnull(1) __requires_unlocked(*__rwlock); > ^ > /usr/include/pthread.h:258:17: error: expected initializer before '__locks_shared' > __nonnull(1) __locks_shared(*__rwlock); > ^ > /usr/include/pthread.h:261:4: error: expected initializer before '__nonnull_all' > __nonnull_all __trylocks_shared(0, *__rwlock); > ^ > /usr/include/pthread.h:264:4: error: expected initializer before '__nonnull_all' > __nonnull_all __trylocks_exclusive(0, *__rwlock); > ^ > /usr/include/pthread.h:266:17: error: expected initializer before '__trylocks_shared' > __nonnull(1) __trylocks_shared(0, *__rwlock); > ^ > /usr/include/pthread.h:268:17: error: expected initializer before '__trylocks_exclusive' > __nonnull(1) __trylocks_exclusive(0, *__rwlock); > ^ > /usr/include/pthread.h:270:17: error: expected initializer before '__unlocks' > __nonnull(1) __unlocks(*__rwlock); > ^ > /usr/include/pthread.h:272:17: error: expected initializer before '__locks_exclusive' > __nonnull(1) __locks_exclusive(*__rwlock); > ^ > /usr/include/pthread.h:278:11: error: expected initializer before '__nonnull_all' > int *) __nonnull_all; > ^ > /usr/include/pthread.h:288:4: error: expected initializer before '__requires_unlocked' > __requires_unlocked(*__spin); > ^ > /usr/include/pthread.h:290:4: error: expected initializer before '__requires_unlocked' > __requires_unlocked(*__spin); > ^ > /usr/include/pthread.h:292:4: error: expected initializer before '__locks_exclusive' > __locks_exclusive(*__spin); > ^ > /usr/include/pthread.h:294:4: error: expected initializer before '__trylocks_exclusive' > __trylocks_exclusive(0, *__spin); > ^ > /usr/include/pthread.h:296:4: error: expected initializer before '__unlocks' > __unlocks(*__spin); > ^ > /usr/include/pthread.h:319:21: error: expected initializer before '__nonnull_all' > int *__restrict) __nonnull_all; > ^ > /usr/include/pthread.h:325:26: error: expected initializer before '__nonnull_all' > struct sched_param *) __nonnull_all; > ^ > /usr/include/pthread.h:327:4: error: expected initializer before '__nonnull_all' > __nonnull_all; > ^ > /usr/include/pthread.h:329:4: error: expected initializer before '__nonnull_all' > __nonnull_all; > ^ > In file included from ./argus_main.c:81:0: > /usr/include/signal.h:88:60: error: expected initializer before '__nonnull_all' > int sigwait(const sigset_t * __restrict, int * __restrict) __nonnull_all; > ^ > In file included from ./argus_main.c:86:0: > ../include/argus_main.h:147:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > }; > ^ > ../include/argus_main.h:147:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ../include/argus_main.h:147:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ../include/argus_main.h:147:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ../include/argus_main.h:147:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ../include/argus_main.h:147:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ../include/argus_main.h:147:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ../include/argus_main.h:147:1: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ./argus_main.c: In function 'int main(int, char**)': > ./argus_main.c:135:69: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "ArgusNewParser failed %s", strerror(errno)); > ^ > ./argus_main.c:139:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "pthreads init error"); > ^ > ./argus_main.c:142:67: error: 'pthread_attr_getschedpolicy' was not declared in this scope > if ((status = pthread_attr_getschedpolicy(&attr, &thread_policy)) != 0) > ^ > ./argus_main.c:143:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "pthreads get policy error"); > ^ > ./argus_main.c:144:65: error: 'pthread_attr_getschedparam' was not declared in this scope > if ((status = pthread_attr_getschedparam(&attr, &thread_param)) != 0) > ^ > ./argus_main.c:145:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "pthreads get sched params error"); > ^ > ./argus_main.c:147:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "pthreads set SCHED_RR error"); > ^ > ./argus_main.c:151:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "pthreads get priority min error"); > ^ > ./argus_main.c:153:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "pthreads get priority max error"); > ^ > ./argus_main.c:163:58: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "pthreads set sched param error"); > ^ > ./argus_main.c:172:51: error: 'pthread_attr_getstacksize' was not declared in this scope > if (pthread_attr_getstacksize(&attr, &stacksize)) > ^ > ./argus_main.c:173:56: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "pthreads get stacksize error"); > ^ > ./argus_main.c:179:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "pthreads set stacksize error"); > ^ > ./argus_main.c:181:55: error: 'pthread_attr_getstacksize' was not declared in this scope > if (pthread_attr_getstacksize(&attr, &nstacksize)) > ^ > ./argus_main.c:182:59: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "pthreads get stacksize error"); > ^ > ./argus_main.c:201:77: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > if (!(ArgusAddFileList (ArgusParser, "-", ARGUS_DATA_SOURCE, -1, -1))) > ^ > ./argus_main.c:202:70: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog(LOG_ERR, "%s: error: file arg %s", *argv, optarg); > ^ > ./argus_main.c:209:90: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "ArgusNewOutput() pthread_create error %s\n", strerror(errno)); > ^ > ./argus_main.c:233:94: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ALERT, "open '%s': %s", file->filename, strerror(errno)); > ^ > ./argus_main.c:276:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "ArgusReadFile: fcntl error %s", strerror(errno)); > ^ > ./argus_main.c:279:89: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "ArgusReadFile: fcntl error %s", strerror(errno)); > ^ > ./argus_main.c:336:99: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "ArgusNewOutput() pthread_create error %s\n", strerror(errno)); > ^ > ./argus_main.c:343:26: error: invalid conversion from 'void*' to 'ArgusInput*' [-fpermissive] > while ((addr = (void *)ArgusPopQueue(ArgusParser->ArgusRemoteHosts, ARGUS_LOCK)) != NULL) { > ^ > ./argus_main.c:350:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "ArgusConnectRemote: fcntl error %s", strerror(errno)); > ^ > ./argus_main.c:353:97: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] > ArgusLog (LOG_ERR, "ArgusConnectRemote: fcntl error %s", strerror(errno)); > ^ > ./argus_main.c:376:23: error: invalid conversion from 'void*' to 'ArgusInput*' [-fpermissive] > while ((addr = (void *)ArgusPopQueue(tqueue, ARGUS_LOCK)) != NULL) > ^ > ./argus_main.c:407:20: error: invalid conversion from 'void*' to 'ArgusInput*' [-fpermissive] > while ((addr = (void *)ArgusPopQueue(ArgusParser->ArgusRemoteHosts, ARGUS_LOCK)) != NULL) { > ^ > ./argus_main.c:414:20: error: invalid conversion from 'void*' to 'ArgusInput*' [-fpermissive] > while ((addr = (void *)ArgusPopQueue(ArgusParser->ArgusActiveHosts, ARGUS_LOCK)) != NULL) { > ^ > *** Error code 1 > > Stop. > make[1]: stopped in /usr/local/src/argus-clients-3.0.8.3/common > *** Error code 1 > > Stop. > make: stopped in /usr/local/src/argus-clients-3.0.8.3 >
smime.p7s
(application/pkcs7-signature, 2.4 KB) - not displayed