Build of aiccu with android toolchain

The build took 00h 00m 58s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
4,660 ansic
372 makefile
369 sh
5,401 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

List of Errors

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/arm-linux-androideabi --> /sysroot/arm-linux-androideabi
# /toolchain_root/COPYING3.LIB --> /sysroot/COPYING3.LIB
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/COPYING.RUNTIME --> /sysroot/COPYING.RUNTIME
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/SOURCES --> /sysroot/SOURCES
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/COPYING --> /sysroot/COPYING
# /toolchain_root/COPYING3 --> /sysroot/COPYING3
# /toolchain_root/COPYING.LIB --> /sysroot/COPYING.LIB
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/sysroot/bin:/sysroot/libexec/gcc/arm-linux-androideabi/4.8:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=arm-linux-androideabi-gcc CXX=arm-linux-androideabi-g++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: aiccu 20070115-6 (Tue Apr 4 21:18:50 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# Building : aiccu - Automatic IPv6 Connectivity Configuration Utility
# Copyright : SixXS
# Version : 2007.01.15
# make[1]: Entering directory '/tmp/aiccu/src/aiccu/unix-console'
# cc1: error: no include path in which to search for stdc-predef.h
# In file included from ../common/aiccu.h:17:0,
# from main.c:13:
# ../common/common.h:43:19: error: no include path in which to search for stdio.h
# #include
# ^
# ../common/common.h:44:19: error: no include path in which to search for errno.h
# #include
# ^
# ../common/common.h:45:20: error: no include path in which to search for stdarg.h
# #include
# ^
# ../common/common.h:46:20: error: no include path in which to search for stdlib.h
# #include
# ^
# ../common/common.h:47:20: error: no include path in which to search for string.h
# #include
# ^
# ../common/common.h:48:19: error: no include path in which to search for ctype.h
# #include
# ^
# ../common/common.h:49:18: error: no include path in which to search for time.h
# #include
# ^
# ../common/common.h:50:20: error: no include path in which to search for signal.h
# #include
# ^
# ../common/common.h:51:23: error: no include path in which to search for sys/types.h
# #include
# ^
# ../common/common.h:52:22: error: no include path in which to search for sys/stat.h
# #include
# ^
# ../common/common.h:53:19: error: no include path in which to search for fcntl.h
# #include
# ^
# ../common/common.h:63:20: error: no include path in which to search for endian.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# ../common/common.h:70:23: error: no include path in which to search for sys/types.h
# #include
# ^
# ../common/common.h:83:25: error: no include path in which to search for sys/socket.h
# #include
# ^
# ../common/common.h:84:25: error: no include path in which to search for netinet/in.h
# #include
# ^
# ../common/common.h:85:20: error: no include path in which to search for netdb.h
# #include
# ^
# ../common/common.h:86:21: error: no include path in which to search for unistd.h
# #include
# ^
# ../common/common.h:87:22: error: no include path in which to search for strings.h
# #include
# ^
# ../common/common.h:88:21: error: no include path in which to search for syslog.h
# #include
# ^
# ../common/common.h:89:24: error: no include path in which to search for arpa/inet.h
# #include
# ^
# ../common/common.h:90:24: error: no include path in which to search for sys/ioctl.h
# #include
# ^
# ../common/common.h:91:25: error: no include path in which to search for sys/select.h
# #include
# ^
# ../common/common.h:93:21: error: no include path in which to search for net/if.h
# #include
# ^
# ../common/common.h:94:31: error: no include path in which to search for netinet/if_ether.h
# #include
# ^
# ../common/common.h:96:31: error: no include path in which to search for netpacket/packet.h
# #include
# ^
# ../common/common.h:97:27: error: no include path in which to search for linux/if_tun.h
# #include
# ^
# ../common/common.h:122:25: error: no include path in which to search for netinet/ip.h
# #include
# ^
# ../common/common.h:123:26: error: no include path in which to search for netinet/ip6.h
# #include
# ^
# ../common/common.h:124:28: error: no include path in which to search for netinet/icmp6.h
# #include
# ^
# ../common/common.h:125:26: error: no include path in which to search for netinet/tcp.h
# #include
# ^
# ../common/common.h:126:26: error: no include path in which to search for netinet/udp.h
# #include
# ^
# ../common/common.h:127:30: error: no include path in which to search for netinet/ip_icmp.h
# #include
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:43:19: error: no include path in which to search for stdio.h
# #include
# ^
# ../common/common.h:128:24: error: no include path in which to search for sys/ioctl.h
# #include
# ^
# ../common/common.h:44:19: error: no include path in which to search for errno.h
# #include
# ^
# ../common/common.h:134:22: error: no include path in which to search for pthread.h
# #include
# ^
# ../common/common.h:45:20: error: no include path in which to search for stdarg.h
# #include
# ^
# ../common/common.h:46:20: error: no include path in which to search for stdlib.h
# #include
# ^
# ../common/common.h:47:20: error: no include path in which to search for string.h
# #include
# ^
# ../common/common.h:48:19: error: no include path in which to search for ctype.h
# #include
# ^
# ../common/common.h:49:18: error: no include path in which to search for time.h
# #include
# ^
# ../common/common.h:50:20: error: no include path in which to search for signal.h
# #include
# ^
# ../common/common.h:51:23: error: no include path in which to search for sys/types.h
# #include
# ^
# ../common/common.h:52:22: error: no include path in which to search for sys/stat.h
# #include
# ^
# ../common/common.h:53:19: error: no include path in which to search for fcntl.h
# #include
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# ../common/common.h:63:20: error: no include path in which to search for endian.h
# #include
# ^
# ../common/common.h:70:23: error: no include path in which to search for sys/types.h
# #include
# ^
# ../common/common.h:83:25: error: no include path in which to search for sys/socket.h
# #include
# ^
# ../common/common.h:84:25: error: no include path in which to search for netinet/in.h
# #include
# ^
# ../common/common.h:85:20: error: no include path in which to search for netdb.h
# #include
# ^
# In file included from ../common/common.h:314:0,
# from ../common/aiccu.h:17,
# from main.c:13:
# ../common/hash_md5.h:59:2: error: unknown type name 'u_int32_t'
# UWORD32 buf[4];
# ^
# ../common/common.h:86:21: error: no include path in which to search for unistd.h
# #include
# ^
# ../common/common.h:87:22: error: no include path in which to search for strings.h
# #include
# ^
# ../common/hash_md5.h:60:2: error: unknown type name 'u_int32_t'
# UWORD32 bytes[2];
# ^
# ../common/common.h:88:21: error: no include path in which to search for syslog.h
# #include
# ^
# ../common/common.h:89:24: error: no include path in which to search for arpa/inet.h
# #include
# ^
# ../common/hash_md5.h:61:2: error: unknown type name 'u_int32_t'
# UWORD32 in[16];
# ^
# In file included from ../common/tun.h:16:0,
# from ../common/tun.c:13:
# ../common/common.h:43:19: error: no include path in which to search for stdio.h
# #include
# ^
# ../common/common.h:90:24: error: no include path in which to search for sys/ioctl.h
# #include
# ^
# ../common/common.h:91:25: error: no include path in which to search for sys/select.h
# #include
# ^
# ../common/common.h:44:19: error: no include path in which to search for errno.h
# #include
# ^
# ../common/common.h:93:21: error: no include path in which to search for net/if.h
# #include
# ^
# ../common/common.h:45:20: error: no include path in which to search for stdarg.h
# #include
# ^
# ../common/common.h:94:31: error: no include path in which to search for netinet/if_ether.h
# #include
# ^
# ../common/common.h:46:20: error: no include path in which to search for stdlib.h
# #include
# ^
# ../common/common.h:47:20: error: no include path in which to search for string.h
# #include
# ^
# ../common/common.h:96:31: error: no include path in which to search for netpacket/packet.h
# #include
# ^
# ../common/common.h:48:19: error: no include path in which to search for ctype.h
# #include
# ^
# ../common/common.h:97:27: error: no include path in which to search for linux/if_tun.h
# #include
# ^
# ../common/hash_md5.h:38:17: error: unknown type name 'u_int32_t'
# #define UWORD32 u_int32_t
# ^
# ../common/hash_md5.h:67:19: note: in expansion of macro 'UWORD32'
# void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
# ^
# ../common/common.h:49:18: error: no include path in which to search for time.h
# #include
# ^
# ../common/common.h:50:20: error: no include path in which to search for signal.h
# #include
# ^
# ../common/common.h:122:25: error: no include path in which to search for netinet/ip.h
# #include
# ^
# ../common/hash_md5.h:38:17: error: unknown type name 'u_int32_t'
# #define UWORD32 u_int32_t
# ^
# ../common/hash_md5.h:67:35: note: in expansion of macro 'UWORD32'
# void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
# ^
# ../common/common.h:51:23: error: no include path in which to search for sys/types.h
# #include
# ^
# ../common/common.h:123:26: error: no include path in which to search for netinet/ip6.h
# #include
# ^
# ../common/common.h:52:22: error: no include path in which to search for sys/stat.h
# #include
# ^
# ../common/common.h:124:28: error: no include path in which to search for netinet/icmp6.h
# #include
# ^
# ../common/common.h:53:19: error: no include path in which to search for fcntl.h
# #include
# ^
# In file included from ../common/common.h:315:0,
# from ../common/aiccu.h:17,
# from main.c:13:
# ../common/hash_sha1.h:39:1: error: unknown type name 'uint32_t'
# typedef uint32_t sha1_quadbyte; /* 4 byte type */
# ^
# ../common/common.h:125:26: error: no include path in which to search for netinet/tcp.h
# #include
# ^
# ../common/common.h:63:20: error: no include path in which to search for endian.h
# #include
# ^
# ../common/common.h:126:26: error: no include path in which to search for netinet/udp.h
# #include
# ^
# ../common/hash_sha1.h:40:1: error: unknown type name 'uint8_t'
# typedef uint8_t sha1_byte; /* single byte type */
# ^
# ../common/common.h:70:23: error: no include path in which to search for sys/types.h
# #include
# ^
# ../common/common.h:127:30: error: no include path in which to search for netinet/ip_icmp.h
# #include
# ^
# ../common/common.h:83:25: error: no include path in which to search for sys/socket.h
# #include
# ^
# ../common/common.h:128:24: error: no include path in which to search for sys/ioctl.h
# #include
# ^
# ../common/common.h:84:25: error: no include path in which to search for netinet/in.h
# #include
# ^
# ../common/common.h:85:20: error: no include path in which to search for netdb.h
# #include
# ^
# ../common/common.h:134:22: error: no include path in which to search for pthread.h
# #include
# ^
# ../common/common.h:86:21: error: no include path in which to search for unistd.h
# #include
# ^
# ../common/common.h:87:22: error: no include path in which to search for strings.h
# #include
# ^
# ../common/common.h:88:21: error: no include path in which to search for syslog.h
# #include
# ^
# ../common/common.h:89:24: error: no include path in which to search for arpa/inet.h
# #include
# ^
# ../common/common.h:90:24: error: no include path in which to search for sys/ioctl.h
# #include
# ^
# In file included from ../common/aiccu.h:17:0,
# from main.c:13:
# ../common/common.h:319:24: error: no include path in which to search for netinet/in.h
# #include
# ^
# ../common/common.h:91:25: error: no include path in which to search for sys/select.h
# #include
# ^
# ../common/common.h:93:21: error: no include path in which to search for net/if.h
# #include
# ^
# ../common/common.h:94:31: error: no include path in which to search for netinet/if_ether.h
# #include
# ^
# ../common/common.h:320:26: error: no include path in which to search for arpa/nameser.h
# #include
# ^
# ../common/common.h:96:31: error: no include path in which to search for netpacket/packet.h
# #include
# ^
# ../common/common.h:97:27: error: no include path in which to search for linux/if_tun.h
# #include
# ^
# ../common/common.h:321:20: error: no include path in which to search for resolv.h
# #include
# ^
# ../common/common.h:122:25: error: no include path in which to search for netinet/ip.h
# #include
# ^
# ../common/common.h:322:19: error: no include path in which to search for netdb.h
# #include
# ^
# ../common/common.h:123:26: error: no include path in which to search for netinet/ip6.h
# #include
# ^
# ../common/common.h:124:28: error: no include path in which to search for netinet/icmp6.h
# #include
# ^
# ../common/common.h:326:27: error: no include path in which to search for gnutls/gnutls.h
# #include
# ^
# ../common/common.h:125:26: error: no include path in which to search for netinet/tcp.h
# #include
# ^
# ../common/common.h:383:2: error: unknown type name 'uint32_t'
# bool tls_active; /* TLS active? */
# ^
# In file included from ../common/common.h:314:0,
# from ../common/aiccu.h:17,
# from ../common/aiccu.c:13:
# ../common/hash_md5.h:59:2: error: unknown type name 'u_int32_t'
# UWORD32 buf[4];
# ^
# ../common/common.h:384:2: error: unknown type name 'gnutls_session'
# gnutls_session session; /* The GnuTLS sesision */
# ^
# ../common/hash_md5.h:60:2: error: unknown type name 'u_int32_t'
# UWORD32 bytes[2];
# ^
# ../common/hash_md5.h:61:2: error: unknown type name 'u_int32_t'
# UWORD32 in[16];
# ^
# ../common/common.h:391:41: error: unknown type name 'va_list'
# void dologA(int level, const char *fmt, va_list ap);
# ^
# ../common/hash_md5.h:38:17: error: unknown type name 'u_int32_t'
# #define UWORD32 u_int32_t
# ^
# ../common/hash_md5.h:67:19: note: in expansion of macro 'UWORD32'
# void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
# ^
# ../common/hash_md5.h:38:17: error: unknown type name 'u_int32_t'
# #define UWORD32 u_int32_t
# ^
# ../common/hash_md5.h:67:35: note: in expansion of macro 'UWORD32'
# void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
# ^
# In file included from ../common/aiccu.h:17:0,
# from main.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:405:1: note: in expansion of macro 'bool'
# bool sock_gotls(TLSSOCKET sock);
# ^
# In file included from ../common/common.h:315:0,
# from ../common/aiccu.h:17,
# from ../common/aiccu.c:13:
# ../common/hash_sha1.h:39:1: error: unknown type name 'uint32_t'
# typedef uint32_t sha1_quadbyte; /* 4 byte type */
# ^
# ../common/hash_sha1.h:40:1: error: unknown type name 'uint8_t'
# typedef uint8_t sha1_byte; /* single byte type */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:410:1: note: in expansion of macro 'bool'
# bool copyfield(char *s, unsigned int n, char *buf, unsigned int buflen);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:411:1: note: in expansion of macro 'bool'
# bool parseline(char *line, const char *split, struct pl_rule *rules, void *data);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:319:24: error: no include path in which to search for netinet/in.h
# #include
# ^
# ../common/common.h:320:26: error: no include path in which to search for arpa/nameser.h
# #include
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:415:1: note: in expansion of macro 'bool'
# bool is_rfc1918(char *ipv4);
# ^
# ../common/common.h:321:20: error: no include path in which to search for resolv.h
# #include
# ^
# ../common/common.h:322:19: error: no include path in which to search for netdb.h
# #include
# ^
# ../common/common.h:326:27: error: no include path in which to search for gnutls/gnutls.h
# #include
# ^
# ../common/common.h:126:26: error: no include path in which to search for netinet/udp.h
# #include
# ^
# In file included from ../common/aiccu.h:18:0,
# from main.c:13:
# ../common/tic.h:60:2: error: unknown type name 'uint32_t'
# uint32_t nHeartbeat_Interval; /* Heartbeat interval */
# ^
# ../common/tic.h:63:2: error: unknown type name 'uint32_t'
# uint32_t uses_tundev; /* Uses Tunnel (tun/tap) device? */
# ^
# ../common/tic.h:64:2: error: unknown type name 'uint32_t'
# uint32_t nIPv6_PrefixLength; /* Length of the prefix's */
# ^
# ../common/common.h:127:30: error: no include path in which to search for netinet/ip_icmp.h
# #include
# ^
# ../common/tic.h:65:2: error: unknown type name 'uint32_t'
# uint32_t nMTU; /* MTU size */
# ^
# ../common/common.h:128:24: error: no include path in which to search for sys/ioctl.h
# #include
# ^
# ../common/common.h:134:22: error: no include path in which to search for pthread.h
# #include
# ^
# ../common/tic.h:82:19: error: field 'xIPv6' has incomplete type
# struct in6_addr xIPv6; /* Prefix */
# ^
# ../common/common.h:383:2: error: unknown type name 'uint32_t'
# bool tls_active; /* TLS active? */
# ^
# ../common/tic.h:83:2: error: unknown type name 'uint32_t'
# uint32_t nPrefixLength; /* Length of the prefix */
# ^
# ../common/tic.h:84:2: error: unknown type name 'uint32_t'
# uint32_t __pad;
# ^
# ../common/common.h:384:2: error: unknown type name 'gnutls_session'
# gnutls_session session; /* The GnuTLS sesision */
# ^
# In file included from ../common/aiccu.h:17:0,
# from main.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/tic.h:123:1: note: in expansion of macro 'bool'
# bool tic_Login(struct TIC_conf *tic, const char *username, const char *password, const char *server);
# ^
# ../common/common.h:391:41: error: unknown type name 'va_list'
# void dologA(int level, const char *fmt, va_list ap);
# ^
# In file included from ../common/aiccu.h:18:0,
# from main.c:13:
# ../common/tic.h:127:19: error: unknown type name 'time_t'
# int tic_checktime(time_t epochtime);
# ^
# In file included from ../common/aiccu.h:19:0,
# from main.c:13:
# ../common/heartbeat.h:26:2: error: unknown type name 'uint32_t'
# uint32_t *address_changed,
# ^
# In file included from ../common/common.h:314:0,
# from ../common/tun.h:16,
# from ../common/tun.c:13:
# ../common/hash_md5.h:59:2: error: unknown type name 'u_int32_t'
# UWORD32 buf[4];
# ^
# In file included from ../common/aiccu.h:17:0,
# from main.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/heartbeat.h:33:88: note: in expansion of macro 'bool'
# int heartbeat_send(SOCKET sockfd, char *sIPv4Local, char *sIPv6Local, char *sPassword, bool bBehindNAT);
# ^
# ../common/hash_md5.h:60:2: error: unknown type name 'u_int32_t'
# UWORD32 bytes[2];
# ^
# ../common/hash_md5.h:61:2: error: unknown type name 'u_int32_t'
# UWORD32 in[16];
# ^
# In file included from ../common/aiccu.h:20:0,
# from main.c:13:
# ../common/ayiya.h:66:2: error: unknown type name 'uint32_t'
# uint32_t ayh_idlen: 4; /* Identity Length */
# ^
# ../common/ayiya.h:67:2: error: unknown type name 'uint32_t'
# uint32_t ayh_idtype: 4; /* Identity Type */
# ^
# ../common/ayiya.h:68:2: error: unknown type name 'uint32_t'
# uint32_t ayh_siglen: 4; /* Signature Length */
# ^
# ../common/hash_md5.h:38:17: error: unknown type name 'u_int32_t'
# #define UWORD32 u_int32_t
# ^
# ../common/hash_md5.h:67:19: note: in expansion of macro 'UWORD32'
# void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
# ^
# ../common/ayiya.h:69:2: error: unknown type name 'uint32_t'
# uint32_t ayh_hshmeth:4; /* Hashing Method */
# ^
# ../common/ayiya.h:70:2: error: unknown type name 'uint32_t'
# uint32_t ayh_autmeth:4; /* Authentication Method */
# ^
# ../common/hash_md5.h:38:17: error: unknown type name 'u_int32_t'
# #define UWORD32 u_int32_t
# ^
# ../common/hash_md5.h:67:35: note: in expansion of macro 'UWORD32'
# void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
# ^
# ../common/ayiya.h:71:2: error: unknown type name 'uint32_t'
# uint32_t ayh_opcode: 4; /* Operation Code */
# ^
# ../common/ayiya.h:72:2: error: unknown type name 'uint32_t'
# uint32_t ayh_nextheader:8; /* Next Header (PROTO_*) */
# ^
# ../common/ayiya.h:84:2: error: unknown type name 'uint32_t'
# uint32_t ayh_epochtime; /* Time in seconds since "00:00:00 1970-01-01 UTC" */
# ^
# In file included from ../common/common.h:315:0,
# from ../common/tun.h:16,
# from ../common/tun.c:13:
# ../common/hash_sha1.h:39:1: error: unknown type name 'uint32_t'
# typedef uint32_t sha1_quadbyte; /* 4 byte type */
# ^
# ../common/hash_sha1.h:40:1: error: unknown type name 'uint8_t'
# typedef uint8_t sha1_byte; /* single byte type */
# ^
# In file included from ../common/aiccu.h:17:0,
# from main.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/ayiya.h:88:1: note: in expansion of macro 'bool'
# bool ayiya(struct TIC_Tunnel *hTunnel);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:405:1: note: in expansion of macro 'bool'
# bool sock_gotls(TLSSOCKET sock);
# ^
# In file included from main.c:13:0:
# ../common/aiccu.h:114:2: error: unknown type name 'gnutls_certificate_credentials'
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# In file included from ../common/tun.h:16:0,
# from ../common/tun.c:13:
# ../common/common.h:319:24: error: no include path in which to search for netinet/in.h
# #include
# ^
# ../common/aiccu.h:117:2: error: unknown type name 'uint32_t'
# bool daemonize; /* Daemonize? */
# ^
# ../common/aiccu.h:118:2: error: unknown type name 'uint32_t'
# bool verbose; /* Verbosity */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:410:1: note: in expansion of macro 'bool'
# bool copyfield(char *s, unsigned int n, char *buf, unsigned int buflen);
# ^
# ../common/aiccu.h:119:2: error: unknown type name 'uint32_t'
# bool running; /* Still running? */
# ^
# ../common/common.h:320:26: error: no include path in which to search for arpa/nameser.h
# #include
# ^
# ../common/aiccu.h:120:2: error: unknown type name 'uint32_t'
# bool tunrunning; /* Is the tundev running? */
# ^
# ../common/aiccu.h:122:2: error: unknown type name 'uint32_t'
# bool automatic; /* Try to be totally automatic? */
# ^
# ../common/aiccu.h:123:2: error: unknown type name 'uint32_t'
# bool behindnat; /* Behind a NAT */
# ^
# ../common/common.h:321:20: error: no include path in which to search for resolv.h
# #include
# ^
# ../common/aiccu.h:124:2: error: unknown type name 'uint32_t'
# bool requiretls; /* Require TLS for TIC? */
# ^
# ../common/aiccu.h:125:2: error: unknown type name 'uint32_t'
# bool makebeats; /* Make heartbeats? */
# ^
# ../common/aiccu.h:126:2: error: unknown type name 'uint32_t'
# bool noconfigure; /* No configuration (used to only send heartbeats) */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:411:1: note: in expansion of macro 'bool'
# bool parseline(char *line, const char *split, struct pl_rule *rules, void *data);
# ^
# ../common/common.h:322:19: error: no include path in which to search for netdb.h
# #include
# ^
# ../common/aiccu.h:127:2: error: unknown type name 'uint32_t'
# bool defaultroute; /* Configure a default route */
# ^
# ../common/common.h:326:27: error: no include path in which to search for gnutls/gnutls.h
# #include
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:415:1: note: in expansion of macro 'bool'
# bool is_rfc1918(char *ipv4);
# ^
# In file included from ../common/aiccu.h:17:0,
# from main.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:134:1: note: in expansion of macro 'bool'
# bool aiccu_InitConfig(void);
# ^
# ../common/common.h:383:2: error: unknown type name 'uint32_t'
# bool tls_active; /* TLS active? */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:135:1: note: in expansion of macro 'bool'
# bool aiccu_LoadConfig(const char *filename);
# ^
# ../common/common.h:384:2: error: unknown type name 'gnutls_session'
# gnutls_session session; /* The GnuTLS sesision */
# ^
# In file included from ../common/aiccu.h:18:0,
# from ../common/aiccu.c:13:
# ../common/tic.h:60:2: error: unknown type name 'uint32_t'
# uint32_t nHeartbeat_Interval; /* Heartbeat interval */
# ^
# ../common/tic.h:63:2: error: unknown type name 'uint32_t'
# uint32_t uses_tundev; /* Uses Tunnel (tun/tap) device? */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:136:1: note: in expansion of macro 'bool'
# bool aiccu_SaveConfig(const char *filename);
# ^
# ../common/tic.h:64:2: error: unknown type name 'uint32_t'
# uint32_t nIPv6_PrefixLength; /* Length of the prefix's */
# ^
# ../common/tic.h:65:2: error: unknown type name 'uint32_t'
# uint32_t nMTU; /* MTU size */
# ^
# ../common/common.h:391:41: error: unknown type name 'va_list'
# void dologA(int level, const char *fmt, va_list ap);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:140:1: note: in expansion of macro 'bool'
# bool aiccu_setup(struct TIC_Tunnel *hTunnel, bool firstrun);
# ^
# ../common/tic.h:82:19: error: field 'xIPv6' has incomplete type
# struct in6_addr xIPv6; /* Prefix */
# ^
# ../common/tic.h:83:2: error: unknown type name 'uint32_t'
# uint32_t nPrefixLength; /* Length of the prefix */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:140:46: note: in expansion of macro 'bool'
# bool aiccu_setup(struct TIC_Tunnel *hTunnel, bool firstrun);
# ^
# ../common/tic.h:84:2: error: unknown type name 'uint32_t'
# uint32_t __pad;
# ^
# In file included from ../common/tun.h:16:0,
# from ../common/tun.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:405:1: note: in expansion of macro 'bool'
# bool sock_gotls(TLSSOCKET sock);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:144:45: note: in expansion of macro 'bool'
# void aiccu_test(struct TIC_Tunnel *hTunnel, bool automatic);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:145:1: note: in expansion of macro 'bool'
# bool aiccu_exec(const char *fmt, ...);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/tic.h:123:1: note: in expansion of macro 'bool'
# bool tic_Login(struct TIC_conf *tic, const char *username, const char *password, const char *server);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:149:1: note: in expansion of macro 'bool'
# bool aiccu_os_install(void);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:410:1: note: in expansion of macro 'bool'
# bool copyfield(char *s, unsigned int n, char *buf, unsigned int buflen);
# ^
# In file included from ../common/aiccu.h:18:0,
# from ../common/aiccu.c:13:
# ../common/tic.h:127:19: error: unknown type name 'time_t'
# int tic_checktime(time_t epochtime);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:150:1: note: in expansion of macro 'bool'
# bool aiccu_os_setup(struct TIC_Tunnel *hTunnel);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:411:1: note: in expansion of macro 'bool'
# bool parseline(char *line, const char *split, struct pl_rule *rules, void *data);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:153:48: note: in expansion of macro 'bool'
# void aiccu_os_test(struct TIC_Tunnel *hTunnel, bool automatic);
# ^
# In file included from ../common/aiccu.h:19:0,
# from ../common/aiccu.c:13:
# ../common/heartbeat.h:26:2: error: unknown type name 'uint32_t'
# uint32_t *address_changed,
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/heartbeat.h:33:88: note: in expansion of macro 'bool'
# int heartbeat_send(SOCKET sockfd, char *sIPv4Local, char *sIPv6Local, char *sPassword, bool bBehindNAT);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/tun.h:42:1: note: in expansion of macro 'bool'
# bool tun_start(struct tun_reader *tun);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:415:1: note: in expansion of macro 'bool'
# bool is_rfc1918(char *ipv4);
# ^
# main.c: In function 'sigusr1':
# main.c:25:2: warning: implicit declaration of function 'signal' [-Wimplicit-function-declaration]
# signal(i, &sigusr1);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/tun.h:42:1: note: in expansion of macro 'bool'
# bool tun_start(struct tun_reader *tun);
# ^
# main.c:25:2: warning: nested extern declaration of 'signal' [-Wnested-externs]
# In file included from ../common/aiccu.h:20:0,
# from ../common/aiccu.c:13:
# ../common/ayiya.h:66:2: error: unknown type name 'uint32_t'
# uint32_t ayh_idlen: 4; /* Identity Length */
# ^
# ../common/ayiya.h:67:2: error: unknown type name 'uint32_t'
# uint32_t ayh_idtype: 4; /* Identity Type */
# ^
# ../common/ayiya.h:68:2: error: unknown type name 'uint32_t'
# uint32_t ayh_siglen: 4; /* Signature Length */
# ^
# main.c: In function 'sigterm':
# main.c:32:12: error: 'SIG_IGN' undeclared (first use in this function)
# signal(i, SIG_IGN);
# ^
# ../common/ayiya.h:69:2: error: unknown type name 'uint32_t'
# uint32_t ayh_hshmeth:4; /* Hashing Method */
# ^
# main.c:32:12: note: each undeclared identifier is reported only once for each function it appears in
# In file included from ../common/aiccu.h:18:0,
# from ../common/tun.c:14:
# ../common/tic.h:60:2: error: unknown type name 'uint32_t'
# uint32_t nHeartbeat_Interval; /* Heartbeat interval */
# ^
# ../common/ayiya.h:70:2: error: unknown type name 'uint32_t'
# uint32_t ayh_autmeth:4; /* Authentication Method */
# ^
# ../common/tic.h:63:2: error: unknown type name 'uint32_t'
# uint32_t uses_tundev; /* Uses Tunnel (tun/tap) device? */
# ^
# ../common/ayiya.h:71:2: error: unknown type name 'uint32_t'
# uint32_t ayh_opcode: 4; /* Operation Code */
# ^
# main.c: In function 'sigrunning':
# ../common/tic.h:64:2: error: unknown type name 'uint32_t'
# uint32_t nIPv6_PrefixLength; /* Length of the prefix's */
# ^
# ../common/ayiya.h:72:2: error: unknown type name 'uint32_t'
# uint32_t ayh_nextheader:8; /* Next Header (PROTO_*) */
# ^
# main.c:39:2: error: unknown type name 'FILE'
# FILE *f;
# ^
# ../common/tic.h:65:2: error: unknown type name 'uint32_t'
# uint32_t nMTU; /* MTU size */
# ^
# ../common/ayiya.h:84:2: error: unknown type name 'uint32_t'
# uint32_t ayh_epochtime; /* Time in seconds since "00:00:00 1970-01-01 UTC" */
# ^
# main.c:44:2: warning: implicit declaration of function 'fopen' [-Wimplicit-function-declaration]
# f = fopen(g_aiccu->pidfile, "r");
# ^
# main.c:44:2: warning: nested extern declaration of 'fopen' [-Wnested-externs]
# ../common/tic.h:82:19: error: field 'xIPv6' has incomplete type
# struct in6_addr xIPv6; /* Prefix */
# ^
# main.c:44:4: warning: assignment makes pointer from integer without a cast [enabled by default]
# f = fopen(g_aiccu->pidfile, "r");
# ^
# ../common/tic.h:83:2: error: unknown type name 'uint32_t'
# uint32_t nPrefixLength; /* Length of the prefix */
# ^
# ../common/tic.h:84:2: error: unknown type name 'uint32_t'
# uint32_t __pad;
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/ayiya.h:88:1: note: in expansion of macro 'bool'
# bool ayiya(struct TIC_Tunnel *hTunnel);
# ^
# main.c:48:2: warning: implicit declaration of function 'fscanf' [-Wimplicit-function-declaration]
# if (fscanf(f, "%d", &pid) != 1) pid = -1;
# ^
# main.c:48:6: warning: incompatible implicit declaration of built-in function 'fscanf' [enabled by default]
# if (fscanf(f, "%d", &pid) != 1) pid = -1;
# ^
# main.c:51:2: warning: implicit declaration of function 'fclose' [-Wimplicit-function-declaration]
# fclose(f);
# ^
# main.c:51:2: warning: nested extern declaration of 'fclose' [-Wnested-externs]
# In file included from ../common/tun.h:16:0,
# from ../common/tun.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/tic.h:123:1: note: in expansion of macro 'bool'
# bool tic_Login(struct TIC_conf *tic, const char *username, const char *password, const char *server);
# ^
# main.c:54:2: warning: implicit declaration of function 'kill' [-Wimplicit-function-declaration]
# return (pid > 0 && kill(pid, sig) == 0 ? 1 : 0);
# ^
# main.c:54:2: warning: nested extern declaration of 'kill' [-Wnested-externs]
# In file included from ../common/aiccu.h:18:0,
# from ../common/tun.c:14:
# ../common/tic.h:127:19: error: unknown type name 'time_t'
# int tic_checktime(time_t epochtime);
# ^
# In file included from ../common/aiccu.c:13:0:
# ../common/aiccu.h:114:2: error: unknown type name 'gnutls_certificate_credentials'
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# ../common/aiccu.h:117:2: error: unknown type name 'uint32_t'
# bool daemonize; /* Daemonize? */
# ^
# ../common/aiccu.h:118:2: error: unknown type name 'uint32_t'
# bool verbose; /* Verbosity */
# ^
# ../common/aiccu.h:119:2: error: unknown type name 'uint32_t'
# bool running; /* Still running? */
# ^
# ../common/aiccu.h:120:2: error: unknown type name 'uint32_t'
# bool tunrunning; /* Is the tundev running? */
# ^
# In file included from ../common/aiccu.h:19:0,
# from ../common/tun.c:14:
# ../common/heartbeat.h:26:2: error: unknown type name 'uint32_t'
# uint32_t *address_changed,
# ^
# main.c: In function 'list_tunnels':
# ../common/aiccu.h:122:2: error: unknown type name 'uint32_t'
# bool automatic; /* Try to be totally automatic? */
# ^
# ../common/aiccu.h:123:2: error: unknown type name 'uint32_t'
# bool behindnat; /* Behind a NAT */
# ^
# main.c:92:3: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
# printf("%s %s %s %s\n", t->sId, t->sIPv6, t->sIPv4, t->sPOPId);
# ^
# main.c:92:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# ../common/aiccu.h:124:2: error: unknown type name 'uint32_t'
# bool requiretls; /* Require TLS for TIC? */
# ^
# ../common/aiccu.h:125:2: error: unknown type name 'uint32_t'
# bool makebeats; /* Make heartbeats? */
# ^
# In file included from ../common/tun.h:16:0,
# from ../common/tun.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/heartbeat.h:33:88: note: in expansion of macro 'bool'
# int heartbeat_send(SOCKET sockfd, char *sIPv4Local, char *sIPv6Local, char *sPassword, bool bBehindNAT);
# ^
# ../common/aiccu.h:126:2: error: unknown type name 'uint32_t'
# bool noconfigure; /* No configuration (used to only send heartbeats) */
# ^
# ../common/aiccu.h:127:2: error: unknown type name 'uint32_t'
# bool defaultroute; /* Configure a default route */
# ^
# main.c: At top level:
# main.c:103:1: error: unknown type name 'uint32_t'
# static bool foundsixxs = false;
# ^
# In file included from ../common/aiccu.h:20:0,
# from ../common/tun.c:14:
# ../common/ayiya.h:66:2: error: unknown type name 'uint32_t'
# uint32_t ayh_idlen: 4; /* Identity Length */
# ^
# main.c: In function 'gotrr':
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:134:1: note: in expansion of macro 'bool'
# bool aiccu_InitConfig(void);
# ^
# ../common/ayiya.h:67:2: error: unknown type name 'uint32_t'
# uint32_t ayh_idtype: 4; /* Identity Type */
# ^
# main.c:109:14: error: 'T_TXT' undeclared (first use in this function)
# if (type != T_TXT || record[0] == '#') return;
# ^
# ../common/ayiya.h:68:2: error: unknown type name 'uint32_t'
# uint32_t ayh_siglen: 4; /* Signature Length */
# ^
# ../common/ayiya.h:69:2: error: unknown type name 'uint32_t'
# uint32_t ayh_hshmeth:4; /* Hashing Method */
# ^
# ../common/ayiya.h:70:2: error: unknown type name 'uint32_t'
# uint32_t ayh_autmeth:4; /* Authentication Method */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:135:1: note: in expansion of macro 'bool'
# bool aiccu_LoadConfig(const char *filename);
# ^
# main.c:111:42: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# if (num != prevnum && prevnum != 54321) printf("\n");
# ^
# ../common/ayiya.h:71:2: error: unknown type name 'uint32_t'
# uint32_t ayh_opcode: 4; /* Operation Code */
# ^
# ../common/ayiya.h:72:2: error: unknown type name 'uint32_t'
# uint32_t ayh_nextheader:8; /* Next Header (PROTO_*) */
# ^
# ../common/ayiya.h:84:2: error: unknown type name 'uint32_t'
# uint32_t ayh_epochtime; /* Time in seconds since "00:00:00 1970-01-01 UTC" */
# ^
# main.c:120:2: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration]
# if (strcmp(record, "SixXS") == 0) foundsixxs = true;
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:136:1: note: in expansion of macro 'bool'
# bool aiccu_SaveConfig(const char *filename);
# ^
# In file included from ../common/tun.h:16:0,
# from ../common/tun.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/ayiya.h:88:1: note: in expansion of macro 'bool'
# bool ayiya(struct TIC_Tunnel *hTunnel);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:140:1: note: in expansion of macro 'bool'
# bool aiccu_setup(struct TIC_Tunnel *hTunnel, bool firstrun);
# ^
# main.c: In function 'list_brokers':
# main.c:129:19: error: 'T_TXT' undeclared (first use in this function)
# getrrs("_aiccu", T_TXT, gotrr);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:140:46: note: in expansion of macro 'bool'
# bool aiccu_setup(struct TIC_Tunnel *hTunnel, bool firstrun);
# ^
# main.c:132:2: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("\n");
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:144:45: note: in expansion of macro 'bool'
# void aiccu_test(struct TIC_Tunnel *hTunnel, bool automatic);
# ^
# main.c:139:3: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
# fprintf(stderr, "Warning: Couldn't find global Tunnel Brokers List, please check your DNS settings and read the FAQ.\n");
# ^
# main.c:139:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# In file included from ../common/tun.c:14:0:
# ../common/aiccu.h:114:2: error: unknown type name 'gnutls_certificate_credentials'
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# main.c:139:11: error: 'stderr' undeclared (first use in this function)
# fprintf(stderr, "Warning: Couldn't find global Tunnel Brokers List, please check your DNS settings and read the FAQ.\n");
# ^
# ../common/aiccu.h:117:2: error: unknown type name 'uint32_t'
# bool daemonize; /* Daemonize? */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:145:1: note: in expansion of macro 'bool'
# bool aiccu_exec(const char *fmt, ...);
# ^
# ../common/aiccu.h:118:2: error: unknown type name 'uint32_t'
# bool verbose; /* Verbosity */
# ^
# ../common/aiccu.h:119:2: error: unknown type name 'uint32_t'
# bool running; /* Still running? */
# ^
# main.c: In function 'get_tunnel':
# ../common/aiccu.h:120:2: error: unknown type name 'uint32_t'
# bool tunrunning; /* Is the tundev running? */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:149:1: note: in expansion of macro 'bool'
# bool aiccu_os_install(void);
# ^
# ../common/aiccu.h:122:2: error: unknown type name 'uint32_t'
# bool automatic; /* Try to be totally automatic? */
# ^
# main.c:158:94: error: 'NULL' undeclared (first use in this function)
# if (!tic_Login(g_aiccu->tic, g_aiccu->username, g_aiccu->password, g_aiccu->server)) return NULL;
# ^
# ../common/aiccu.h:123:2: error: unknown type name 'uint32_t'
# bool behindnat; /* Behind a NAT */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:150:1: note: in expansion of macro 'bool'
# bool aiccu_os_setup(struct TIC_Tunnel *hTunnel);
# ^
# ../common/aiccu.h:124:2: error: unknown type name 'uint32_t'
# bool requiretls; /* Require TLS for TIC? */
# ^
# main.c:169:10: error: 'LOG_ERR' undeclared (first use in this function)
# dolog(LOG_ERR, "No tunnel available, request one first\n");
# ^
# ../common/aiccu.h:125:2: error: unknown type name 'uint32_t'
# bool makebeats; /* Make heartbeats? */
# ^
# ../common/aiccu.h:126:2: error: unknown type name 'uint32_t'
# bool noconfigure; /* No configuration (used to only send heartbeats) */
# ^
# ../common/aiccu.h:127:2: error: unknown type name 'uint32_t'
# bool defaultroute; /* Configure a default route */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:153:48: note: in expansion of macro 'bool'
# void aiccu_os_test(struct TIC_Tunnel *hTunnel, bool automatic);
# ^
# ../common/aiccu.c:15:30: error: 'NULL' undeclared here (not in a function)
# struct AICCU_conf *g_aiccu = NULL;
# ^
# main.c:186:3: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration]
# g_aiccu->tunnel_id = strdup(hsTunnel->sId);
# ^
# In file included from ../common/tun.h:16:0,
# from ../common/tun.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:134:1: note: in expansion of macro 'bool'
# bool aiccu_InitConfig(void);
# ^
# main.c:186:24: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
# g_aiccu->tunnel_id = strdup(hsTunnel->sId);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:310:34: error: 'size_t' undeclared here (not in a function)
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# ../common/aiccu.c:21:29: note: in expansion of macro 'offsetof'
# {"username", PLRT_STRING, offsetof(struct AICCU_conf, username)},
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:135:1: note: in expansion of macro 'bool'
# bool aiccu_LoadConfig(const char *filename);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:136:1: note: in expansion of macro 'bool'
# bool aiccu_SaveConfig(const char *filename);
# ^
# ../common/aiccu.c:21:45: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"username", PLRT_STRING, offsetof(struct AICCU_conf, username)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:140:1: note: in expansion of macro 'bool'
# bool aiccu_setup(struct TIC_Tunnel *hTunnel, bool firstrun);
# ^
# main.c: In function 'main':
# main.c:251:8: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]
# if (strcasecmp(argv[1], "start") == 0) mode = A_START;
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:140:46: note: in expansion of macro 'bool'
# bool aiccu_setup(struct TIC_Tunnel *hTunnel, bool firstrun);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:22:45: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"password", PLRT_STRING, offsetof(struct AICCU_conf, password)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:144:45: note: in expansion of macro 'bool'
# void aiccu_test(struct TIC_Tunnel *hTunnel, bool automatic);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:23:45: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"protocol", PLRT_STRING, offsetof(struct AICCU_conf, protocol)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:145:1: note: in expansion of macro 'bool'
# bool aiccu_exec(const char *fmt, ...);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:149:1: note: in expansion of macro 'bool'
# bool aiccu_os_install(void);
# ^
# main.c:269:9: error: 'LOG_ERR' undeclared (first use in this function)
# dolog(LOG_ERR, "%s", options);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:24:43: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"server", PLRT_STRING, offsetof(struct AICCU_conf, server)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:150:1: note: in expansion of macro 'bool'
# bool aiccu_os_setup(struct TIC_Tunnel *hTunnel);
# ^
# main.c:275:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("%s\n", aiccu_license());
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:153:48: note: in expansion of macro 'bool'
# void aiccu_os_test(struct TIC_Tunnel *hTunnel, bool automatic);
# ^
# main.c:281:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("AICCU %s by Jeroen Massar\n", AICCU_VERSION);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:25:50: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"ipv6_interface", PLRT_STRING, offsetof(struct AICCU_conf, ipv6_interface)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# ../common/tun.c: In function 'tun_log':
# ../common/tun.c:55:2: error: unknown type name 'va_list'
# va_list ap;
# ^
# main.c:300:36: error: 'NULL' undeclared (first use in this function)
# if (!aiccu_LoadConfig(argc <= 2 ? NULL : argv[2]))
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:26:46: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"tunnel_id", PLRT_STRING, offsetof(struct AICCU_conf, tunnel_id)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# ../common/tun.c:58:9: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
# memset(buf, 0, sizeof(buf));
# ^
# ../common/tun.c:58:9: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# ../common/tun.c:60:2: warning: implicit declaration of function 'snprintf' [-Wimplicit-function-declaration]
# snprintf(buf, sizeof(buf), "[tun-%s] ", what);
# ^
# main.c:311:35: error: 'SIGTERM' undeclared (first use in this function)
# if (sigrunning(mode == A_STOP ? SIGTERM : 0) == 1)
# ^
# ../common/tun.c:60:2: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default]
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:27:55: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"local_ipv4_override", PLRT_STRING, offsetof(struct AICCU_conf, local_ipv4_override)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# ../common/tun.c:63:2: warning: implicit declaration of function 'va_start' [-Wimplicit-function-declaration]
# va_start(ap, fmt);
# ^
# ../common/tun.c:63:2: warning: nested extern declaration of 'va_start' [-Wnested-externs]
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# ../common/tun.c:64:2: warning: implicit declaration of function 'vsnprintf' [-Wimplicit-function-declaration]
# vsnprintf(buf+strlen(buf), sizeof(buf)-strlen(buf), fmt, ap);
# ^
# ../common/tun.c:64:2: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
# ../common/tun.c:64:16: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default]
# vsnprintf(buf+strlen(buf), sizeof(buf)-strlen(buf), fmt, ap);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:30:48: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"setupscript", PLRT_STRING, offsetof(struct AICCU_conf, setupscript)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# main.c:353:3: warning: incompatible implicit declaration of built-in function 'printf' [enabled by default]
# printf("Tunnel Information for %s:\n",hTunnel->sId);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# ../common/tun.c:65:2: warning: implicit declaration of function 'va_end' [-Wimplicit-function-declaration]
# va_end(ap);
# ^
# ../common/tun.c:65:2: warning: nested extern declaration of 'va_end' [-Wnested-externs]
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:33:44: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"automatic", PLRT_BOOL, offsetof(struct AICCU_conf, automatic)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:36:44: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"daemonize", PLRT_BOOL, offsetof(struct AICCU_conf, daemonize)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# ../common/tun.c: In function 'tun_reader':
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# ../common/tun.c:178:2: error: unknown type name 'ssize_t'
# ssize_t n;
# ^
# main.c:388:3: warning: implicit declaration of function 'aiccu_setup' [-Wimplicit-function-declaration]
# if (aiccu_setup(hTunnel, true))
# ^
# main.c:388:3: warning: nested extern declaration of 'aiccu_setup' [-Wnested-externs]
# ../common/tun.c:185:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration]
# n = read(tun_fd, buf, sizeof(buf));
# ^
# ../common/tun.c:185:3: warning: nested extern declaration of 'read' [-Wnested-externs]
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:37:42: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"verbose", PLRT_BOOL, offsetof(struct AICCU_conf, verbose)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# ../common/tun.c:189:37: error: 'LOG_ERR' undeclared (first use in this function)
# if (g_aiccu->tunrunning) tun_log(LOG_ERR, reader_name, "Read error on Tun Device: %s (%d)\n", strerror(errno), errno);
# ^
# main.c:390:4: warning: implicit declaration of function 'aiccu_test' [-Wimplicit-function-declaration]
# aiccu_test(hTunnel, strcasecmp(argv[1], "autotest") == 0 ? true : false);
# ^
# ../common/tun.c:189:37: note: each undeclared identifier is reported only once for each function it appears in
# main.c:390:4: warning: nested extern declaration of 'aiccu_test' [-Wnested-externs]
# ../common/tun.c:189:4: warning: implicit declaration of function 'strerror' [-Wimplicit-function-declaration]
# if (g_aiccu->tunrunning) tun_log(LOG_ERR, reader_name, "Read error on Tun Device: %s (%d)\n", strerror(errno), errno);
# ^
# ../common/tun.c:189:4: warning: nested extern declaration of 'strerror' [-Wnested-externs]
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:38:44: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"behindnat", PLRT_BOOL, offsetof(struct AICCU_conf, behindnat)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# ../common/tun.c:189:107: error: 'errno' undeclared (first use in this function)
# if (g_aiccu->tunrunning) tun_log(LOG_ERR, reader_name, "Read error on Tun Device: %s (%d)\n", strerror(errno), errno);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# ../common/tun.c:195:3: warning: implicit declaration of function 'memmove' [-Wimplicit-function-declaration]
# memmove(&buf, &buf[4], n-4);
# ^
# ../common/tun.c:195:3: warning: incompatible implicit declaration of built-in function 'memmove' [enabled by default]
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:39:45: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"requiretls", PLRT_BOOL, offsetof(struct AICCU_conf, requiretls)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# main.c:410:3: error: unknown type name 'FILE'
# FILE *f;
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:40:46: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"noconfigure", PLRT_BOOL, offsetof(struct AICCU_conf, noconfigure)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# ../common/tun.c:275:9: error: 'NULL' undeclared (first use in this function)
# return NULL;
# ^
# main.c:413:3: warning: implicit declaration of function 'fork' [-Wimplicit-function-declaration]
# int i = fork();
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# cc1: error: no include path in which to search for stdc-predef.h
# ../common/tun.c: In function 'tun_write':
# ../common/tun.c:287:15: error: array type has incomplete element type
# struct iovec dat[2];
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:41:44: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"makebeats", PLRT_BOOL, offsetof(struct AICCU_conf, makebeats)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# main.c:416:4: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(stderr, "Couldn't fork\n");
# ^
# ../common/tun.c:288:18: error: storage size of 'pi' isn't known
# struct tun_pi pi;
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# main.c:416:12: error: 'stderr' undeclared (first use in this function)
# fprintf(stderr, "Couldn't fork\n");
# ^
# ../common/tun.c:289:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# memset(&pi, 0, sizeof(pi));
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:42:46: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"defaultroute", PLRT_BOOL, offsetof(struct AICCU_conf, defaultroute)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# ../common/tun.c:291:2: warning: implicit declaration of function 'htons' [-Wimplicit-function-declaration]
# pi.proto = htons(ETH_P_IPV6);
# ^
# ../common/tun.c:291:2: warning: nested extern declaration of 'htons' [-Wnested-externs]
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# ../common/tun.c:291:19: error: 'ETH_P_IPV6' undeclared (first use in this function)
# pi.proto = htons(ETH_P_IPV6);
# ^
# main.c:423:3: warning: implicit declaration of function 'setsid' [-Wimplicit-function-declaration]
# setsid();
# ^
# main.c:423:3: warning: nested extern declaration of 'setsid' [-Wnested-externs]
# ../common/tun.c:301:2: warning: implicit declaration of function 'writev' [-Wimplicit-function-declaration]
# c = writev(tun_fd, dat, 2);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c:43:44: warning: missing initializer for field 'offset' of 'struct pl_rule' [-Wmissing-field-initializers]
# {"pidfile", PLRT_STRING, offsetof(struct AICCU_conf, pidfile)},
# ^
# ../common/common.h:310:45: note: in definition of macro 'offsetof'
# #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
# ^
# ../common/tun.c:301:2: warning: nested extern declaration of 'writev' [-Wnested-externs]
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:375:16: note: 'offset' declared here
# unsigned int offset;
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/hash_md5.c:23:
# ../common/common.h:43:19: error: no include path in which to search for stdio.h
# #include
# ^
# main.c:426:3: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration]
# (void)chdir("/");
# ^
# ../common/common.h:44:19: error: no include path in which to search for errno.h
# #include
# ^
# ../common/tun.c:322:11: error: 'LOG_ERR' undeclared (first use in this function)
# tun_log(LOG_ERR, writer_name, "Error while writing to TUN: %u != %u\n", c, length);
# ^
# main.c:426:3: warning: nested extern declaration of 'chdir' [-Wnested-externs]
# ../common/common.h:45:20: error: no include path in which to search for stdarg.h
# #include
# ^
# ../common/common.h:46:20: error: no include path in which to search for stdlib.h
# #include
# ^
# ../common/common.h:47:20: error: no include path in which to search for string.h
# #include
# ^
# ../common/tun.c:288:18: warning: unused variable 'pi' [-Wunused-variable]
# struct tun_pi pi;
# ^
# ../common/common.h:48:19: error: no include path in which to search for ctype.h
# #include
# ^
# main.c:429:3: warning: implicit declaration of function 'freopen' [-Wimplicit-function-declaration]
# freopen("/dev/null","r",stdin);
# ^
# main.c:429:3: warning: nested extern declaration of 'freopen' [-Wnested-externs]
# ../common/common.h:49:18: error: no include path in which to search for time.h
# #include
# ^
# ../common/tun.c:287:15: warning: unused variable 'dat' [-Wunused-variable]
# struct iovec dat[2];
# ^
# ../common/common.h:50:20: error: no include path in which to search for signal.h
# #include
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.c:55:1: note: in expansion of macro 'bool'
# bool aiccu_InitConfig()
# ^
# ../common/common.h:51:23: error: no include path in which to search for sys/types.h
# #include
# ^
# ../common/common.h:52:22: error: no include path in which to search for sys/stat.h
# #include
# ^
# ../common/aiccu.c: In function 'aiccu_InitConfig':
# main.c:429:27: error: 'stdin' undeclared (first use in this function)
# freopen("/dev/null","r",stdin);
# ^
# ../common/common.h:53:19: error: no include path in which to search for fcntl.h
# #include
# ^
# ../common/aiccu.c:62:20: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
# g_aiccu = (struct AICCU_conf *)malloc(sizeof(*g_aiccu));
# ^
# ../common/aiccu.c:62:33: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
# g_aiccu = (struct AICCU_conf *)malloc(sizeof(*g_aiccu));
# ^
# ../common/common.h:63:20: error: no include path in which to search for endian.h
# #include
# ^
# main.c:430:27: error: 'stdout' undeclared (first use in this function)
# freopen("/dev/null","w",stdout);
# ^
# ../common/common.h:70:23: error: no include path in which to search for sys/types.h
# #include
# ^
# ../common/aiccu.c:64:2: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
# memset(g_aiccu, 0, sizeof(*g_aiccu));
# ^
# ../common/aiccu.c:64:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# ../common/common.h:83:25: error: no include path in which to search for sys/socket.h
# #include
# ^
# ../common/common.h:84:25: error: no include path in which to search for netinet/in.h
# #include
# ^
# In file included from ../common/tun.h:16:0,
# from ../common/tun.c:13:
# ../common/tun.c: At top level:
# main.c:434:5: warning: assignment makes pointer from integer without a cast [enabled by default]
# f = fopen(g_aiccu->pidfile, "w");
# ^
# ../common/common.h:85:20: error: no include path in which to search for netdb.h
# #include
# ^
# ../common/common.h:86:21: error: no include path in which to search for unistd.h
# #include
# ^
# ../common/aiccu.c:77:2: warning: implicit declaration of function 'strdup' [-Wimplicit-function-declaration]
# g_aiccu->ipv6_interface = strdup("aiccu");
# ^
# ../common/aiccu.c:77:28: warning: incompatible implicit declaration of built-in function 'strdup' [enabled by default]
# g_aiccu->ipv6_interface = strdup("aiccu");
# ^
# ../common/common.h:87:22: error: no include path in which to search for strings.h
# #include
# ^
# ../common/common.h:88:21: error: no include path in which to search for syslog.h
# #include
# ^
# main.c:441:3: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# fprintf(f, "%d", getpid());
# ^
# main.c:441:3: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration]
# main.c:441:3: warning: nested extern declaration of 'getpid' [-Wnested-externs]
# ../common/common.h:89:24: error: no include path in which to search for arpa/inet.h
# #include
# ^
# ../common/common.h:90:24: error: no include path in which to search for sys/ioctl.h
# #include
# ^
# ../common/common.h:91:25: error: no include path in which to search for sys/select.h
# #include
# ^
# ../common/aiccu.c:88:2: warning: implicit declaration of function 'gnutls_global_init' [-Wimplicit-function-declaration]
# ret = gnutls_global_init();
# ^
# main.c:444:9: error: 'LOG_INFO' undeclared (first use in this function)
# dolog(LOG_INFO, "AICCU running as PID %d\n", getpid());
# ^
# ../common/aiccu.c:88:2: warning: nested extern declaration of 'gnutls_global_init' [-Wnested-externs]
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/tun.c:690:1: note: in expansion of macro 'bool'
# bool tun_start(struct tun_reader *tun)
# ^
# ../common/common.h:93:21: error: no include path in which to search for net/if.h
# #include
# ^
# ../common/aiccu.c:91:9: error: 'LOG_ERR' undeclared (first use in this function)
# dolog(LOG_ERR, "GNUTLS failed to initialize: %s (%d)\n", gnutls_strerror(ret), ret);
# ^
# ../common/common.h:94:31: error: no include path in which to search for netinet/if_ether.h
# #include
# ^
# ../common/aiccu.c:91:9: note: each undeclared identifier is reported only once for each function it appears in
# ../common/tun.c: In function 'tun_start':
# main.c:456:9: error: 'SIGUSR1' undeclared (first use in this function)
# signal(SIGUSR1, &sigusr1);
# ^
# ../common/common.h:96:31: error: no include path in which to search for netpacket/packet.h
# #include
# ^
# ../common/aiccu.c:91:3: warning: implicit declaration of function 'gnutls_strerror' [-Wimplicit-function-declaration]
# dolog(LOG_ERR, "GNUTLS failed to initialize: %s (%d)\n", gnutls_strerror(ret), ret);
# ^
# ../common/aiccu.c:91:3: warning: nested extern declaration of 'gnutls_strerror' [-Wnested-externs]
# ../common/aiccu.c:91:3: warning: passing argument 1 of 'dolog' makes integer from pointer without a cast [enabled by default]
# ../common/common.h:97:27: error: no include path in which to search for linux/if_tun.h
# #include
# ^
# main.c:463:9: error: 'SIGINT' undeclared (first use in this function)
# signal(SIGINT, &sigterm);
# ^
# ../common/common.h:122:25: error: no include path in which to search for netinet/ip.h
# #include
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:392:6: note: expected 'int' but argument is of type 'struct pl_rule *'
# void dolog(int level, const char *fmt, ...);
# ^
# ../common/tun.c:693:2: error: unknown type name 'pthread_t'
# pthread_t thread;
# ^
# ../common/common.h:123:26: error: no include path in which to search for netinet/ip6.h
# #include
# ^
# ../common/aiccu.c:96:2: warning: implicit declaration of function 'gnutls_certificate_allocate_credentials' [-Wimplicit-function-declaration]
# ret = gnutls_certificate_allocate_credentials(&g_aiccu->tls_cred);
# ^
# ../common/aiccu.c:96:2: warning: nested extern declaration of 'gnutls_certificate_allocate_credentials' [-Wnested-externs]
# ../common/common.h:124:28: error: no include path in which to search for netinet/icmp6.h
# #include
# ^
# main.c:483:5: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration]
# sleep(hTunnel->nHeartbeat_Interval);
# ^
# main.c:483:5: warning: nested extern declaration of 'sleep' [-Wnested-externs]
# ../common/common.h:125:26: error: no include path in which to search for netinet/tcp.h
# #include
# ^
# ../common/aiccu.c:99:3: warning: passing argument 1 of 'dolog' makes integer from pointer without a cast [enabled by default]
# dolog(LOG_ERR, "GNUTLS failed to initialize: %s (%d)\n", gnutls_strerror(ret), ret);
# ^
# ../common/common.h:126:26: error: no include path in which to search for netinet/udp.h
# #include
# ^
# ../common/tun.c:695:16: error: storage size of 'ifr' isn't known
# struct ifreq ifr;
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:392:6: note: expected 'int' but argument is of type 'struct pl_rule *'
# void dolog(int level, const char *fmt, ...);
# ^
# ../common/common.h:127:30: error: no include path in which to search for netinet/ip_icmp.h
# #include
# ^
# main.c:495:3: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration]
# if (g_aiccu) unlink(g_aiccu->pidfile);
# ^
# ../common/common.h:128:24: error: no include path in which to search for sys/ioctl.h
# #include
# ^
# main.c:495:3: warning: nested extern declaration of 'unlink' [-Wnested-externs]
# ../common/aiccu.c:116:2: warning: implicit declaration of function 'gnutls_global_set_log_function' [-Wimplicit-function-declaration]
# gnutls_global_set_log_function(aiccu_tls_log);
# ^
# ../common/aiccu.c:116:2: warning: nested extern declaration of 'gnutls_global_set_log_function' [-Wnested-externs]
# ../common/common.h:134:22: error: no include path in which to search for pthread.h
# #include
# ^
# ../common/tun.c:698:2: warning: implicit declaration of function 'open' [-Wimplicit-function-declaration]
# tun_fd = open("/dev/net/tun", O_RDWR);
# ^
# ../common/tun.c:698:2: warning: nested extern declaration of 'open' [-Wnested-externs]
# ../common/aiccu.c: In function 'aiccu_LocateFile':
# ../common/aiccu.c:132:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# memset(filename, 0, length);
# ^
# ../common/tun.c:698:32: error: 'O_RDWR' undeclared (first use in this function)
# tun_fd = open("/dev/net/tun", O_RDWR);
# ^
# ../common/aiccu.c:141:2: warning: implicit declaration of function 'strncat' [-Wimplicit-function-declaration]
# strncat(filename, what, length);
# ^
# ../common/aiccu.c:141:2: warning: incompatible implicit declaration of built-in function 'strncat' [enabled by default]
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c: At top level:
# ../common/tun.c:701:11: error: 'LOG_ERR' undeclared (first use in this function)
# tun_log(LOG_ERR, "start", "Couldn't open device %s: %s (%d)\n", "/dev/net/tun", strerror(errno), errno);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.c:146:1: note: in expansion of macro 'bool'
# bool aiccu_LoadConfig(const char *filename)
# ^
# ../common/aiccu.c: In function 'aiccu_LoadConfig':
# ../common/aiccu.c:148:2: error: unknown type name 'FILE'
# FILE *f;
# ^
# ../common/tun.c:701:92: error: 'errno' undeclared (first use in this function)
# tun_log(LOG_ERR, "start", "Couldn't open device %s: %s (%d)\n", "/dev/net/tun", strerror(errno), errno);
# ^
# ../common/aiccu.c:159:2: warning: implicit declaration of function 'fopen' [-Wimplicit-function-declaration]
# f = fopen(filename, "r");
# ^
# ../common/aiccu.c:159:2: warning: nested extern declaration of 'fopen' [-Wnested-externs]
# ../common/tun.c:705:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# memset(&ifr, 0, sizeof(ifr));
# ^
# ../common/aiccu.c:159:4: warning: assignment makes pointer from integer without a cast [enabled by default]
# f = fopen(filename, "r");
# ^
# ../common/aiccu.c:162:9: error: 'LOG_ERR' undeclared (first use in this function)
# dolog(LOG_ERR, "Could not open config file \"%s\"\n", filename);
# ^
# ../common/tun.c:707:18: error: 'IFF_TUN' undeclared (first use in this function)
# ifr.ifr_flags = IFF_TUN;
# ^
# ../common/aiccu.c:162:3: warning: passing argument 1 of 'dolog' makes integer from pointer without a cast [enabled by default]
# dolog(LOG_ERR, "Could not open config file \"%s\"\n", filename);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:392:6: note: expected 'int' but argument is of type 'struct pl_rule *'
# void dolog(int level, const char *fmt, ...);
# ^
# ../common/tun.c:709:2: warning: implicit declaration of function 'strncpy' [-Wimplicit-function-declaration]
# strncpy(ifr.ifr_name, g_aiccu->ipv6_interface, sizeof(ifr.ifr_name));
# ^
# In file included from ../common/common.h:314:0,
# from ../common/aiccu.h:17,
# from ../common/hash_md5.c:23:
# ../common/hash_md5.h:59:2: error: unknown type name 'u_int32_t'
# UWORD32 buf[4];
# ^
# ../common/tun.c:709:2: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default]
# ../common/aiccu.c:166:2: warning: implicit declaration of function 'fgets' [-Wimplicit-function-declaration]
# while (fgets(buf, sizeof(buf), f))
# ^
# ../common/aiccu.c:166:2: warning: nested extern declaration of 'fgets' [-Wnested-externs]
# ../common/hash_md5.h:60:2: error: unknown type name 'u_int32_t'
# UWORD32 bytes[2];
# ^
# ../common/aiccu.c:171:9: error: 'LOG_WARNING' undeclared (first use in this function)
# dolog(LOG_WARNING, "Unknown configuration statement on line %u of %s: \"%s\"\n", line, filename, buf);
# ^
# ../common/tun.c:711:2: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration]
# if (ioctl(tun_fd, TUNSETIFF, &ifr))
# ^
# ../common/tun.c:711:2: warning: nested extern declaration of 'ioctl' [-Wnested-externs]
# ../common/hash_md5.h:61:2: error: unknown type name 'u_int32_t'
# UWORD32 in[16];
# ^
# ../common/aiccu.c:171:3: warning: passing argument 1 of 'dolog' makes integer from pointer without a cast [enabled by default]
# dolog(LOG_WARNING, "Unknown configuration statement on line %u of %s: \"%s\"\n", line, filename, buf);
# ^
# ../common/tun.c:711:20: error: 'TUNSETIFF' undeclared (first use in this function)
# if (ioctl(tun_fd, TUNSETIFF, &ifr))
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:392:6: note: expected 'int' but argument is of type 'struct pl_rule *'
# void dolog(int level, const char *fmt, ...);
# ^
# ../common/aiccu.c:173:2: warning: implicit declaration of function 'fclose' [-Wimplicit-function-declaration]
# fclose(f);
# ^
# ../common/aiccu.c:173:2: warning: nested extern declaration of 'fclose' [-Wnested-externs]
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c: At top level:
# ../common/hash_md5.h:38:17: error: unknown type name 'u_int32_t'
# #define UWORD32 u_int32_t
# ^
# ../common/hash_md5.h:67:19: note: in expansion of macro 'UWORD32'
# void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.c:179:1: note: in expansion of macro 'bool'
# bool aiccu_SaveConfig(const char *filename)
# ^
# ../common/hash_md5.h:38:17: error: unknown type name 'u_int32_t'
# #define UWORD32 u_int32_t
# ^
# ../common/hash_md5.h:67:35: note: in expansion of macro 'UWORD32'
# void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
# ^
# ../common/aiccu.c: In function 'aiccu_SaveConfig':
# ../common/aiccu.c:181:2: error: unknown type name 'FILE'
# FILE *f;
# ^
# ../common/tun.c:858:2: warning: implicit declaration of function 'pthread_create' [-Wimplicit-function-declaration]
# pthread_create(&thread, NULL, tun_reader, (void *)tun);
# ^
# ../common/tun.c:858:2: warning: nested extern declaration of 'pthread_create' [-Wnested-externs]
# In file included from ../common/common.h:315:0,
# from ../common/aiccu.h:17,
# from ../common/hash_md5.c:23:
# ../common/hash_sha1.h:39:1: error: unknown type name 'uint32_t'
# typedef uint32_t sha1_quadbyte; /* 4 byte type */
# ^
# ../common/hash_sha1.h:40:1: error: unknown type name 'uint8_t'
# typedef uint8_t sha1_byte; /* single byte type */
# ^
# ../common/aiccu.c:190:4: warning: assignment makes pointer from integer without a cast [enabled by default]
# f = fopen(filename, "w");
# ^
# ../common/tun.c:858:26: error: 'NULL' undeclared (first use in this function)
# pthread_create(&thread, NULL, tun_reader, (void *)tun);
# ^
# ../common/aiccu.c:193:9: error: 'LOG_ERR' undeclared (first use in this function)
# dolog(LOG_ERR, "Could not open config file \"%s\" for writing\n", filename);
# ^
# ../common/aiccu.c:193:3: warning: passing argument 1 of 'dolog' makes integer from pointer without a cast [enabled by default]
# dolog(LOG_ERR, "Could not open config file \"%s\" for writing\n", filename);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:392:6: note: expected 'int' but argument is of type 'struct pl_rule *'
# void dolog(int level, const char *fmt, ...);
# ^
# ../common/tun.c:695:16: warning: unused variable 'ifr' [-Wunused-variable]
# struct ifreq ifr;
# ^
# ../common/aiccu.c:197:2: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration]
# fprintf(f, "# AICCU Configuration (Saved by AICCU %s)\n", AICCU_VER);
# ^
# ../common/aiccu.c:197:2: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default]
# In file included from ../common/aiccu.h:17:0,
# from ../common/hash_md5.c:23:
# ../common/common.h:319:24: error: no include path in which to search for netinet/in.h
# #include
# ^
# ../common/common.h:320:26: error: no include path in which to search for arpa/nameser.h
# #include
# ^
# ../common/common.h:321:20: error: no include path in which to search for resolv.h
# #include
# ^
# ../common/common.h:322:19: error: no include path in which to search for netdb.h
# #include
# ^
# ../common/common.h:326:27: error: no include path in which to search for gnutls/gnutls.h
# #include
# ^
# ../common/common.h:383:2: error: unknown type name 'uint32_t'
# bool tls_active; /* TLS active? */
# ^
# ../common/common.h:384:2: error: unknown type name 'gnutls_session'
# gnutls_session session; /* The GnuTLS sesision */
# ^
# ../common/aiccu.c: In function 'aiccu_FreeConfig':
# ../common/common.h:391:41: error: unknown type name 'va_list'
# void dologA(int level, const char *fmt, va_list ap);
# ^
# ../common/aiccu.c:253:2: warning: implicit declaration of function 'gnutls_certificate_free_credentials' [-Wimplicit-function-declaration]
# gnutls_certificate_free_credentials(g_aiccu->tls_cred);
# ^
# ../common/aiccu.c:253:2: warning: nested extern declaration of 'gnutls_certificate_free_credentials' [-Wnested-externs]
# ../common/aiccu.c:254:2: warning: implicit declaration of function 'gnutls_global_deinit' [-Wimplicit-function-declaration]
# gnutls_global_deinit();
# ^
# ../common/aiccu.c:254:2: warning: nested extern declaration of 'gnutls_global_deinit' [-Wnested-externs]
# ../common/aiccu.c:257:2: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration]
# if (g_aiccu->username) { free(g_aiccu->username); g_aiccu->username = NULL; }
# ^
# ../common/aiccu.c:257:28: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# if (g_aiccu->username) { free(g_aiccu->username); g_aiccu->username = NULL; }
# ^
# ../common/aiccu.c:257:71: warning: assignment from incompatible pointer type [enabled by default]
# if (g_aiccu->username) { free(g_aiccu->username); g_aiccu->username = NULL; }
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/hash_md5.c:23:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:405:1: note: in expansion of macro 'bool'
# bool sock_gotls(TLSSOCKET sock);
# ^
# ../common/aiccu.c:258:28: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# if (g_aiccu->password) { free(g_aiccu->password); g_aiccu->password = NULL; }
# ^
# ../common/aiccu.c:258:71: warning: assignment from incompatible pointer type [enabled by default]
# if (g_aiccu->password) { free(g_aiccu->password); g_aiccu->password = NULL; }
# ^
# ../common/aiccu.c:259:33: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# if (g_aiccu->ipv6_interface) { free(g_aiccu->ipv6_interface);g_aiccu->ipv6_interface = NULL; }
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:410:1: note: in expansion of macro 'bool'
# bool copyfield(char *s, unsigned int n, char *buf, unsigned int buflen);
# ^
# ../common/aiccu.c:259:87: warning: assignment from incompatible pointer type [enabled by default]
# if (g_aiccu->ipv6_interface) { free(g_aiccu->ipv6_interface);g_aiccu->ipv6_interface = NULL; }
# ^
# ../common/aiccu.c:260:29: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# if (g_aiccu->tunnel_id) { free(g_aiccu->tunnel_id); g_aiccu->tunnel_id = NULL; }
# ^
# ../common/aiccu.c:260:74: warning: assignment from incompatible pointer type [enabled by default]
# if (g_aiccu->tunnel_id) { free(g_aiccu->tunnel_id); g_aiccu->tunnel_id = NULL; }
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:411:1: note: in expansion of macro 'bool'
# bool parseline(char *line, const char *split, struct pl_rule *rules, void *data);
# ^
# ../common/aiccu.c:261:23: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# if (g_aiccu->tic) { free(g_aiccu->tic); g_aiccu->tic = NULL; }
# ^
# ../common/aiccu.c:261:58: warning: assignment from incompatible pointer type [enabled by default]
# if (g_aiccu->tic) { free(g_aiccu->tic); g_aiccu->tic = NULL; }
# ^
# ../common/aiccu.c:262:30: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# if (g_aiccu->setupscript) { free(g_aiccu->setupscript); g_aiccu->setupscript = NULL; }
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/common.h:415:1: note: in expansion of macro 'bool'
# bool is_rfc1918(char *ipv4);
# ^
# ../common/aiccu.c:262:79: warning: assignment from incompatible pointer type [enabled by default]
# if (g_aiccu->setupscript) { free(g_aiccu->setupscript); g_aiccu->setupscript = NULL; }
# ^
# ../common/aiccu.c:263:27: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# if (g_aiccu->pidfile) { free(g_aiccu->pidfile); g_aiccu->pidfile = NULL; }
# ^
# ../common/aiccu.c:263:68: warning: assignment from incompatible pointer type [enabled by default]
# if (g_aiccu->pidfile) { free(g_aiccu->pidfile); g_aiccu->pidfile = NULL; }
# ^
# ../common/aiccu.c:265:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
# free(g_aiccu);
# ^
# In file included from ../common/aiccu.h:18:0,
# from ../common/hash_md5.c:23:
# ../common/tic.h:60:2: error: unknown type name 'uint32_t'
# uint32_t nHeartbeat_Interval; /* Heartbeat interval */
# ^
# ../common/aiccu.c:266:10: warning: assignment from incompatible pointer type [enabled by default]
# g_aiccu = NULL;
# ^
# ../common/tic.h:63:2: error: unknown type name 'uint32_t'
# uint32_t uses_tundev; /* Uses Tunnel (tun/tap) device? */
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c: At top level:
# ../common/tic.h:64:2: error: unknown type name 'uint32_t'
# uint32_t nIPv6_PrefixLength; /* Length of the prefix's */
# ^
# ../common/tic.h:65:2: error: unknown type name 'uint32_t'
# uint32_t nMTU; /* MTU size */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.c:276:1: note: in expansion of macro 'bool'
# bool aiccu_setup(struct TIC_Tunnel *hTunnel, bool firstrun)
# ^
# ../common/tic.h:82:19: error: field 'xIPv6' has incomplete type
# struct in6_addr xIPv6; /* Prefix */
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.c:276:46: note: in expansion of macro 'bool'
# bool aiccu_setup(struct TIC_Tunnel *hTunnel, bool firstrun)
# ^
# ../common/tic.h:83:2: error: unknown type name 'uint32_t'
# uint32_t nPrefixLength; /* Length of the prefix */
# ^
# ../common/tic.h:84:2: error: unknown type name 'uint32_t'
# uint32_t __pad;
# ^
# ../common/aiccu.c: In function 'aiccu_beat':
# ../common/aiccu.c:314:2: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration]
# if (strcasecmp(hTunnel->sType, "6in4-heartbeat") == 0)
# ^
# make[1]: *** [: ../common/tun.o] Error 1
# make[1]: *** Waiting for unfinished jobs....
# In file included from ../common/aiccu.h:17:0,
# from ../common/hash_md5.c:23:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/tic.h:123:1: note: in expansion of macro 'bool'
# bool tic_Login(struct TIC_conf *tic, const char *username, const char *password, const char *server);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/aiccu.c: At top level:
# In file included from ../common/aiccu.h:18:0,
# from ../common/hash_md5.c:23:
# ../common/tic.h:127:19: error: unknown type name 'time_t'
# int tic_checktime(time_t epochtime);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.c:342:45: note: in expansion of macro 'bool'
# void aiccu_test(struct TIC_Tunnel *hTunnel, bool automatic)
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.c:348:1: note: in expansion of macro 'bool'
# bool aiccu_exec(const char *fmt, ...)
# ^
# ../common/aiccu.c: In function 'aiccu_exec':
# ../common/aiccu.c:353:2: error: unknown type name 'va_list'
# va_list ap;
# ^
# In file included from ../common/aiccu.h:19:0,
# from ../common/hash_md5.c:23:
# ../common/heartbeat.h:26:2: error: unknown type name 'uint32_t'
# uint32_t *address_changed,
# ^
# ../common/aiccu.c:355:2: warning: implicit declaration of function 'va_start' [-Wimplicit-function-declaration]
# va_start(ap, fmt);
# ^
# ../common/aiccu.c:355:2: warning: nested extern declaration of 'va_start' [-Wnested-externs]
# ../common/aiccu.c:356:2: warning: implicit declaration of function 'vsnprintf' [-Wimplicit-function-declaration]
# vsnprintf(buf,sizeof(buf),fmt,ap);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/hash_md5.c:23:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/heartbeat.h:33:88: note: in expansion of macro 'bool'
# int heartbeat_send(SOCKET sockfd, char *sIPv4Local, char *sIPv6Local, char *sPassword, bool bBehindNAT);
# ^
# ../common/aiccu.c:358:2: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration]
# ret = system(buf);
# ^
# ../common/aiccu.c:358:2: warning: nested extern declaration of 'system' [-Wnested-externs]
# ../common/aiccu.c:359:23: error: 'LOG_WARNING' undeclared (first use in this function)
# if (ret == -1) dolog(LOG_WARNING, "Execution of \"%s\" failed!? (Please check if the command is available)\n", buf);
# ^
# ../common/aiccu.c:359:2: warning: passing argument 1 of 'dolog' makes integer from pointer without a cast [enabled by default]
# if (ret == -1) dolog(LOG_WARNING, "Execution of \"%s\" failed!? (Please check if the command is available)\n", buf);
# ^
# In file included from ../common/aiccu.h:20:0,
# from ../common/hash_md5.c:23:
# ../common/ayiya.h:66:2: error: unknown type name 'uint32_t'
# uint32_t ayh_idlen: 4; /* Identity Length */
# ^
# ../common/ayiya.h:67:2: error: unknown type name 'uint32_t'
# uint32_t ayh_idtype: 4; /* Identity Type */
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/aiccu.c:13:
# ../common/common.h:392:6: note: expected 'int' but argument is of type 'struct pl_rule *'
# void dolog(int level, const char *fmt, ...);
# ^
# ../common/ayiya.h:68:2: error: unknown type name 'uint32_t'
# uint32_t ayh_siglen: 4; /* Signature Length */
# ^
# ../common/ayiya.h:69:2: error: unknown type name 'uint32_t'
# uint32_t ayh_hshmeth:4; /* Hashing Method */
# ^
# ../common/aiccu.c:360:2: warning: implicit declaration of function 'va_end' [-Wimplicit-function-declaration]
# va_end(ap);
# ^
# ../common/aiccu.c:360:2: warning: nested extern declaration of 'va_end' [-Wnested-externs]
# ../common/ayiya.h:70:2: error: unknown type name 'uint32_t'
# uint32_t ayh_autmeth:4; /* Authentication Method */
# ^
# ../common/ayiya.h:71:2: error: unknown type name 'uint32_t'
# uint32_t ayh_opcode: 4; /* Operation Code */
# ^
# ../common/aiccu.c: In function 'aiccu_license':
# ../common/ayiya.h:72:2: error: unknown type name 'uint32_t'
# uint32_t ayh_nextheader:8; /* Next Header (PROTO_*) */
# ^
# ../common/ayiya.h:84:2: error: unknown type name 'uint32_t'
# uint32_t ayh_epochtime; /* Time in seconds since "00:00:00 1970-01-01 UTC" */
# ^
# ../common/aiccu.c:411:25: warning: initialization from incompatible pointer type [enabled by default]
# static char *license = NULL;
# ^
# ../common/aiccu.c:411:2: error: initializer element is not constant
# static char *license = NULL;
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/hash_md5.c:23:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/ayiya.h:88:1: note: in expansion of macro 'bool'
# bool ayiya(struct TIC_Tunnel *hTunnel);
# ^
# ../common/aiccu.c:424:3: warning: statement with no effect [-Wunused-value]
# size_t
# ^
# ../common/aiccu.c:425:4: error: expected ';' before 'a'
# a = strlen(l1),
# ^
# ../common/aiccu.c:431:21: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default]
# license = (char *)malloc(a+b+c+d+1);
# ^
# make[1]: *** [: main.o] Error 1
# ../common/aiccu.c:431:28: error: 'a' undeclared (first use in this function)
# license = (char *)malloc(a+b+c+d+1);
# ^
# ../common/aiccu.c:431:30: error: 'b' undeclared (first use in this function)
# license = (char *)malloc(a+b+c+d+1);
# ^
# In file included from ../common/hash_md5.c:23:0:
# ../common/aiccu.h:114:2: error: unknown type name 'gnutls_certificate_credentials'
# gnutls_certificate_credentials tls_cred; /* GNUTLS credentials */
# ^
# ../common/aiccu.c:431:29: error: invalid operands to binary + (have 'struct pl_rule *' and 'struct pl_rule *')
# license = (char *)malloc(a+b+c+d+1);
# ^
# ../common/aiccu.h:117:2: error: unknown type name 'uint32_t'
# bool daemonize; /* Daemonize? */
# ^
# ../common/aiccu.c:431:32: error: 'c' undeclared (first use in this function)
# license = (char *)malloc(a+b+c+d+1);
# ^
# ../common/aiccu.h:118:2: error: unknown type name 'uint32_t'
# bool verbose; /* Verbosity */
# ^
# ../common/aiccu.c:431:31: error: invalid operands to binary + (have 'struct pl_rule *' and 'struct pl_rule *')
# license = (char *)malloc(a+b+c+d+1);
# ^
# ../common/aiccu.h:119:2: error: unknown type name 'uint32_t'
# bool running; /* Still running? */
# ^
# ../common/aiccu.c:431:34: error: 'd' undeclared (first use in this function)
# license = (char *)malloc(a+b+c+d+1);
# ^
# ../common/aiccu.h:120:2: error: unknown type name 'uint32_t'
# bool tunrunning; /* Is the tundev running? */
# ^
# ../common/aiccu.h:122:2: error: unknown type name 'uint32_t'
# bool automatic; /* Try to be totally automatic? */
# ^
# ../common/aiccu.c:431:33: error: invalid operands to binary + (have 'struct pl_rule *' and 'struct pl_rule *')
# license = (char *)malloc(a+b+c+d+1);
# ^
# ../common/aiccu.h:123:2: error: unknown type name 'uint32_t'
# bool behindnat; /* Behind a NAT */
# ^
# ../common/aiccu.c:431:3: warning: passing argument 1 of 'malloc' makes integer from pointer without a cast [enabled by default]
# license = (char *)malloc(a+b+c+d+1);
# ^
# ../common/aiccu.c:431:3: note: expected 'unsigned int' but argument is of type 'struct pl_rule *'
# ../common/aiccu.h:124:2: error: unknown type name 'uint32_t'
# bool requiretls; /* Require TLS for TIC? */
# ^
# ../common/aiccu.h:125:2: error: unknown type name 'uint32_t'
# bool makebeats; /* Make heartbeats? */
# ^
# ../common/aiccu.c:432:17: warning: return from incompatible pointer type [enabled by default]
# if (!license) return NULL;
# ^
# ../common/aiccu.h:126:2: error: unknown type name 'uint32_t'
# bool noconfigure; /* No configuration (used to only send heartbeats) */
# ^
# ../common/aiccu.h:127:2: error: unknown type name 'uint32_t'
# bool defaultroute; /* Configure a default route */
# ^
# ../common/aiccu.c:434:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# memset(license, 0, a+b+c+d+1);
# ^
# ../common/aiccu.c:434:23: error: invalid operands to binary + (have 'struct pl_rule *' and 'struct pl_rule *')
# memset(license, 0, a+b+c+d+1);
# ^
# ../common/aiccu.c:434:25: error: invalid operands to binary + (have 'struct pl_rule *' and 'struct pl_rule *')
# memset(license, 0, a+b+c+d+1);
# ^
# ../common/aiccu.c:434:27: error: invalid operands to binary + (have 'struct pl_rule *' and 'struct pl_rule *')
# memset(license, 0, a+b+c+d+1);
# ^
# In file included from ../common/aiccu.h:17:0,
# from ../common/hash_md5.c:23:
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:134:1: note: in expansion of macro 'bool'
# bool aiccu_InitConfig(void);
# ^
# ../common/aiccu.c:434:3: warning: passing argument 3 of 'memset' makes integer from pointer without a cast [enabled by default]
# memset(license, 0, a+b+c+d+1);
# ^
# ../common/aiccu.c:434:3: note: expected 'unsigned int' but argument is of type 'struct pl_rule *'
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:135:1: note: in expansion of macro 'bool'
# bool aiccu_LoadConfig(const char *filename);
# ^
# ../common/aiccu.c:435:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
# memcpy(license , l1, a);
# ^
# ../common/aiccu.c:435:3: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
# ../common/aiccu.c:435:3: warning: passing argument 3 of 'memcpy' makes integer from pointer without a cast [enabled by default]
# ../common/aiccu.c:435:3: note: expected 'unsigned int' but argument is of type 'struct pl_rule *'
# ../common/aiccu.c:436:18: error: invalid operands to binary + (have 'char *' and 'struct pl_rule *')
# memcpy(license + a, l2, b);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:136:1: note: in expansion of macro 'bool'
# bool aiccu_SaveConfig(const char *filename);
# ^
# ../common/aiccu.c:436:3: warning: passing argument 3 of 'memcpy' makes integer from pointer without a cast [enabled by default]
# memcpy(license + a, l2, b);
# ^
# ../common/aiccu.c:436:3: note: expected 'unsigned int' but argument is of type 'struct pl_rule *'
# ../common/aiccu.c:437:18: error: invalid operands to binary + (have 'char *' and 'struct pl_rule *')
# memcpy(license + a + b, l3, c);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:140:1: note: in expansion of macro 'bool'
# bool aiccu_setup(struct TIC_Tunnel *hTunnel, bool firstrun);
# ^
# ../common/aiccu.c:437:22: error: invalid operands to binary + (have 'struct pl_rule *' and 'struct pl_rule *')
# memcpy(license + a + b, l3, c);
# ^
# ../common/aiccu.c:437:3: warning: passing argument 3 of 'memcpy' makes integer from pointer without a cast [enabled by default]
# memcpy(license + a + b, l3, c);
# ^
# ../common/aiccu.c:437:3: note: expected 'unsigned int' but argument is of type 'struct pl_rule *'
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:140:46: note: in expansion of macro 'bool'
# bool aiccu_setup(struct TIC_Tunnel *hTunnel, bool firstrun);
# ^
# ../common/aiccu.c:438:18: error: invalid operands to binary + (have 'char *' and 'struct pl_rule *')
# memcpy(license + a + b + c, l4, d);
# ^
# ../common/aiccu.c:438:22: error: invalid operands to binary + (have 'struct pl_rule *' and 'struct pl_rule *')
# memcpy(license + a + b + c, l4, d);
# ^
# ../common/aiccu.c:438:26: error: invalid operands to binary + (have 'struct pl_rule *' and 'struct pl_rule *')
# memcpy(license + a + b + c, l4, d);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:144:45: note: in expansion of macro 'bool'
# void aiccu_test(struct TIC_Tunnel *hTunnel, bool automatic);
# ^
# ../common/aiccu.c:438:3: warning: passing argument 3 of 'memcpy' makes integer from pointer without a cast [enabled by default]
# memcpy(license + a + b + c, l4, d);
# ^
# ../common/aiccu.c:438:3: note: expected 'unsigned int' but argument is of type 'struct pl_rule *'
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:145:1: note: in expansion of macro 'bool'
# bool aiccu_exec(const char *fmt, ...);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:149:1: note: in expansion of macro 'bool'
# bool aiccu_os_install(void);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:150:1: note: in expansion of macro 'bool'
# bool aiccu_os_setup(struct TIC_Tunnel *hTunnel);
# ^
# ../common/common.h:300:14: error: unknown type name 'uint32_t'
# #define bool uint32_t
# ^
# ../common/aiccu.h:153:48: note: in expansion of macro 'bool'
# void aiccu_os_test(struct TIC_Tunnel *hTunnel, bool automatic);
# ^
# ../common/hash_md5.c:26:43: error: no include path in which to search for string.h
# #include /* for memcpy() */
# ^
# ../common/hash_md5.c:27:48: error: no include path in which to search for sys/types.h
# #include /* for stupid systems */
# ^
# In file included from ../common/common.h:314:0,
# from ../common/aiccu.h:17,
# from ../common/hash_md5.c:23:
# ../common/hash_md5.c: In function 'MD5Update':
# ../common/hash_md5.h:38:17: error: unknown type name 'u_int32_t'
# #define UWORD32 u_int32_t
# ^
# ../common/hash_md5.c:68:2: note: in expansion of macro 'UWORD32'
# UWORD32 t;
# ^
# ../common/hash_md5.c:77:8: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
# if (t > len) {
# ^
# ../common/hash_md5.c:78:3: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration]
# memcpy((md5byte *)ctx->in + 64 - t, buf, len);
# ^
# ../common/hash_md5.c:78:3: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
# ../common/hash_md5.c:82:2: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
# memcpy((md5byte *)ctx->in + 64 - t, buf, t);
# ^
# ../common/hash_md5.c:84:2: warning: implicit declaration of function 'MD5Transform' [-Wimplicit-function-declaration]
# MD5Transform(ctx->buf, ctx->in);
# ^
# ../common/hash_md5.c:84:2: warning: nested extern declaration of 'MD5Transform' [-Wnested-externs]
# ../common/hash_md5.c: In function 'MD5Final':
# ../common/hash_md5.c:118:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration]
# memset(p, 0, count + 8);
# ^
# ../common/hash_md5.c:118:3: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# ../common/hash_md5.c:124:2: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default]
# memset(p, 0, count);
# ^
# ../common/hash_md5.c:133:2: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default]
# memcpy(digest, ctx->buf, 16);
# ^
# ../common/hash_md5.c:134:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
# memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */
# ^
# In file included from ../common/common.h:314:0,
# from ../common/aiccu.h:17,
# from ../common/hash_md5.c:23:
# ../common/hash_md5.c: At top level:
# ../common/hash_md5.h:38:17: error: unknown type name 'u_int32_t'
# #define UWORD32 u_int32_t
# ^
# ../common/hash_md5.c:157:14: note: in expansion of macro 'UWORD32'
# MD5Transform(UWORD32 buf[4], UWORD32 const in[16])
# ^
# ../common/hash_md5.h:38:17: error: unknown type name 'u_int32_t'
# #define UWORD32 u_int32_t
# ^
# ../common/hash_md5.c:157:30: note: in expansion of macro 'UWORD32'
# MD5Transform(UWORD32 buf[4], UWORD32 const in[16])
# ^
# make[1]: *** [: ../common/aiccu.o] Error 1
# make[1]: *** [: ../common/hash_md5.o] Error 1
# make[1]: Leaving directory '/tmp/aiccu/src/aiccu/unix-console'
# make: *** [Makefile:70: all] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...