Skip to content

Instantly share code, notes, and snippets.

@igable
Created August 9, 2012 20:57
Show Gist options
  • Save igable/3307972 to your computer and use it in GitHub Desktop.
Save igable/3307972 to your computer and use it in GitHub Desktop.
ndt 3.6.5.1 build failure
[igable@elephant ndt-3.6.5.1]$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable debugging... no
checking whether to enable experimental code... yes
checking whether to enable database support... yes
checking for style of include used by make... GNU
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking for web100_snap in -lweb100... no
checking for pcap_open_live in -lpcap... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 pcap.h usability... no
checking pcap.h presence... no
checking for pcap.h... no
./configure: line 4530: test: ==: unary operator expected
checking for deflateInit_ in -lz... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
./configure: line 4801: test: ==: unary operator expected
checking for SQLDriverConnect in -lodbc... no
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 ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether ln -s works... yes
checking for gcj... javac
checking dependency style of javac... none
checking for javac... javac
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... 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 for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking linux/sockios.h usability... yes
checking linux/sockios.h presence... yes
checking for linux/sockios.h... yes
checking net/ethernet.h usability... yes
checking net/ethernet.h presence... yes
checking for net/ethernet.h... yes
checking netinet/ip6.h usability... yes
checking netinet/ip6.h presence... yes
checking for netinet/ip6.h... yes
checking linux/icmpv6.h usability... yes
checking linux/icmpv6.h presence... yes
checking for linux/icmpv6.h... yes
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for error_at_line... yes
checking for pid_t... yes
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 for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... 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 for wait3 that fills in rusage... yes
checking for alarm... yes
checking for bzero... yes
checking for gethostbyaddr... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for sqrt... no
checking for strchr... yes
checking for strstr... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating Admin/Makefile
config.status: creating Applet/Makefile
config.status: creating conf/Makefile
config.status: creating doc/Makefile
config.status: creating janalyze/Makefile
config.status: creating config.h
config.status: executing depfiles commands
=== configuring in I2util (/home/igable/junk/ndt-3.6.5.1/I2util)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kernel random dev... /dev/urandom
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 ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for library containing getaddrinfo... none required
checking for library containing gethostbyname... none required
checking for library containing socket... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /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 errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking paths.h usability... yes
checking paths.h presence... yes
checking for paths.h... yes
checking for __attribute__... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for syslog names... no
checking for syslog perror availability... yes
checking for struct sockaddr.sa_len... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for strftime... yes
checking for memset... yes
checking for strdup... yes
checking for strerror... yes
checking for strtol... yes
checking for strtoul... yes
checking for socket... yes
checking for getaddrinfo... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating I2util/Makefile
config.status: creating aespasswd/Makefile
config.status: creating pfstore/Makefile
config.status: creating doc/Makefile
config.status: creating test/Makefile
config.status: creating I2util.spec
config.status: creating I2util/config.h
config.status: executing depfiles commands
config.status: executing default commands
***********************************
*** Network Diagnostic Tool ***
***********************************
* configured modules *
***********************************
*** Client Tools - complete
* web100clt: YES
*** Server Tools - incomplete
* fakewww: NO (missing web100 library)
* web100srv: NO (missing web100 library)
* Tcpbw100.jar: YES
*** Administrative Tools - incomplete
* analyze: NO (missing web100 library)
* viewtrace: NO (missing web100 library)
* tr-mkmap: NO (missing web100 library)
* genplot: NO (missing web100 library)
* JAnalyze.jar: YES
* Admin.class: YES
[igable@elephant ndt-3.6.5.1]$ make
make all-recursive
make[1]: Entering directory `/home/igable/junk/ndt-3.6.5.1'
Making all in I2util
make[2]: Entering directory `/home/igable/junk/ndt-3.6.5.1/I2util'
Making all in I2util
make[3]: Entering directory `/home/igable/junk/ndt-3.6.5.1/I2util/I2util'
make all-am
make[4]: Entering directory `/home/igable/junk/ndt-3.6.5.1/I2util/I2util'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT ErrLog.o -MD -MP -MF ".deps/ErrLog.Tpo" -c -o ErrLog.o ErrLog.c; \
then mv -f ".deps/ErrLog.Tpo" ".deps/ErrLog.Po"; else rm -f ".deps/ErrLog.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT ErrLogImmediate.o -MD -MP -MF ".deps/ErrLogImmediate.Tpo" -c -o ErrLogImmediate.o ErrLogImmediate.c; \
then mv -f ".deps/ErrLogImmediate.Tpo" ".deps/ErrLogImmediate.Po"; else rm -f ".deps/ErrLogImmediate.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT ErrLogSyslog.o -MD -MP -MF ".deps/ErrLogSyslog.Tpo" -c -o ErrLogSyslog.o ErrLogSyslog.c; \
then mv -f ".deps/ErrLogSyslog.Tpo" ".deps/ErrLogSyslog.Po"; else rm -f ".deps/ErrLogSyslog.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT Pthread.o -MD -MP -MF ".deps/Pthread.Tpo" -c -o Pthread.o Pthread.c; \
then mv -f ".deps/Pthread.Tpo" ".deps/Pthread.Po"; else rm -f ".deps/Pthread.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT mach_dep.o -MD -MP -MF ".deps/mach_dep.Tpo" -c -o mach_dep.o mach_dep.c; \
then mv -f ".deps/mach_dep.Tpo" ".deps/mach_dep.Po"; else rm -f ".deps/mach_dep.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT table.o -MD -MP -MF ".deps/table.Tpo" -c -o table.o table.c; \
then mv -f ".deps/table.Tpo" ".deps/table.Po"; else rm -f ".deps/table.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT random.o -MD -MP -MF ".deps/random.Tpo" -c -o random.o random.c; \
then mv -f ".deps/random.Tpo" ".deps/random.Po"; else rm -f ".deps/random.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT io.o -MD -MP -MF ".deps/io.Tpo" -c -o io.o io.c; \
then mv -f ".deps/io.Tpo" ".deps/io.Po"; else rm -f ".deps/io.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT saddr.o -MD -MP -MF ".deps/saddr.Tpo" -c -o saddr.o saddr.c; \
then mv -f ".deps/saddr.Tpo" ".deps/saddr.Po"; else rm -f ".deps/saddr.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o md5.c; \
then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT readpassphrase.o -MD -MP -MF ".deps/readpassphrase.Tpo" -c -o readpassphrase.o readpassphrase.c; \
then mv -f ".deps/readpassphrase.Tpo" ".deps/readpassphrase.Po"; else rm -f ".deps/readpassphrase.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT hex.o -MD -MP -MF ".deps/hex.Tpo" -c -o hex.o hex.c; \
then mv -f ".deps/hex.Tpo" ".deps/hex.Po"; else rm -f ".deps/hex.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT conf.o -MD -MP -MF ".deps/conf.Tpo" -c -o conf.o conf.c; \
then mv -f ".deps/conf.Tpo" ".deps/conf.Po"; else rm -f ".deps/conf.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT addr.o -MD -MP -MF ".deps/addr.Tpo" -c -o addr.o addr.c; \
then mv -f ".deps/addr.Tpo" ".deps/addr.Po"; else rm -f ".deps/addr.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT sha1.o -MD -MP -MF ".deps/sha1.Tpo" -c -o sha1.o sha1.c; \
then mv -f ".deps/sha1.Tpo" ".deps/sha1.Po"; else rm -f ".deps/sha1.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT hmac-sha1.o -MD -MP -MF ".deps/hmac-sha1.Tpo" -c -o hmac-sha1.o hmac-sha1.c; \
then mv -f ".deps/hmac-sha1.Tpo" ".deps/hmac-sha1.Po"; else rm -f ".deps/hmac-sha1.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I.. -I.. -g -O2 -MT pbkdf2.o -MD -MP -MF ".deps/pbkdf2.Tpo" -c -o pbkdf2.o pbkdf2.c; \
then mv -f ".deps/pbkdf2.Tpo" ".deps/pbkdf2.Po"; else rm -f ".deps/pbkdf2.Tpo"; exit 1; fi
rm -f libI2util.a
ar cru libI2util.a ErrLog.o ErrLogImmediate.o ErrLogSyslog.o Pthread.o mach_dep.o table.o random.o io.o saddr.o md5.o readpassphrase.o hex.o conf.o addr.o sha1.o hmac-sha1.o pbkdf2.o
ranlib libI2util.a
make[4]: Leaving directory `/home/igable/junk/ndt-3.6.5.1/I2util/I2util'
make[3]: Leaving directory `/home/igable/junk/ndt-3.6.5.1/I2util/I2util'
Making all in aespasswd
make[3]: Entering directory `/home/igable/junk/ndt-3.6.5.1/I2util/aespasswd'
if gcc -DHAVE_CONFIG_H -I. -I. -I../I2util -I.. -g -O2 -MT aespasswd.o -MD -MP -MF ".deps/aespasswd.Tpo" -c -o aespasswd.o aespasswd.c; \
then mv -f ".deps/aespasswd.Tpo" ".deps/aespasswd.Po"; else rm -f ".deps/aespasswd.Tpo"; exit 1; fi
gcc -g -O2 -o aespasswd aespasswd.o -L../I2util -lI2util
make[3]: Leaving directory `/home/igable/junk/ndt-3.6.5.1/I2util/aespasswd'
Making all in pfstore
make[3]: Entering directory `/home/igable/junk/ndt-3.6.5.1/I2util/pfstore'
if gcc -DHAVE_CONFIG_H -I. -I. -I../I2util -I.. -g -O2 -MT pfstore.o -MD -MP -MF ".deps/pfstore.Tpo" -c -o pfstore.o pfstore.c; \
then mv -f ".deps/pfstore.Tpo" ".deps/pfstore.Po"; else rm -f ".deps/pfstore.Tpo"; exit 1; fi
gcc -g -O2 -o pfstore pfstore.o -L../I2util -lI2util
make[3]: Leaving directory `/home/igable/junk/ndt-3.6.5.1/I2util/pfstore'
Making all in test
make[3]: Entering directory `/home/igable/junk/ndt-3.6.5.1/I2util/test'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/igable/junk/ndt-3.6.5.1/I2util/test'
Making all in doc
make[3]: Entering directory `/home/igable/junk/ndt-3.6.5.1/I2util/doc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/igable/junk/ndt-3.6.5.1/I2util/doc'
make[3]: Entering directory `/home/igable/junk/ndt-3.6.5.1/I2util'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/igable/junk/ndt-3.6.5.1/I2util'
make[2]: Leaving directory `/home/igable/junk/ndt-3.6.5.1/I2util'
Making all in src
make[2]: Entering directory `/home/igable/junk/ndt-3.6.5.1/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../I2util '-DBASEDIR="/usr/local/ndt"' -pedantic -Wall -O2 -DNDEBUG -DEXPERIMENTAL_ENABLED -DDATABASE_ENABLED -MT web100clt-web100clt.o -MD -MP -MF ".deps/web100clt-web100clt.Tpo" -c -o web100clt-web100clt.o `test -f 'web100clt.c' || echo './'`web100clt.c; \
then mv -f ".deps/web100clt-web100clt.Tpo" ".deps/web100clt-web100clt.Po"; else rm -f ".deps/web100clt-web100clt.Tpo"; exit 1; fi
In file included from logging.h:16,
from web100clt.c:13:
ndtptestconstants.h:24:1: warning: C++ style comments are not allowed in ISO C90
ndtptestconstants.h:24:1: warning: (this will be reported only once per input file)
In file included from web100clt.c:13:
logging.h:17:26: warning: C++ style comments are not allowed in ISO C90
logging.h:17:26: warning: (this will be reported only once per input file)
In file included from logging.h:17,
from web100clt.c:13:
runningtest.h:11:37: warning: C++ style comments are not allowed in ISO C90
runningtest.h:11:37: warning: (this will be reported only once per input file)
In file included from web100clt.c:15:
utils.h:24:1: warning: C++ style comments are not allowed in ISO C90
utils.h:24:1: warning: (this will be reported only once per input file)
In file included from web100clt.c:16:
protocol.h:12:1: warning: C++ style comments are not allowed in ISO C90
protocol.h:12:1: warning: (this will be reported only once per input file)
In file included from web100clt.c:21:
test_results_clt.h:11:1: warning: C++ style comments are not allowed in ISO C90
test_results_clt.h:11:1: warning: (this will be reported only once per input file)
web100clt.c:127:2: warning: C++ style comments are not allowed in ISO C90
web100clt.c:127:2: warning: (this will be reported only once per input file)
web100clt.c: In function ‘main’:
web100clt.c:596: warning: ISO C90 forbids mixed declarations and code
web100clt.c:830: warning: suggest parentheses around assignment used as truth value
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../I2util '-DBASEDIR="/usr/local/ndt"' -pedantic -Wall -O2 -DNDEBUG -DEXPERIMENTAL_ENABLED -DDATABASE_ENABLED -MT web100clt-network.o -MD -MP -MF ".deps/web100clt-network.Tpo" -c -o web100clt-network.o `test -f 'network.c' || echo './'`network.c; \
then mv -f ".deps/web100clt-network.Tpo" ".deps/web100clt-network.Po"; else rm -f ".deps/web100clt-network.Tpo"; exit 1; fi
In file included from logging.h:16,
from network.c:14:
ndtptestconstants.h:24:1: warning: C++ style comments are not allowed in ISO C90
ndtptestconstants.h:24:1: warning: (this will be reported only once per input file)
In file included from network.c:14:
logging.h:17:26: warning: C++ style comments are not allowed in ISO C90
logging.h:17:26: warning: (this will be reported only once per input file)
In file included from logging.h:17,
from network.c:14:
runningtest.h:11:37: warning: C++ style comments are not allowed in ISO C90
runningtest.h:11:37: warning: (this will be reported only once per input file)
network.c:39:3: warning: C++ style comments are not allowed in ISO C90
network.c:39:3: warning: (this will be reported only once per input file)
network.c: In function ‘send_msg’:
network.c:384: warning: unused variable ‘fp’
network.c: In function ‘recv_msg’:
network.c:449: warning: unused variable ‘fp’
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../I2util '-DBASEDIR="/usr/local/ndt"' -pedantic -Wall -O2 -DNDEBUG -DEXPERIMENTAL_ENABLED -DDATABASE_ENABLED -MT web100clt-usage.o -MD -MP -MF ".deps/web100clt-usage.Tpo" -c -o web100clt-usage.o `test -f 'usage.c' || echo './'`usage.c; \
then mv -f ".deps/web100clt-usage.Tpo" ".deps/web100clt-usage.Po"; else rm -f ".deps/web100clt-usage.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../I2util '-DBASEDIR="/usr/local/ndt"' -pedantic -Wall -O2 -DNDEBUG -DEXPERIMENTAL_ENABLED -DDATABASE_ENABLED -MT web100clt-logging.o -MD -MP -MF ".deps/web100clt-logging.Tpo" -c -o web100clt-logging.o `test -f 'logging.c' || echo './'`logging.c; \
then mv -f ".deps/web100clt-logging.Tpo" ".deps/web100clt-logging.Po"; else rm -f ".deps/web100clt-logging.Tpo"; exit 1; fi
In file included from logging.h:16,
from logging.c:22:
ndtptestconstants.h:24:1: warning: C++ style comments are not allowed in ISO C90
ndtptestconstants.h:24:1: warning: (this will be reported only once per input file)
In file included from logging.c:22:
logging.h:17:26: warning: C++ style comments are not allowed in ISO C90
logging.h:17:26: warning: (this will be reported only once per input file)
In file included from logging.h:17,
from logging.c:22:
runningtest.h:11:37: warning: C++ style comments are not allowed in ISO C90
runningtest.h:11:37: warning: (this will be reported only once per input file)
In file included from testoptions.h:12,
from logging.c:23:
web100srv.h:72:1: warning: C++ style comments are not allowed in ISO C90
web100srv.h:72:1: warning: (this will be reported only once per input file)
In file included from logging.c:23:
testoptions.h:23:16: warning: C++ style comments are not allowed in ISO C90
testoptions.h:23:16: warning: (this will be reported only once per input file)
In file included from logging.c:23:
testoptions.h:51: error: expected specifier-qualifier-list before ‘web100_snapshot’
testoptions.h:54: warning: struct has no members
testoptions.h:63: error: expected declaration specifiers or ‘...’ before ‘web100_agent’
testoptions.h:65: error: expected declaration specifiers or ‘...’ before ‘web100_agent’
testoptions.h:72: error: expected declaration specifiers or ‘...’ before ‘web100_agent’
testoptions.h:74: error: expected declaration specifiers or ‘...’ before ‘web100_connection’
testoptions.h:75: error: expected declaration specifiers or ‘...’ before ‘web100_group’
testoptions.h:80: error: expected ‘)’ before ‘*’ token
In file included from logging.c:25:
utils.h:24:1: warning: C++ style comments are not allowed in ISO C90
utils.h:24:1: warning: (this will be reported only once per input file)
In file included from logging.c:26:
protocol.h:12:1: warning: C++ style comments are not allowed in ISO C90
protocol.h:12:1: warning: (this will be reported only once per input file)
logging.c:72:2: warning: C++ style comments are not allowed in ISO C90
logging.c:72:2: warning: (this will be reported only once per input file)
logging.c: In function ‘set_protologdir’:
logging.c:209: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * __restrict__’ but argument is of type ‘char **’
logging.c:210: warning: assignment from incompatible pointer type
logging.c:214: warning: passing argument 1 of ‘sprintf’ from incompatible pointer type
/usr/include/stdio.h:363: note: expected ‘char * __restrict__’ but argument is of type ‘char **’
logging.c: In function ‘get_protologfile’:
logging.c:275: warning: ISO C90 forbids mixed declarations and code
logging.c: In function ‘quote_delimiters’:
logging.c:375: warning: type defaults to ‘int’ in declaration of ‘quoted’
logging.c:380: warning: unused variable ‘match’
logging.c: In function ‘protolog_printgeneric’:
logging.c:431: warning: passing argument 1 of ‘quote_delimiters’ discards qualifiers from pointer target type
logging.c:373: note: expected ‘char *’ but argument is of type ‘const char *’
logging.c: In function ‘protolog_println’:
logging.c:631: warning: unused variable ‘currentbodyfmt’
logging.c: In function ‘get_currenttime’:
logging.c:869: warning: passing argument 1 of ‘gmtime’ from incompatible pointer type
/usr/include/time.h:233: note: expected ‘const time_t *’ but argument is of type ‘struct timeval *’
logging.c:863: warning: unused variable ‘tv’
logging.c: In function ‘get_ISOtime’:
logging.c:888: warning: unused variable ‘tmpstr’
logging.c: In function ‘writeMeta’:
logging.c:1051: warning: ISO C90 forbids mixed declarations and code
logging.c: In function ‘create_client_logdir’:
logging.c:1142: warning: assignment makes pointer from integer without a cast
logging.c:1145: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘char *’
logging.c:1134: warning: unused variable ‘dp’
make[2]: *** [web100clt-logging.o] Error 1
make[2]: Leaving directory `/home/igable/junk/ndt-3.6.5.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/igable/junk/ndt-3.6.5.1'
make: *** [all] Error 2
[igable@elephant ndt-3.6.5.1]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment