The build took 00h 01m 06s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
| SLOC | Language |
|---|---|
5,452 |
ansic |
136 |
makefile |
5,588 |
total |
The process tree of the build process is here.
Several sub-process invocations were improper; see the process tree for details. Summary:
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:
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/libexecCMD: 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: udpxy 1.0.23.9-1 (Tue Apr 4 19:57:32 UTC 2017)==> Checking runtime dependencies...==> Checking buildtime dependencies...==> WARNING: Using existing $srcdir/ tree==> Starting build()...gcc -O2 -DUDPXREC_MOD -MM udpxy.c sloop.c rparse.c util.c prbuf.c ifaddr.c ctx.c mkpg.c rtp.c uopt.c dpkt.c netop.c extrn.c main.c udpxrec.c > udpxy.depcc1: error: no include path in which to search for stdc-predef.hIn file included from udpxy.c:21:0:osdef.h:24:24: error: no include path in which to search for sys/socket.h #include ^udpxy.c:23:23: error: no include path in which to search for sys/types.h #include ^udpxy.c:24:24: error: no include path in which to search for sys/socket.h #include ^udpxy.c:25:23: error: no include path in which to search for arpa/inet.h #include ^udpxy.c:26:20: error: no include path in which to search for net/if.h #include ^udpxy.c:27:22: error: no include path in which to search for sys/wait.h #include ^udpxy.c:28:22: error: no include path in which to search for sys/stat.h #include ^udpxy.c:29:24: error: no include path in which to search for sys/select.h #include ^udpxy.c:31:24: error: no include path in which to search for netinet/in.h #include ^udpxy.c:32:25: error: no include path in which to search for netinet/tcp.h #include ^udpxy.c:33:22: error: no include path in which to search for sys/time.h #include ^udpxy.c:35:20: error: no include path in which to search for unistd.h #include ^udpxy.c:36:19: error: no include path in which to search for stdio.h #include ^udpxy.c:37:20: error: no include path in which to search for string.h #include ^udpxy.c:38:20: error: no include path in which to search for stdlib.h #include ^udpxy.c:39:20: error: no include path in which to search for signal.h #include ^udpxy.c:40:19: error: no include path in which to search for errno.h #include ^udpxy.c:41:20: error: no include path in which to search for assert.h #include ^udpxy.c:42:19: error: no include path in which to search for fcntl.h #include ^udpxy.c:43:20: error: no include path in which to search for syslog.h #include ^udpxy.c:44:18: error: no include path in which to search for time.h #include ^udpxy.c:45:21: error: no include path in which to search for sys/uio.h #include ^In file included from udpxy.c:48:0:rparse.h:24:23: error: no include path in which to search for sys/types.h #include ^rparse.h:25:24: error: no include path in which to search for sys/socket.h #include ^In file included from udpxy.c:49:0:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:25:19: error: no include path in which to search for stdio.h #include ^In file included from udpxy.c:51:0:ifaddr.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from udpxy.c:53:0:udpxy.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from udpxy.c:54:0:ctx.h:25:23: error: no include path in which to search for sys/types.h #include ^ctx.h:26:20: error: no include path in which to search for unistd.h #include ^ctx.h:27:24: error: no include path in which to search for netinet/in.h #include ^In file included from ctx.h:30:0, from udpxy.c:54:dpkt.h:24:19: error: no include path in which to search for stdio.h #include ^In file included from udpxy.c:55:0:mkpg.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from udpxy.c:56:0:rtp.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from udpxy.c:57:0:uopt.h:24:23: error: no include path in which to search for sys/types.h #include ^uopt.h:25:19: error: no include path in which to search for stdio.h #include ^uopt.h:26:18: error: no include path in which to search for time.h #include ^uopt.h:27:20: error: no include path in which to search for unistd.h #include ^In file included from udpxy.c:59:0:netop.h:24:23: error: no include path in which to search for sys/types.h #include ^cc1: error: no include path in which to search for stdc-predef.hsloop.c:21:25: error: no include path in which to search for sys/syscall.h #include ^In file included from sloop.c:36:0:sloop_s.c:3:23: error: no include path in which to search for sys/types.h #include ^sloop_s.c:4:22: error: no include path in which to search for sys/time.h #include ^sloop_s.c:5:22: error: no include path in which to search for sys/wait.h #include ^sloop_s.c:6:22: error: no include path in which to search for sys/stat.h #include ^sloop_s.c:7:24: error: no include path in which to search for sys/select.h #include ^sloop_s.c:8:24: error: no include path in which to search for sys/socket.h #include ^sloop_s.c:9:23: error: no include path in which to search for arpa/inet.h #include ^sloop_s.c:11:24: error: no include path in which to search for netinet/in.h #include ^sloop_s.c:13:20: error: no include path in which to search for unistd.h #include ^sloop_s.c:14:19: error: no include path in which to search for stdio.h #include ^sloop_s.c:15:20: error: no include path in which to search for string.h #include ^sloop_s.c:16:20: error: no include path in which to search for stdlib.h #include ^sloop_s.c:17:20: error: no include path in which to search for signal.h #include ^sloop_s.c:18:19: error: no include path in which to search for errno.h #include ^sloop_s.c:19:20: error: no include path in which to search for assert.h #include ^sloop_s.c:20:19: error: no include path in which to search for fcntl.h #include ^sloop_s.c:21:20: error: no include path in which to search for syslog.h #include ^sloop_s.c:22:18: error: no include path in which to search for time.h #include ^sloop_s.c:23:21: error: no include path in which to search for sys/uio.h #include ^In file included from sloop_s.c:25:0, from sloop.c:36:osdef.h:24:24: error: no include path in which to search for sys/socket.h #include ^In file included from sloop_s.c:26:0, from sloop.c:36:udpxy.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from sloop_s.c:29:0, from sloop.c:36:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:25:19: error: no include path in which to search for stdio.h #include ^In file included from sloop_s.c:31:0, from sloop.c:36:ctx.h:25:23: error: no include path in which to search for sys/types.h #include ^ctx.h:26:20: error: no include path in which to search for unistd.h #include ^ctx.h:27:24: error: no include path in which to search for netinet/in.h #include ^In file included from ctx.h:30:0, from sloop_s.c:31, from sloop.c:36:dpkt.h:24:19: error: no include path in which to search for stdio.h #include ^In file included from sloop_s.c:32:0, from sloop.c:36:uopt.h:24:23: error: no include path in which to search for sys/types.h #include ^uopt.h:25:19: error: no include path in which to search for stdio.h #include ^uopt.h:26:18: error: no include path in which to search for time.h #include ^uopt.h:27:20: error: no include path in which to search for unistd.h #include ^In file included from sloop_s.c:33:0, from sloop.c:36:netop.h:24:23: error: no include path in which to search for sys/types.h #include ^cc1: error: no include path in which to search for stdc-predef.hrparse.c:21:20: error: no include path in which to search for string.h #include ^rparse.c:22:23: error: no include path in which to search for sys/types.h #include ^rparse.c:23:20: error: no include path in which to search for stdlib.h #include ^rparse.c:24:19: error: no include path in which to search for stdio.h #include ^rparse.c:25:19: error: no include path in which to search for errno.h #include ^rparse.c:27:24: error: no include path in which to search for sys/socket.h #include ^rparse.c:28:24: error: no include path in which to search for netinet/in.h #include ^rparse.c:29:23: error: no include path in which to search for arpa/inet.h #include ^rparse.c:31:20: error: no include path in which to search for assert.h #include ^In file included from rparse.c:33:0:rparse.h:24:23: error: no include path in which to search for sys/types.h #include ^rparse.h:25:24: error: no include path in which to search for sys/socket.h #include ^cc1: error: no include path in which to search for stdc-predef.hutil.c:21:22: error: no include path in which to search for sys/stat.h #include ^util.c:22:25: error: no include path in which to search for sys/utsname.h #include ^util.c:24:19: error: no include path in which to search for fcntl.h #include ^util.c:25:19: error: no include path in which to search for stdio.h #include ^util.c:26:23: error: no include path in which to search for sys/types.h #include ^util.c:27:20: error: no include path in which to search for assert.h #include ^util.c:28:19: error: no include path in which to search for errno.h #include ^util.c:29:20: error: no include path in which to search for unistd.h #include ^util.c:30:20: error: no include path in which to search for signal.h #include ^util.c:31:20: error: no include path in which to search for stdlib.h #include ^util.c:32:20: error: no include path in which to search for syslog.h #include ^util.c:33:20: error: no include path in which to search for string.h #include ^util.c:34:20: error: no include path in which to search for stdarg.h #include ^util.c:35:22: error: no include path in which to search for sys/time.h #include ^util.c:36:18: error: no include path in which to search for time.h #include ^util.c:37:19: error: no include path in which to search for ctype.h #include ^util.c:38:20: error: no include path in which to search for limits.h #include ^In file included from util.c:40:0:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:25:19: error: no include path in which to search for stdio.h #include ^In file included from util.c:41:0:uopt.h:24:23: error: no include path in which to search for sys/types.h #include ^uopt.h:25:19: error: no include path in which to search for stdio.h #include ^uopt.h:26:18: error: no include path in which to search for time.h #include ^uopt.h:27:20: error: no include path in which to search for unistd.h #include ^In file included from uopt.h:29:0, from util.c:41:udpxy.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from util.c:43:0:osdef.h:24:24: error: no include path in which to search for sys/socket.h #include ^cc1: error: no include path in which to search for stdc-predef.hprbuf.c:21:23: error: no include path in which to search for sys/types.h #include ^prbuf.c:22:20: error: no include path in which to search for stdarg.h #include ^prbuf.c:23:19: error: no include path in which to search for stdio.h #include ^prbuf.c:24:20: error: no include path in which to search for assert.h #include ^prbuf.c:25:20: error: no include path in which to search for string.h #include ^prbuf.c:26:20: error: no include path in which to search for stdlib.h #include ^prbuf.c:27:19: error: no include path in which to search for errno.h #include ^cc1: error: no include path in which to search for stdc-predef.hifaddr.c:22:24: error: no include path in which to search for sys/socket.h #include ^ifaddr.c:23:23: error: no include path in which to search for sys/ioctl.h #include ^ifaddr.c:24:23: error: no include path in which to search for sys/types.h #include ^ifaddr.c:25:20: error: no include path in which to search for string.h #include ^ifaddr.c:26:20: error: no include path in which to search for unistd.h #include ^ifaddr.c:27:19: error: no include path in which to search for errno.h #include ^ifaddr.c:28:20: error: no include path in which to search for net/if.h #include ^ifaddr.c:29:20: error: no include path in which to search for stdlib.h #include ^ifaddr.c:30:24: error: no include path in which to search for netinet/in.h #include ^ifaddr.c:31:23: error: no include path in which to search for arpa/inet.h #include ^ifaddr.c:33:20: error: no include path in which to search for assert.h #include ^ifaddr.c:34:20: error: no include path in which to search for limits.h #include ^In file included from ifaddr.c:36:0:osdef.h:24:24: error: no include path in which to search for sys/socket.h #include ^In file included from ifaddr.c:37:0:ifaddr.h:24:23: error: no include path in which to search for sys/types.h #include ^cc1: error: no include path in which to search for stdc-predef.hIn file included from ctx.c:21:0:osdef.h:24:24: error: no include path in which to search for sys/socket.h #include ^ctx.c:23:23: error: no include path in which to search for sys/types.h #include ^ctx.c:24:24: error: no include path in which to search for sys/socket.h #include ^ctx.c:25:22: error: no include path in which to search for sys/stat.h #include ^ctx.c:26:23: error: no include path in which to search for arpa/inet.h #include ^ctx.c:27:20: error: no include path in which to search for net/if.h #include ^ctx.c:28:24: error: no include path in which to search for netinet/in.h #include ^ctx.c:30:20: error: no include path in which to search for string.h #include ^ctx.c:31:20: error: no include path in which to search for assert.h #include ^ctx.c:32:20: error: no include path in which to search for stdlib.h #include ^ctx.c:33:19: error: no include path in which to search for stdio.h #include ^ctx.c:34:19: error: no include path in which to search for errno.h #include ^ctx.c:35:19: error: no include path in which to search for fcntl.h #include ^ctx.c:36:20: error: no include path in which to search for unistd.h #include ^ctx.c:37:18: error: no include path in which to search for time.h #include ^In file included from ctx.c:39:0:ctx.h:25:23: error: no include path in which to search for sys/types.h #include ^ctx.h:26:20: error: no include path in which to search for unistd.h #include ^ctx.h:27:24: error: no include path in which to search for netinet/in.h #include ^In file included from ctx.h:29:0, from ctx.c:39:udpxy.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from ctx.h:30:0, from ctx.c:39:dpkt.h:24:19: error: no include path in which to search for stdio.h #include ^In file included from ctx.c:41:0:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:25:19: error: no include path in which to search for stdio.h #include ^cc1: error: no include path in which to search for stdc-predef.hmkpg.c:21:18: error: no include path in which to search for time.h #include ^mkpg.c:22:19: error: no include path in which to search for stdio.h #include ^mkpg.c:23:20: error: no include path in which to search for assert.h #include ^mkpg.c:24:20: error: no include path in which to search for stdlib.h #include ^mkpg.c:25:19: error: no include path in which to search for errno.h #include ^mkpg.c:26:20: error: no include path in which to search for string.h #include ^mkpg.c:28:23: error: no include path in which to search for sys/types.h #include ^In file included from mkpg.c:30:0:ctx.h:25:23: error: no include path in which to search for sys/types.h #include ^ctx.h:26:20: error: no include path in which to search for unistd.h #include ^ctx.h:27:24: error: no include path in which to search for netinet/in.h #include ^In file included from ctx.h:29:0, from mkpg.c:30:udpxy.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from ctx.h:30:0, from mkpg.c:30:dpkt.h:24:19: error: no include path in which to search for stdio.h #include ^In file included from mkpg.c:33:0:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:25:19: error: no include path in which to search for stdio.h #include ^In file included from mkpg.c:37:0:mkpg.h:24:23: error: no include path in which to search for sys/types.h #include ^cc1: error: no include path in which to search for stdc-predef.hrtp.c:21:19: error: no include path in which to search for stdio.h #include ^rtp.c:22:20: error: no include path in which to search for assert.h #include ^rtp.c:23:23: error: no include path in which to search for sys/types.h #include ^rtp.c:24:19: error: no include path in which to search for errno.h #include ^In file included from rtp.c:26:0:rtp.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from rtp.c:28:0:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:25:19: error: no include path in which to search for stdio.h #include ^cc1: error: no include path in which to search for stdc-predef.huopt.c:21:20: error: no include path in which to search for assert.h #include ^uopt.c:22:20: error: no include path in which to search for stdlib.h #include ^uopt.c:23:19: error: no include path in which to search for errno.h #include ^uopt.c:24:20: error: no include path in which to search for string.h #include ^In file included from uopt.c:26:0:udpxy.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from uopt.c:27:0:uopt.h:24:23: error: no include path in which to search for sys/types.h #include ^uopt.h:25:19: error: no include path in which to search for stdio.h #include ^uopt.h:26:18: error: no include path in which to search for time.h #include ^uopt.h:27:20: error: no include path in which to search for unistd.h #include ^In file included from uopt.c:28:0:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:25:19: error: no include path in which to search for stdio.h #include ^cc1: error: no include path in which to search for stdc-predef.hdpkt.c:21:23: error: no include path in which to search for sys/types.h #include ^dpkt.c:22:20: error: no include path in which to search for unistd.h #include ^dpkt.c:23:19: error: no include path in which to search for stdio.h #include ^dpkt.c:24:20: error: no include path in which to search for assert.h #include ^dpkt.c:25:19: error: no include path in which to search for errno.h #include ^dpkt.c:26:20: error: no include path in which to search for stdlib.h #include ^dpkt.c:27:21: error: no include path in which to search for sys/uio.h #include ^dpkt.c:28:20: error: no include path in which to search for string.h #include ^dpkt.c:29:21: error: no include path in which to search for strings.h #include ^dpkt.c:30:18: error: no include path in which to search for time.h #include ^In file included from dpkt.c:32:0:udpxy.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from dpkt.c:33:0:dpkt.h:24:19: error: no include path in which to search for stdio.h #include ^In file included from dpkt.c:34:0:rtp.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from dpkt.c:35:0:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:25:19: error: no include path in which to search for stdio.h #include ^cc1: error: no include path in which to search for stdc-predef.hnetop.c:21:23: error: no include path in which to search for sys/types.h #include ^netop.c:22:24: error: no include path in which to search for sys/socket.h #include ^netop.c:23:23: error: no include path in which to search for arpa/inet.h #include ^netop.c:24:24: error: no include path in which to search for netinet/in.h #include ^netop.c:26:20: error: no include path in which to search for assert.h #include ^netop.c:27:20: error: no include path in which to search for string.h #include ^netop.c:28:20: error: no include path in which to search for unistd.h #include ^netop.c:29:18: error: no include path in which to search for time.h #include ^netop.c:30:19: error: no include path in which to search for errno.h #include ^netop.c:31:19: error: no include path in which to search for stdio.h #include ^netop.c:32:19: error: no include path in which to search for fcntl.h #include ^In file included from netop.c:34:0:udpxy.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from netop.c:35:0:netop.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from netop.c:36:0:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:25:19: error: no include path in which to search for stdio.h #include ^In file included from netop.c:38:0:osdef.h:24:24: error: no include path in which to search for sys/socket.h #include ^cc1: error: no include path in which to search for stdc-predef.hextrn.c:21:23: error: no include path in which to search for sys/types.h #include ^extrn.c:22:20: error: no include path in which to search for signal.h #include ^extrn.c:23:19: error: no include path in which to search for stdio.h #include ^cc1: error: no include path in which to search for stdc-predef.hmain.c:21:20: error: no include path in which to search for string.h #include ^main.c:22:20: error: no include path in which to search for libgen.h #include ^main.c:23:19: error: no include path in which to search for stdio.h #include ^cc1: error: no include path in which to search for stdc-predef.hudpxrec.c:21:19: error: no include path in which to search for stdio.h #include ^udpxrec.c:22:20: error: no include path in which to search for unistd.h #include ^udpxrec.c:23:20: error: no include path in which to search for string.h #include ^udpxrec.c:24:21: error: no include path in which to search for strings.h #include ^udpxrec.c:25:20: error: no include path in which to search for signal.h #include ^udpxrec.c:26:19: error: no include path in which to search for errno.h #include ^udpxrec.c:27:20: error: no include path in which to search for assert.h #include ^udpxrec.c:28:20: error: no include path in which to search for stdlib.h #include ^udpxrec.c:30:24: error: no include path in which to search for sys/socket.h #include ^udpxrec.c:31:23: error: no include path in which to search for arpa/inet.h #include ^udpxrec.c:32:23: error: no include path in which to search for sys/types.h #include ^udpxrec.c:33:22: error: no include path in which to search for sys/stat.h #include ^udpxrec.c:43:19: error: no include path in which to search for fcntl.h #include ^In file included from udpxrec.c:45:0:osdef.h:24:24: error: no include path in which to search for sys/socket.h #include ^In file included from udpxrec.c:46:0:udpxy.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from udpxrec.c:47:0:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:25:19: error: no include path in which to search for stdio.h #include ^In file included from udpxrec.c:48:0:uopt.h:24:23: error: no include path in which to search for sys/types.h #include ^uopt.h:25:19: error: no include path in which to search for stdio.h #include ^uopt.h:26:18: error: no include path in which to search for time.h #include ^uopt.h:27:20: error: no include path in which to search for unistd.h #include ^In file included from udpxrec.c:49:0:ctx.h:25:23: error: no include path in which to search for sys/types.h #include ^ctx.h:26:20: error: no include path in which to search for unistd.h #include ^ctx.h:27:24: error: no include path in which to search for netinet/in.h #include ^In file included from ctx.h:30:0, from udpxrec.c:49:dpkt.h:24:19: error: no include path in which to search for stdio.h #include ^In file included from udpxrec.c:52:0:netop.h:24:23: error: no include path in which to search for sys/types.h #include ^In file included from udpxrec.c:53:0:ifaddr.h:24:23: error: no include path in which to search for sys/types.h #include ^Making a [release] version (use 'debug' target as an alternative)make[1]: Entering directory '/tmp/udpxy/src/udpxy-1.0.23-9'gcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c udpxy.c -o udpxy.ogcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c sloop.c -o sloop.ogcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c rparse.c -o rparse.ogcc -O2 -DUDPXREC_MOD -DNDEBUG -DTRACE_MODULE -c util.c -o util.occ1: error: no include path in which to search for stdc-predef.hrparse.c:21:20: error: no include path in which to search for string.h #include ^rparse.c:22:23: error: no include path in which to search for sys/types.h #include ^rparse.c:23:20: error: no include path in which to search for stdlib.h #include ^rparse.c:24:19: error: no include path in which to search for stdio.h #include ^rparse.c:25:19: error: no include path in which to search for errno.h #include ^rparse.c:27:24: error: no include path in which to search for sys/socket.h #include ^rparse.c:28:24: error: no include path in which to search for netinet/in.h #include ^rparse.c:29:23: error: no include path in which to search for arpa/inet.h #include ^rparse.c:31:20: error: no include path in which to search for assert.h #include ^In file included from rparse.c:33:0:rparse.h:24:23: error: no include path in which to search for sys/types.h #include ^rparse.h:25:24: error: no include path in which to search for sys/socket.h #include ^rparse.h:44:31: error: unknown type name 'size_t' get_request( const char* src, size_t srclen, ^rparse.h:45:29: error: unknown type name 'size_t' char* request, size_t* rqlen ); ^rparse.h:63:29: error: unknown type name 'size_t' parse_param( const char* s, size_t slen, ^rparse.h:64:29: error: unknown type name 'size_t' char* cmd, size_t clen, ^rparse.h:65:29: error: unknown type name 'size_t' char* opt, size_t optlen, ^rparse.h:66:29: error: unknown type name 'size_t' char* tail, size_t tlen); ^rparse.h:82:34: error: unknown type name 'size_t' parse_udprelay( const char* opt, size_t optlen, ^rparse.h:83:29: error: unknown type name 'size_t' char* addr, size_t addrlen, ^rparse.h:84:17: error: unknown type name 'uint16_t' uint16_t* port ); ^rparse.c:49:31: error: unknown type name 'size_t' get_request( const char* src, size_t srclen, ^rparse.c:50:29: error: unknown type name 'size_t' char* request, size_t* rqlen ) ^rparse.c:93:29: error: unknown type name 'size_t' parse_param( const char* s, size_t slen, ^rparse.c:94:29: error: unknown type name 'size_t' char* cmd, size_t clen, ^rparse.c:95:29: error: unknown type name 'size_t' char* opt, size_t optlen, ^rparse.c:96:29: error: unknown type name 'size_t' char* tail, size_t tlen) ^rparse.c:160:35: error: unknown type name 'size_t' parse_udprelay( const char* opt, size_t optlen, ^rparse.c:161:35: error: unknown type name 'size_t' char* addr, size_t addrlen, ^rparse.c:162:17: error: unknown type name 'uint16_t' uint16_t* port ) ^make[1]: *** [Makefile:103: rparse.o] Error 1make[1]: *** Waiting for unfinished jobs....cc1: error: no include path in which to search for stdc-predef.hIn file included from udpxy.c:21:0:osdef.h:24:24: error: no include path in which to search for sys/socket.h #include ^osdef.h:53:5: error: unknown type name 'socklen_t' typedef socklen_t a_socklen_t; ^udpxy.c:23:23: error: no include path in which to search for sys/types.h #include ^udpxy.c:24:24: error: no include path in which to search for sys/socket.h #include ^udpxy.c:25:23: error: no include path in which to search for arpa/inet.h #include ^udpxy.c:26:20: error: no include path in which to search for net/if.h #include ^udpxy.c:27:22: error: no include path in which to search for sys/wait.h #include ^udpxy.c:28:22: error: no include path in which to search for sys/stat.h #include ^udpxy.c:29:24: error: no include path in which to search for sys/select.h #include ^udpxy.c:31:24: error: no include path in which to search for netinet/in.h #include ^udpxy.c:32:25: error: no include path in which to search for netinet/tcp.h #include ^udpxy.c:33:22: error: no include path in which to search for sys/time.h #include ^udpxy.c:35:20: error: no include path in which to search for unistd.h #include ^udpxy.c:36:19: error: no include path in which to search for stdio.h #include ^udpxy.c:37:20: error: no include path in which to search for string.h #include ^udpxy.c:38:20: error: no include path in which to search for stdlib.h #include ^udpxy.c:39:20: error: no include path in which to search for signal.h #include ^udpxy.c:40:19: error: no include path in which to search for errno.h #include ^udpxy.c:41:20: error: no include path in which to search for assert.h #include ^udpxy.c:42:19: error: no include path in which to search for fcntl.h #include ^udpxy.c:43:20: error: no include path in which to search for syslog.h #include ^udpxy.c:44:18: error: no include path in which to search for time.h #include ^udpxy.c:45:21: error: no include path in which to search for sys/uio.h #include ^In file included from udpxy.c:48:0:rparse.h:24:23: error: no include path in which to search for sys/types.h #include ^rparse.h:25:24: error: no include path in which to search for sys/socket.h #include ^rparse.h:44:31: error: unknown type name 'size_t' get_request( const char* src, size_t srclen, ^rparse.h:45:29: error: unknown type name 'size_t' char* request, size_t* rqlen ); ^rparse.h:63:29: error: unknown type name 'size_t' parse_param( const char* s, size_t slen, ^rparse.h:64:29: error: unknown type name 'size_t' char* cmd, size_t clen, ^rparse.h:65:29: error: unknown type name 'size_t' char* opt, size_t optlen, ^rparse.h:66:29: error: unknown type name 'size_t' char* tail, size_t tlen); ^rparse.h:82:34: error: unknown type name 'size_t' parse_udprelay( const char* opt, size_t optlen, ^rparse.h:83:29: error: unknown type name 'size_t' char* addr, size_t addrlen, ^rparse.h:84:17: error: unknown type name 'uint16_t' uint16_t* port ); ^In file included from udpxy.c:49:0:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:25:19: error: no include path in which to search for stdio.h #include ^util.h:35:1: error: unknown type name 'ssize_t' ssize_t ^util.h:36:31: error: unknown type name 'size_t' save_buffer( const void* buf, size_t len, const char* filename ); ^util.h:41:1: error: unknown type name 'ssize_t' ssize_t ^util.h:42:42: error: unknown type name 'size_t' txtf_read (const char* fpath, char* dst, size_t maxlen, FILE* log); ^util.h:42:57: error: unknown type name 'FILE' txtf_read (const char* fpath, char* dst, size_t maxlen, FILE* log); ^util.h:49:24: error: unknown type name 'FILE' daemonize(int options, FILE* log); ^util.h:56:10: error: unknown type name 'FILE' mperror( FILE* fp, int err, const char* format, ... ); ^util.h:62:34: error: unknown type name 'pid_t' make_pidfile( const char* fpath, pid_t pid, FILE* log ); ^util.h:62:45: error: unknown type name 'FILE' make_pidfile( const char* fpath, pid_t pid, FILE* log ); ^util.h:69:56: error: unknown type name 'size_t' set_pidfile( const char* appname, int port, char* buf, size_t len ); ^util.h:77:1: error: unknown type name 'ssize_t' ssize_t ^util.h:78:1: error: unknown type name 'ssize_t' write_buf( int fd, const char* data, const ssize_t len, FILE* log ); ^util.h:78:57: error: unknown type name 'FILE' write_buf( int fd, const char* data, const ssize_t len, FILE* log ); ^util.h:82:1: error: unknown type name 'ssize_t' ssize_t ^util.h:83:1: error: unknown type name 'ssize_t' read_buf( int fd, char* buf, const ssize_t len, FILE* log ); ^util.h:83:49: error: unknown type name 'FILE' read_buf( int fd, char* buf, const ssize_t len, FILE* log ); ^util.h:88:46: error: unknown type name 'size_t' hex_dump( const char* msg, const char* data, size_t len, FILE* log ); ^util.h:88:58: error: unknown type name 'FILE' hex_dump( const char* msg, const char* data, size_t len, FILE* log ); ^util.h:93:29: error: unknown type name 'ssize_t' sizecheck( const char* msg, ssize_t expct, ssize_t len, ^util.h:93:44: error: unknown type name 'ssize_t' sizecheck( const char* msg, ssize_t expct, ssize_t len, ^util.h:94:15: error: unknown type name 'FILE' FILE* log, const char* func ); ^util.h:101:31: error: unknown type name 'size_t' buf_overrun( const char* buf, size_t buflen, ^util.h:102:14: error: unknown type name 'size_t' size_t offset, size_t dlen, ^util.h:102:29: error: unknown type name 'size_t' size_t offset, size_t dlen, ^util.h:103:14: error: unknown type name 'FILE' FILE* log ); ^util.h:109:12: error: unknown type name 'FILE' tmfprintf( FILE* stream, const char* format, ... ); ^util.h:115:25: error: unknown type name 'FILE' tmfputs( const char* s, FILE* stream ); ^util.h:121:13: error: unknown type name 'FILE' printcmdln( FILE* stream, const char* msg, ^util.h:133:26: error: unknown type name 'time_t' a2time( const char* str, time_t* t, time_t from ); ^util.h:133:37: error: unknown type name 'time_t' a2time( const char* str, time_t* t, time_t from ); ^util.h:143:26: error: unknown type name 'ssize_t' a2size( const char* str, ssize_t* pval ); ^util.h:146:27: error: unknown type name 'int64_t' a2int64( const char* str, int64_t* pval ); ^util.h:159:20: error: unknown type name 'FILE' set_nice( int val, FILE* log ); ^util.h:166:38: error: unknown type name 'ssize_t' check_fragments( const char* action, ssize_t total, ssize_t n_was, ssize_t n_is, ^util.h:166:53: error: unknown type name 'ssize_t' check_fragments( const char* action, ssize_t total, ssize_t n_was, ssize_t n_is, ^util.h:166:68: error: unknown type name 'ssize_t' check_fragments( const char* action, ssize_t total, ssize_t n_was, ssize_t n_is, ^util.h:167:18: error: unknown type name 'ssize_t' ssize_t delta, FILE* log ); ^util.h:167:33: error: unknown type name 'FILE' ssize_t delta, FILE* log ); ^util.h:171:1: error: unknown type name 'int32_t' static const int32_t TVSTAMP_GMT = 1; ^util.h:174:50: error: unknown type name 'size_t' mk_tvstamp( const struct timeval* tv, char* buf, size_t* len, ^util.h:175:14: error: unknown type name 'int32_t' int32_t flags ); ^util.h:180:1: error: unknown type name 'time_t' time_t ^util.h:181:1: error: unknown type name 'time_t' get_timeval( const char* envar, const time_t deflt ); ^util.h:193:1: error: unknown type name 'ssize_t' ssize_t ^util.h:194:1: error: unknown type name 'ssize_t' get_sizeval( const char* envar, const ssize_t deflt ); ^util.h:220:46: error: unknown type name 'size_t' mk_app_info(const char *appname, char *info, size_t infolen); ^In file included from udpxy.c:50:0:prbuf.h:41:41: error: unknown type name 'size_t' int prbuf_open( prbuf_t* pb, void* buf, size_t n ); ^prbuf.h:72:1: error: unknown type name 'size_t' size_t prbuf_len( prbuf_t pb ); ^In file included from udpxy.c:51:0:ifaddr.h:24:23: error: no include path in which to search for sys/types.h #include ^ifaddr.h:42:33: error: unknown type name 'size_t' struct sockaddr *addr, size_t addrlen ); ^ifaddr.h:54:45: error: unknown type name 'size_t' get_ipv4_address( const char* s, char* buf, size_t len ); ^ifaddr.h:67:42: error: unknown type name 'size_t' get_addrport( const char* s, char* addr, size_t len, int* port ); ^In file included from udpxy.c:53:0:udpxy.h:24:23: error: no include path in which to search for sys/types.h #include ^udpxy.h:62:1: error: unknown type name 'u_short' typedef u_short flag_t; ^udpxy.h:79:5: error: unknown type name 'time_t' time_t atime; ^In file included from udpxy.c:54:0:ctx.h:25:23: error: no include path in which to search for sys/types.h #include ^ctx.h:26:20: error: no include path in which to search for unistd.h #include ^ctx.h:27:24: error: no include path in which to search for netinet/in.h #include ^In file included from ctx.h:30:0, from udpxy.c:54:dpkt.h:24:19: error: no include path in which to search for stdio.h #include ^dpkt.h:34:5: error: unknown type name 'int32_t' int32_t flags; ^dpkt.h:35:5: error: unknown type name 'size_t' size_t mtu; ^dpkt.h:38:5: error: unknown type name 'int32_t' int32_t max_pkt, ^dpkt.h:44:1: error: unknown type name 'int32_t' static const int32_t F_DROP_PACKET = (1 << 1); ^dpkt.h:45:1: error: unknown type name 'int32_t' static const int32_t F_CHECK_FMT = (1 << 2); ^dpkt.h:46:1: error: unknown type name 'int32_t' static const int32_t F_SCATTERED = (1 << 3); ^dpkt.h:47:1: error: unknown type name 'int32_t' static const int32_t F_FILE_INPUT = (1 << 4); ^dpkt.h:62:27: error: unknown type name 'FILE' get_fstream_type( int fd, FILE* log ); ^dpkt.h:67:37: error: unknown type name 'size_t' get_mstream_type( const char* data, size_t len, FILE* log ); ^dpkt.h:67:49: error: unknown type name 'FILE' get_mstream_type( const char* data, size_t len, FILE* log ); ^dpkt.h:72:1: error: unknown type name 'ssize_t' ssize_t ^dpkt.h:73:1: error: unknown type name 'size_t' read_frecord( int fd, char* data, const size_t len, ^dpkt.h:74:37: error: unknown type name 'FILE' upxfmt_t* stream_type, FILE* log ); ^dpkt.h:80:1: error: unknown type name 'ssize_t' ssize_t ^dpkt.h:81:42: error: unknown type name 'size_t' write_frecord( int fd, const char* data, size_t len, ^dpkt.h:82:45: error: unknown type name 'FILE' upxfmt_t sfmt, upxfmt_t dfmt, FILE* log ); ^dpkt.h:102:19: error: unknown type name 'ssize_t' ssize_t nmsgs ); ^dpkt.h:110:5: error: unknown type name 'time_t' time_t buf_tmout; /* max time (sec) to hold data in buffer */ ^dpkt.h:113:1: error: unknown type name 'ssize_t' ssize_t ^dpkt.h:115:12: error: unknown type name 'ssize_t' const ssize_t data_len, const struct rdata_opt* opt ); ^dpkt.h:120:1: error: unknown type name 'ssize_t' ssize_t ^dpkt.h:123:13: error: unknown type name 'ssize_t' const ssize_t len, ^In file included from udpxy.c:54:0:ctx.h:39:5: error: unknown type name 'int32_t' int32_t sender_id; ^ctx.h:47:5: error: unknown type name 'pid_t' pid_t pid; ^ctx.h:49:5: error: unknown type name 'uint16_t' uint16_t mcast_port; ^ctx.h:51:5: error: unknown type name 'uint16_t' uint16_t src_port; ^ctx.h:63:5: error: unknown type name 'pid_t' pid_t pid; /* our PID - cached */ ^ctx.h:64:5: error: unknown type name 'time_t' time_t tm_from; /* last time update sent (successfully) */ ^ctx.h:83:5: error: unknown type name 'uint16_t' uint16_t listen_port; ^ctx.h:86:17: error: field 'mcast_inaddr' has incomplete type mcast_inaddr; ^ctx.h:90:5: error: unknown type name 'size_t' size_t clfree, ^ctx.h:94:5: error: unknown type name 'u_short' u_short rcv_tmout, /* receive/send timeout */ ^ctx.h:105:18: error: unknown type name 'size_t' const size_t max, ^ctx.h:107:18: error: unknown type name 'uint16_t' uint16_t lport, ^ctx.h:119:44: error: unknown type name 'pid_t' find_client( const struct server_ctx* ctx, pid_t pid ); ^ctx.h:126:13: error: unknown type name 'pid_t' pid_t cpid, const char* maddr, uint16_t mport, ^ctx.h:126:44: error: unknown type name 'uint16_t' pid_t cpid, const char* maddr, uint16_t mport, ^ctx.h:133:40: error: unknown type name 'pid_t' delete_client( struct server_ctx* ctx, pid_t cpid ); ^ctx.h:146:36: error: unknown type name 'ssize_t' struct tps_data* d, ssize_t nbytes ); ^In file included from udpxy.c:55:0:mkpg.h:24:23: error: no include path in which to search for sys/types.h #include ^mkpg.h:49:28: error: unknown type name 'size_t' char* buf, size_t* len, int options ); ^In file included from udpxy.c:56:0:rtp.h:24:23: error: no include path in which to search for sys/types.h #include ^rtp.h:27:1: error: unknown type name 'size_t' static const size_t RTP_MIN_SIZE = 4; ^rtp.h:28:1: error: unknown type name 'size_t' static const size_t RTP_HDR_SIZE = 12; /* RFC 3550 */ ^rtp.h:33:1: error: unknown type name 'size_t' static const size_t XTLEN_OFFSET = 14; ^rtp.h:34:1: error: unknown type name 'size_t' static const size_t XTSIZE = 4; ^rtp.h:40:1: error: unknown type name 'size_t' static const size_t CSRC_SIZE = 4; ^rtp.h:61:1: error: unknown type name 'size_t' int RTP_check( const char* buf, const size_t len, int* is_rtp, FILE* log ); ^rtp.h:61:64: error: unknown type name 'FILE' int RTP_check( const char* buf, const size_t len, int* is_rtp, FILE* log ); ^rtp.h:77:31: error: unknown type name 'size_t' int RTP_process( void** pbuf, size_t* len, int verify, FILE* log ); ^rtp.h:77:56: error: unknown type name 'FILE' int RTP_process( void** pbuf, size_t* len, int verify, FILE* log ); ^rtp.h:88:1: error: unknown type name 'size_t' int RTP_verify( const char* buf, const size_t len, FILE* log ); ^rtp.h:88:52: error: unknown type name 'FILE' int RTP_verify( const char* buf, const size_t len, FILE* log ); ^rtp.h:101:1: error: unknown type name 'size_t' int RTP_hdrlen( const char* buf, const size_t len, size_t* hdrlen, ^rtp.h:101:52: error: unknown type name 'size_t' int RTP_hdrlen( const char* buf, const size_t len, size_t* hdrlen, ^rtp.h:102:21: error: unknown type name 'FILE' FILE* log ); ^In file included from udpxy.c:57:0:uopt.h:24:23: error: no include path in which to search for sys/types.h #include ^uopt.h:25:19: error: no include path in which to search for stdio.h #include ^uopt.h:26:18: error: no include path in which to search for time.h #include ^uopt.h:27:20: error: no include path in which to search for unistd.h #include ^uopt.h:35:1: error: unknown type name 'ssize_t' static const ssize_t MIN_MCACHE_LEN = 4 * 1024; ^uopt.h:36:1: error: unknown type name 'ssize_t' static const ssize_t MAX_MCACHE_LEN = 2048 * 1024; ^uopt.h:37:1: error: unknown type name 'ssize_t' static const ssize_t DEFAULT_CACHE_LEN = 2 * 1024; ^uopt.h:38:1: error: unknown type name 'u_short' static const u_short DEFAULT_MCAST_REFRESH = 0; ^uopt.h:40:1: error: unknown type name 'ssize_t' static const ssize_t MIN_SOCKBUF_LEN = (1024 * 64); ^uopt.h:49:5: error: unknown type name 'ssize_t' ssize_t rbuf_len; /* size of read buffer */ ^uopt.h:52:5: error: unknown type name 'u_short' u_short mcast_refresh; /* refresh rate (sec) for multicast ^uopt.h:55:5: error: unknown type name 'time_t' time_t rcv_tmout; /* receive (mcast) socket timeout */ ^uopt.h:56:5: error: unknown type name 'time_t' time_t dhold_tmout; /* timeout to hold buffered data (milisec) */ ^uopt.h:58:5: error: unknown type name 'time_t' time_t sr_tmout, /* server READ/RCV timeout (sec) */ ^uopt.h:84:5: error: unknown type name 'time_t' time_t bg_time; /* time to start recording */ ^uopt.h:85:5: error: unknown type name 'time_t' time_t end_time; /* time to end recording */ ^uopt.h:86:5: error: unknown type name 'int64_t' int64_t max_fsize; /* max size of dest file (in bytes) */ ^uopt.h:87:5: error: unknown type name 'ssize_t' ssize_t bufsize; /* size of receiving socket buffer */ ^uopt.h:98:5: error: unknown type name 'time_t' time_t rcv_tmout; /* receive (mcast) socket timeout */ ^uopt.h:99:5: error: unknown type name 'time_t' time_t sr_tmout, /* server READ/RCV timeout (sec) */ ^cc1: error: no include path in which to search for stdc-predef.huopt.h:142:16: error: unknown type name 'FILE' fprint_recopt( FILE* stream, struct udpxrec_opt* ro ); ^In file included from udpxy.c:59:0:netop.h:24:23: error: no include path in which to search for sys/types.h #include ^sloop.c:21:25: error: no include path in which to search for sys/syscall.h #include ^netop.h:73:9: error: unknown type name 'u_short' u_short rcv_tmout_sec, u_short rcv_tmout_usec, ^netop.h:73:32: error: unknown type name 'u_short' u_short rcv_tmout_sec, u_short rcv_tmout_usec, ^netop.h:74:9: error: unknown type name 'u_short' u_short snd_tmout_sec, u_short snd_tmout_usec ); ^In file included from sloop.c:36:0:sloop_s.c:3:23: error: no include path in which to search for sys/types.h #include ^netop.h:74:32: error: unknown type name 'u_short' u_short snd_tmout_sec, u_short snd_tmout_usec ); ^sloop_s.c:4:22: error: no include path in which to search for sys/time.h #include ^netop.h:80:1: error: unknown type name 'size_t' set_sendbuf( int sockfd, const size_t len ); ^sloop_s.c:5:22: error: no include path in which to search for sys/wait.h #include ^sloop_s.c:6:22: error: no include path in which to search for sys/stat.h #include ^netop.h:86:1: error: unknown type name 'size_t' set_rcvbuf( int sockfd, const size_t len ); ^sloop_s.c:7:24: error: no include path in which to search for sys/select.h #include ^sloop_s.c:8:24: error: no include path in which to search for sys/socket.h #include ^netop.h:92:26: error: unknown type name 'size_t' get_sendbuf( int sockfd, size_t* const len ); ^sloop_s.c:9:23: error: no include path in which to search for arpa/inet.h #include ^netop.h:98:25: error: unknown type name 'size_t' get_rcvbuf( int sockfd, size_t* const len ); ^sloop_s.c:11:24: error: no include path in which to search for netinet/in.h #include ^sloop_s.c:13:20: error: no include path in which to search for unistd.h #include ^netop.h:110:39: error: unknown type name 'size_t' get_sockinfo (int sockfd, char* addr, size_t alen, int* port); ^sloop_s.c:14:19: error: no include path in which to search for stdio.h #include ^sloop_s.c:15:20: error: no include path in which to search for string.h #include ^netop.h:112:39: error: unknown type name 'size_t' get_peerinfo (int sockfd, char* addr, size_t alen, int* port); ^sloop_s.c:16:20: error: no include path in which to search for stdlib.h #include ^sloop_s.c:17:20: error: no include path in which to search for signal.h #include ^sloop_s.c:18:19: error: no include path in which to search for errno.h #include ^udpxy.c:68:1: error: unknown type name 'size_t' extern const size_t CMD_UDP_LEN; ^sloop_s.c:19:20: error: no include path in which to search for assert.h #include ^udpxy.c:69:1: error: unknown type name 'size_t' extern const size_t CMD_STATUS_LEN; ^sloop_s.c:20:19: error: no include path in which to search for fcntl.h #include ^udpxy.c:70:1: error: unknown type name 'size_t' extern const size_t CMD_RESTART_LEN; ^sloop_s.c:21:20: error: no include path in which to search for syslog.h #include ^udpxy.c:71:1: error: unknown type name 'size_t' extern const size_t CMD_RTP_LEN; ^sloop_s.c:22:18: error: no include path in which to search for time.h #include ^sloop_s.c:23:21: error: no include path in which to search for sys/uio.h #include ^udpxy.c:78:1: error: unknown type name 'FILE' extern FILE* g_flog; ^udpxy.c:79:1: error: unknown type name 'sig_atomic_t' extern volatile sig_atomic_t g_quit; ^In file included from sloop_s.c:25:0, from sloop.c:36:osdef.h:24:24: error: no include path in which to search for sys/socket.h #include ^udpxy.c:93:1: error: unknown type name 'sig_atomic_t' static volatile sig_atomic_t g_childexit = 0; ^osdef.h:53:5: error: unknown type name 'socklen_t' typedef socklen_t a_socklen_t; ^udpxy.c: In function 'handle_quitsigs':udpxy.c:108:15: error: 'sig_atomic_t' undeclared (first use in this function) g_quit = (sig_atomic_t)1; ^udpxy.c:108:15: note: each undeclared identifier is reported only once for each function it appears inIn file included from sloop_s.c:26:0, from sloop.c:36:udpxy.h:24:23: error: no include path in which to search for sys/types.h #include ^udpxy.c:108:28: error: expected ';' before numeric constant g_quit = (sig_atomic_t)1; ^udpxy.c: At top level:udpxy.h:62:1: error: unknown type name 'u_short' typedef u_short flag_t; ^udpxy.c:118:1: error: unknown type name 'sig_atomic_t' sig_atomic_t must_quit() { return g_quit; } ^udpxy.c: In function 'handle_sigchld':udpxy.h:79:5: error: unknown type name 'time_t' time_t atime; ^udpxy.c:127:20: error: 'sig_atomic_t' undeclared (first use in this function) g_childexit = (sig_atomic_t)1; ^udpxy.c:127:33: error: expected ';' before numeric constant g_childexit = (sig_atomic_t)1; ^In file included from sloop_s.c:29:0, from sloop.c:36:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:25:19: error: no include path in which to search for stdio.h #include ^udpxy.c: In function 'wait_children':util.h:35:1: error: unknown type name 'ssize_t' ssize_t ^udpxy.c:143:5: error: unknown type name 'pid_t' pid_t pid; ^util.h:36:31: error: unknown type name 'size_t' save_buffer( const void* buf, size_t len, const char* filename ); ^util.h:41:1: error: unknown type name 'ssize_t' ssize_t ^util.h:42:42: error: unknown type name 'size_t' txtf_read (const char* fpath, char* dst, size_t maxlen, FILE* log); ^util.h:42:57: error: unknown type name 'FILE' txtf_read (const char* fpath, char* dst, size_t maxlen, FILE* log); ^util.h:49:24: error: unknown type name 'FILE' daemonize(int options, FILE* log); ^udpxy.c:161:26: error: 'ECHILD' undeclared (first use in this function) if( (-1 == pid) && ( ECHILD != errno ) ) { ^util.h:56:10: error: unknown type name 'FILE' mperror( FILE* fp, int err, const char* format, ... ); ^udpxy.c:161:36: error: 'errno' undeclared (first use in this function) if( (-1 == pid) && ( ECHILD != errno ) ) { ^util.h:62:34: error: unknown type name 'pid_t' make_pidfile( const char* fpath, pid_t pid, FILE* log ); ^util.h:62:45: error: unknown type name 'FILE' make_pidfile( const char* fpath, pid_t pid, FILE* log ); ^util.h:69:56: error: unknown type name 'size_t' set_pidfile( const char* appname, int port, char* buf, size_t len ); ^util.h:77:1: error: unknown type name 'ssize_t' ssize_t ^cc1: error: no include path in which to search for stdc-predef.hutil.h:78:1: error: unknown type name 'ssize_t' write_buf( int fd, const char* data, const ssize_t len, FILE* log ); ^udpxy.c: In function 'wait_terminated':util.h:78:57: error: unknown type name 'FILE' write_buf( int fd, const char* data, const ssize_t len, FILE* log ); ^udpxy.c:183:65: error: 'WNOHANG' undeclared (first use in this function) wait_terminated( struct server_ctx* ctx ) { wait_children( ctx, WNOHANG ); } ^util.h:82:1: error: unknown type name 'ssize_t' ssize_t ^udpxy.c: At top level:util.h:83:1: error: unknown type name 'ssize_t' read_buf( int fd, char* buf, const ssize_t len, FILE* log ); ^udpxy.c:188:12: error: unknown type name 'FILE' print_fds (FILE* fp, const char* msg, tmfd_t* asock, size_t len) ^util.h:83:49: error: unknown type name 'FILE' read_buf( int fd, char* buf, const ssize_t len, FILE* log ); ^udpxy.c:188:54: error: unknown type name 'size_t' print_fds (FILE* fp, const char* msg, tmfd_t* asock, size_t len) ^util.c:21:22: error: no include path in which to search for sys/stat.h #include ^util.h:88:46: error: unknown type name 'size_t' hex_dump( const char* msg, const char* data, size_t len, FILE* log ); ^util.c:22:25: error: no include path in which to search for sys/utsname.h #include ^util.h:88:58: error: unknown type name 'FILE' hex_dump( const char* msg, const char* data, size_t len, FILE* log ); ^util.c:24:19: error: no include path in which to search for fcntl.h #include ^util.h:93:29: error: unknown type name 'ssize_t' sizecheck( const char* msg, ssize_t expct, ssize_t len, ^udpxy.c: In function 'read_command':util.c:25:19: error: no include path in which to search for stdio.h #include ^util.c:26:23: error: no include path in which to search for sys/types.h #include ^util.h:93:44: error: unknown type name 'ssize_t' sizecheck( const char* msg, ssize_t expct, ssize_t len, ^udpxy.c:212:5: error: unknown type name 'ssize_t' ssize_t hlen; ^util.c:27:20: error: no include path in which to search for assert.h #include ^util.h:94:15: error: unknown type name 'FILE' FILE* log, const char* func ); ^util.c:28:19: error: no include path in which to search for errno.h #include ^udpxy.c:213:5: error: unknown type name 'size_t' size_t rlen; ^util.c:29:20: error: no include path in which to search for unistd.h #include ^util.h:101:31: error: unknown type name 'size_t' buf_overrun( const char* buf, size_t buflen, ^util.c:30:20: error: no include path in which to search for signal.h #include ^util.h:102:14: error: unknown type name 'size_t' size_t offset, size_t dlen, ^util.c:31:20: error: no include path in which to search for stdlib.h #include ^util.c:32:20: error: no include path in which to search for syslog.h #include ^util.h:102:29: error: unknown type name 'size_t' size_t offset, size_t dlen, ^util.c:33:20: error: no include path in which to search for string.h #include ^udpxy.c:222:14: error: 'errno' undeclared (first use in this function) rc = errno; ^util.h:103:14: error: unknown type name 'FILE' FILE* log ); ^util.c:34:20: error: no include path in which to search for stdarg.h #include ^util.c:35:22: error: no include path in which to search for sys/time.h #include ^util.h:109:12: error: unknown type name 'FILE' tmfprintf( FILE* stream, const char* format, ... ); ^util.c:36:18: error: no include path in which to search for time.h #include ^util.c:37:19: error: no include path in which to search for ctype.h #include ^util.h:115:25: error: unknown type name 'FILE' tmfputs( const char* s, FILE* stream ); ^util.c:38:20: error: no include path in which to search for limits.h #include ^util.h:121:13: error: unknown type name 'FILE' printcmdln( FILE* stream, const char* msg, ^udpxy.c:241:33: error: 'size_t' undeclared (first use in this function) rc = get_request( httpbuf, (size_t)hlen, request, &rlen ); ^In file included from util.c:40:0:util.h:24:23: error: no include path in which to search for sys/types.h #include ^util.h:133:26: error: unknown type name 'time_t' a2time( const char* str, time_t* t, time_t from ); ^util.h:25:19: error: no include path in which to search for stdio.h #include ^udpxy.c:241:40: error: expected ')' before 'hlen' rc = get_request( httpbuf, (size_t)hlen, request, &rlen ); ^util.h:133:37: error: unknown type name 'time_t' a2time( const char* str, time_t* t, time_t from ); ^util.h:35:1: error: unknown type name 'ssize_t' ssize_t ^util.h:143:26: error: unknown type name 'ssize_t' a2size( const char* str, ssize_t* pval ); ^util.h:36:31: error: unknown type name 'size_t' save_buffer( const void* buf, size_t len, const char* filename ); ^In file included from udpxy.c:47:0:udpxy.c:245:27: error: 'u_long' undeclared (first use in this function) request, (u_long)rlen ) ); ^mtrace.h:28:28: note: in definition of macro 'TRACE' #define TRACE( expr ) (expr) ^util.h:146:27: error: unknown type name 'int64_t' a2int64( const char* str, int64_t* pval ); ^util.h:41:1: error: unknown type name 'ssize_t' ssize_t ^util.h:42:42: error: unknown type name 'size_t' txtf_read (const char* fpath, char* dst, size_t maxlen, FILE* log); ^udpxy.c:245:34: error: expected ')' before 'rlen' request, (u_long)rlen ) ); ^mtrace.h:28:28: note: in definition of macro 'TRACE' #define TRACE( expr ) (expr) ^util.h:42:57: error: unknown type name 'FILE' txtf_read (const char* fpath, char* dst, size_t maxlen, FILE* log); ^util.h:159:20: error: unknown type name 'FILE' set_nice( int val, FILE* log ); ^util.h:49:24: error: unknown type name 'FILE' daemonize(int options, FILE* log); ^udpxy.c:247:12: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] (void) memset( &srv->rq, 0, sizeof(srv->rq) ); ^util.h:166:38: error: unknown type name 'ssize_t' check_fragments( const char* action, ssize_t total, ssize_t n_was, ssize_t n_is, ^util.h:56:10: error: unknown type name 'FILE' mperror( FILE* fp, int err, const char* format, ... ); ^util.h:166:53: error: unknown type name 'ssize_t' check_fragments( const char* action, ssize_t total, ssize_t n_was, ssize_t n_is, ^util.h:62:34: error: unknown type name 'pid_t' make_pidfile( const char* fpath, pid_t pid, FILE* log ); ^util.h:166:68: error: unknown type name 'ssize_t' check_fragments( const char* action, ssize_t total, ssize_t n_was, ssize_t n_is, ^util.h:62:45: error: unknown type name 'FILE' make_pidfile( const char* fpath, pid_t pid, FILE* log ); ^udpxy.c: At top level:util.h:69:56: error: unknown type name 'size_t' set_pidfile( const char* appname, int port, char* buf, size_t len ); ^util.h:167:18: error: unknown type name 'ssize_t' ssize_t delta, FILE* log ); ^udpxy.c:264:12: error: unknown type name 'pid_t' terminate( pid_t pid ) ^util.h:77:1: error: unknown type name 'ssize_t' ssize_t ^util.h:167:33: error: unknown type name 'FILE' ssize_t delta, FILE* log ); ^util.h:78:1: error: unknown type name 'ssize_t' write_buf( int fd, const char* data, const ssize_t len, FILE* log ); ^util.h:171:1: error: unknown type name 'int32_t' static const int32_t TVSTAMP_GMT = 1; ^util.h:78:57: error: unknown type name 'FILE' write_buf( int fd, const char* data, const ssize_t len, FILE* log ); ^udpxy.c: In function 'terminate_all_clients':util.h:82:1: error: unknown type name 'ssize_t' ssize_t ^udpxy.c:292:5: error: unknown type name 'size_t' size_t i; ^util.h:174:50: error: unknown type name 'size_t' mk_tvstamp( const struct timeval* tv, char* buf, size_t* len, ^util.h:83:1: error: unknown type name 'ssize_t' read_buf( int fd, char* buf, const ssize_t len, FILE* log ); ^util.h:175:14: error: unknown type name 'int32_t' int32_t flags ); ^udpxy.c:293:5: error: unknown type name 'pid_t' pid_t pid; ^util.h:83:49: error: unknown type name 'FILE' read_buf( int fd, char* buf, const ssize_t len, FILE* log ); ^util.h:180:1: error: unknown type name 'time_t' time_t ^util.h:88:46: error: unknown type name 'size_t' hex_dump( const char* msg, const char* data, size_t len, FILE* log ); ^util.h:88:58: error: unknown type name 'FILE' hex_dump( const char* msg, const char* data, size_t len, FILE* log ); ^util.h:181:1: error: unknown type name 'time_t' get_timeval( const char* envar, const time_t deflt ); ^udpxy.c: In function 'send_http_response':util.h:93:29: error: unknown type name 'ssize_t' sizecheck( const char* msg, ssize_t expct, ssize_t len, ^util.h:93:44: error: unknown type name 'ssize_t' sizecheck( const char* msg, ssize_t expct, ssize_t len, ^udpxy.c:310:5: error: unknown type name 'ssize_t' ssize_t nsent; ^util.h:193:1: error: unknown type name 'ssize_t' ssize_t ^util.h:94:15: error: unknown type name 'FILE' FILE* log, const char* func ); ^util.h:194:1: error: unknown type name 'ssize_t' get_sizeval( const char* envar, const ssize_t deflt ); ^util.h:101:31: error: unknown type name 'size_t' buf_overrun( const char* buf, size_t buflen, ^util.h:102:14: error: unknown type name 'size_t' size_t offset, size_t dlen, ^udpxy.c:319:18: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default] msglen = snprintf( msg, sizeof(msg) - 1, "HTTP/1.1 %d %s\r\nServer: %s\r\n%s\r\n%s\r\n\r\n", ^util.h:102:29: error: unknown type name 'size_t' size_t offset, size_t dlen, ^util.h:103:14: error: unknown type name 'FILE' FILE* log ); ^util.h:220:46: error: unknown type name 'size_t' mk_app_info(const char *appname, char *info, size_t infolen); ^util.h:109:12: error: unknown type name 'FILE' tmfprintf( FILE* stream, const char* format, ... ); ^udpxy.c:323:18: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default] msglen = snprintf( msg, sizeof(msg) - 1, "HTTP/1.1 %d %s\r\nServer: %s\r\n%s\r\n\r\n", ^In file included from sloop_s.c:31:0, from sloop.c:36:ctx.h:25:23: error: no include path in which to search for sys/types.h #include ^util.h:115:25: error: unknown type name 'FILE' tmfputs( const char* s, FILE* stream ); ^ctx.h:26:20: error: no include path in which to search for unistd.h #include ^ctx.h:27:24: error: no include path in which to search for netinet/in.h #include ^util.h:121:13: error: unknown type name 'FILE' printcmdln( FILE* stream, const char* msg, ^In file included from ctx.h:30:0, from sloop_s.c:31, from sloop.c:36:dpkt.h:24:19: error: no include path in which to search for stdio.h #include ^udpxy.c:330:15: error: 'errno' undeclared (first use in this function) err = errno; ^util.h:133:26: error: unknown type name 'time_t' a2time( const char* str, time_t* t, time_t from ); ^dpkt.h:34:5: error: unknown type name 'int32_t' int32_t flags; ^util.h:133:37: error: unknown type name 'time_t' a2time( const char* str, time_t* t, time_t from ); ^dpkt.h:35:5: error: unknown type name 'size_t' size_t mtu; ^util.h:143:26: error: unknown type name 'ssize_t' a2size( const char* str, ssize_t* pval ); ^dpkt.h:38:5: error: unknown type name 'int32_t' int32_t max_pkt, ^udpxy.c: At top level:util.h:146:27: error: unknown type name 'int64_t' a2int64( const char* str, int64_t* pval ); ^dpkt.h:44:1: error: unknown type name 'int32_t' static const int32_t F_DROP_PACKET = (1 << 1); ^udpxy.c:350:35: error: unknown type name 'time_t' check_mcast_refresh( int msockfd, time_t* last_tm, ^util.h:159:20: error: unknown type name 'FILE' set_nice( int val, FILE* log ); ^dpkt.h:45:1: error: unknown type name 'int32_t' static const int32_t F_CHECK_FMT = (1 << 2); ^udpxy.c:375:27: error: unknown type name 'ssize_t' pause_detect( int ntrans, ssize_t max_pause_msec, time_t* p_pause ) ^dpkt.h:46:1: error: unknown type name 'int32_t' static const int32_t F_SCATTERED = (1 << 3); ^util.h:166:38: error: unknown type name 'ssize_t' check_fragments( const char* action, ssize_t total, ssize_t n_was, ssize_t n_is, ^dpkt.h:47:1: error: unknown type name 'int32_t' static const int32_t F_FILE_INPUT = (1 << 4); ^udpxy.c:375:51: error: unknown type name 'time_t' pause_detect( int ntrans, ssize_t max_pause_msec, time_t* p_pause ) ^util.h:166:53: error: unknown type name 'ssize_t' check_fragments( const char* action, ssize_t total, ssize_t n_was, ssize_t n_is, ^util.h:166:68: error: unknown type name 'ssize_t' check_fragments( const char* action, ssize_t total, ssize_t n_was, ssize_t n_is, ^dpkt.h:62:27: error: unknown type name 'FILE' get_fstream_type( int fd, FILE* log ); ^util.h:167:18: error: unknown type name 'ssize_t' ssize_t delta, FILE* log ); ^dpkt.h:67:37: error: unknown type name 'size_t' get_mstream_type( const char* data, size_t len, FILE* log ); ^util.h:167:33: error: unknown type name 'FILE' ssize_t delta, FILE* log ); ^udpxy.c:416:20: error: unknown type name 'ssize_t' calc_buf_settings( ssize_t* bufmsgs, size_t* sock_buflen ) ^dpkt.h:67:49: error: unknown type name 'FILE' get_mstream_type( const char* data, size_t len, FILE* log ); ^util.h:171:1: error: unknown type name 'int32_t' static const int32_t TVSTAMP_GMT = 1; ^dpkt.h:72:1: error: unknown type name 'ssize_t' ssize_t ^udpxy.c:416:38: error: unknown type name 'size_t' calc_buf_settings( ssize_t* bufmsgs, size_t* sock_buflen ) ^dpkt.h:73:1: error: unknown type name 'size_t' read_frecord( int fd, char* data, const size_t len, ^util.h:174:50: error: unknown type name 'size_t' mk_tvstamp( const struct timeval* tv, char* buf, size_t* len, ^dpkt.h:74:37: error: unknown type name 'FILE' upxfmt_t* stream_type, FILE* log ); ^dpkt.h:80:1: error: unknown type name 'ssize_t' ssize_t ^util.h:175:14: error: unknown type name 'int32_t' int32_t flags ); ^udpxy.c: In function 'sync_dsockbuf_len':dpkt.h:81:42: error: unknown type name 'size_t' write_frecord( int fd, const char* data, size_t len, ^util.h:180:1: error: unknown type name 'time_t' time_t ^udpxy.c:466:5: error: unknown type name 'size_t' size_t curr_sendbuf_len = 0, curr_rcvbuf_len = 0; ^dpkt.h:82:45: error: unknown type name 'FILE' upxfmt_t sfmt, upxfmt_t dfmt, FILE* log ); ^util.h:181:1: error: unknown type name 'time_t' get_timeval( const char* envar, const time_t deflt ); ^dpkt.h:102:19: error: unknown type name 'ssize_t' ssize_t nmsgs ); ^util.h:193:1: error: unknown type name 'ssize_t' ssize_t ^dpkt.h:110:5: error: unknown type name 'time_t' time_t buf_tmout; /* max time (sec) to hold data in buffer */ ^util.h:194:1: error: unknown type name 'ssize_t' get_sizeval( const char* envar, const ssize_t deflt ); ^udpxy.c: In function 'relay_traffic':dpkt.h:113:1: error: unknown type name 'ssize_t' ssize_t ^dpkt.h:115:12: error: unknown type name 'ssize_t' const ssize_t data_len, const struct rdata_opt* opt ); ^util.h:220:46: error: unknown type name 'size_t' mk_app_info(const char *appname, char *info, size_t infolen); ^udpxy.c:500:5: error: unknown type name 'sig_atomic_t' volatile sig_atomic_t quit = 0; ^dpkt.h:120:1: error: unknown type name 'ssize_t' ssize_t ^In file included from util.c:41:0:uopt.h:24:23: error: no include path in which to search for sys/types.h #include ^udpxy.c:503:5: error: unknown type name 'ssize_t' ssize_t nmsgs = -1; ^dpkt.h:123:13: error: unknown type name 'ssize_t' const ssize_t len, ^uopt.h:25:19: error: no include path in which to search for stdio.h #include ^uopt.h:26:18: error: no include path in which to search for time.h #include ^In file included from sloop_s.c:31:0, from sloop.c:36:ctx.h:39:5: error: unknown type name 'int32_t' int32_t sender_id; ^uopt.h:27:20: error: no include path in which to search for unistd.h #include ^udpxy.c:504:5: error: unknown type name 'ssize_t' ssize_t nrcv = 0, nsent = 0, nwr = 0, ^ctx.h:47:5: error: unknown type name 'pid_t' pid_t pid; ^In file included from uopt.h:29:0, from util.c:41:udpxy.h:24:23: error: no include path in which to search for sys/types.h #include ^udpxy.c:506:19: error: 'NULL' undeclared (first use in this function) char* data = NULL; ^ctx.h:49:5: error: unknown type name 'uint16_t' uint16_t mcast_port; ^udpxy.c:507:5: error: unknown type name 'size_t' size_t data_len = g_uopt.rbuf_len; ^udpxy.h:62:1: error: unknown type name 'u_short' typedef u_short flag_t; ^ctx.h:51:5: error: unknown type name 'uint16_t' uint16_t src_port; ^udpxy.c:509:5: error: unknown type name 'time_t' time_t pause_time = 0, rfr_tm = time(NULL); ^udpxy.h:79:5: error: unknown type name 'time_t' time_t atime; ^ctx.h:63:5: error: unknown type name 'pid_t' pid_t pid; /* our PID - cached */ ^ctx.h:64:5: error: unknown type name 'time_t' time_t tm_from; /* last time update sent (successfully) */ ^udpxy.c:510:5: error: unknown type name 'sigset_t' sigset_t ubset; ^In file included from util.c:41:0:uopt.h:35:1: error: unknown type name 'ssize_t' static const ssize_t MIN_MCACHE_LEN = 4 * 1024; ^uopt.h:36:1: error: unknown type name 'ssize_t' static const ssize_t MAX_MCACHE_LEN = 2048 * 1024; ^udpxy.c:513:5: error: unknown type name 'ssize_t' const ssize_t MAX_PAUSE_MSEC = ^uopt.h:37:1: error: unknown type name 'ssize_t' static const ssize_t DEFAULT_CACHE_LEN = 2 * 1024; ^ctx.h:83:5: error: unknown type name 'uint16_t' uint16_t listen_port; ^uopt.h:38:1: error: unknown type name 'u_short' static const u_short DEFAULT_MCAST_REFRESH = 0; ^ctx.h:86:17: error: field 'mcast_inaddr' has incomplete type mcast_inaddr; ^uopt.h:40:1: error: unknown type name 'ssize_t' static const ssize_t MIN_SOCKBUF_LEN = (1024 * 64); ^udpxy.c:517:5: error: unknown type name 'ssize_t' static const ssize_t t_delta = 0x20; ^ctx.h:90:5: error: unknown type name 'size_t' size_t clfree, ^uopt.h:49:5: error: unknown type name 'ssize_t' ssize_t rbuf_len; /* size of read buffer */ ^ctx.h:94:5: error: unknown type name 'u_short' u_short rcv_tmout, /* receive/send timeout */ ^uopt.h:52:5: error: unknown type name 'u_short' u_short mcast_refresh; /* refresh rate (sec) for multicast ^uopt.h:55:5: error: unknown type name 'time_t' time_t rcv_tmout; /* receive (mcast) socket timeout */ ^udpxy.c:527:24: error: 'SIGINT' undeclared (first use in this function) sigaddset (&ubset, SIGINT); ^ctx.h:105:18: error: unknown type name 'size_t' const size_t max, ^uopt.h:56:5: error: unknown type name 'time_t' time_t dhold_tmout; /* timeout to hold buffered data (milisec) */ ^ctx.h:107:18: error: unknown type name 'uint16_t' uint16_t lport, ^uopt.h:58:5: error: unknown type name 'time_t' time_t sr_tmout, /* server READ/RCV timeout (sec) */ ^udpxy.c:528:24: error: 'SIGQUIT' undeclared (first use in this function) sigaddset (&ubset, SIGQUIT); ^ctx.h:119:44: error: unknown type name 'pid_t' find_client( const struct server_ctx* ctx, pid_t pid ); ^udpxy.c:529:24: error: 'SIGTERM' undeclared (first use in this function) sigaddset (&ubset, SIGTERM); ^ctx.h:126:13: error: unknown type name 'pid_t' pid_t cpid, const char* maddr, uint16_t mport, ^ctx.h:126:44: error: unknown type name 'uint16_t' pid_t cpid, const char* maddr, uint16_t mport, ^uopt.h:84:5: error: unknown type name 'time_t' time_t bg_time; /* time to start recording */ ^udpxy.c:532:23: error: 'SIG_UNBLOCK' undeclared (first use in this function) rc = sigprocmask (SIG_UNBLOCK, &ubset, NULL); ^ctx.h:133:40: error: unknown type name 'pid_t' delete_client( struct server_ctx* ctx, pid_t cpid ); ^uopt.h:85:5: error: unknown type name 'time_t' time_t end_time; /* time to end recording */ ^uopt.h:86:5: error: unknown type name 'int64_t' int64_t max_fsize; /* max size of dest file (in bytes) */ ^udpxy.c:534:26: error: 'errno' undeclared (first use in this function) mperror (g_flog, errno, "%s: sigprocmask", __func__); ^uopt.h:87:5: error: unknown type name 'ssize_t' ssize_t bufsize; /* size of receiving socket buffer */ ^ctx.h:146:36: error: unknown type name 'ssize_t' struct tps_data* d, ssize_t nbytes ); ^In file included from sloop_s.c:32:0, from sloop.c:36:uopt.h:24:23: error: no include path in which to search for sys/types.h #include ^uopt.h:98:5: error: unknown type name 'time_t' time_t rcv_tmout; /* receive (mcast) socket timeout */ ^uopt.h:25:19: error: no include path in which to search for stdio.h #include ^uopt.h:99:5: error: unknown type name 'time_t' time_t sr_tmout, /* server READ/RCV timeout (sec) */ ^uopt.h:26:18: error: no include path in which to search for time.h #include ^uopt.h:27:20: error: no include path in which to search for unistd.h #include ^uopt.h:35:1: error: unknown type name 'ssize_t' static const ssize_t MIN_MCACHE_LEN = 4 * 1024; ^uopt.h:142:16: error: unknown type name 'FILE' fprint_recopt( FILE* stream, struct udpxrec_opt* ro ); ^uopt.h:36:1: error: unknown type name 'ssize_t' static const ssize_t MAX_MCACHE_LEN = 2048 * 1024; ^udpxy.c:580:16: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default] data = malloc(data_len); ^uopt.h:37:1: error: unknown type name 'ssize_t' static const ssize_t DEFAULT_CACHE_LEN = 2 * 1024; ^uopt.h:38:1: error: unknown type name 'u_short' static const u_short DEFAULT_MCAST_REFRESH = 0; ^In file included from util.c:43:0:osdef.h:24:24: error: no include path in which to search for sys/socket.h #include ^uopt.h:40:1: error: unknown type name 'ssize_t' static const ssize_t MIN_SOCKBUF_LEN = (1024 * 64); ^osdef.h:53:5: error: unknown type name 'socklen_t' typedef socklen_t a_socklen_t; ^uopt.h:49:5: error: unknown type name 'ssize_t' ssize_t rbuf_len; /* size of read buffer */ ^uopt.h:52:5: error: unknown type name 'u_short' u_short mcast_refresh; /* refresh rate (sec) for multicast ^uopt.h:55:5: error: unknown type name 'time_t' time_t rcv_tmout; /* receive (mcast) socket timeout */ ^uopt.h:56:5: error: unknown type name 'time_t' time_t dhold_tmout; /* timeout to hold buffered data (milisec) */ ^util.c:58:1: error: unknown type name 'ssize_t' ssize_t ^uopt.h:58:5: error: unknown type name 'time_t' time_t sr_tmout, /* server READ/RCV timeout (sec) */ ^util.c:59:31: error: unknown type name 'size_t' save_buffer( const void* buf, size_t len, const char* filename ) ^util.c:98:1: error: unknown type name 'ssize_t' ssize_t ^uopt.h:84:5: error: unknown type name 'time_t' time_t bg_time; /* time to start recording */ ^util.c:99:42: error: unknown type name 'size_t' txtf_read (const char* fpath, char* dst, size_t maxlen, FILE* log) ^udpxy.c:650:24: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] if( NULL != data ) free( data ); ^util.c:99:57: error: unknown type name 'FILE' txtf_read (const char* fpath, char* dst, size_t maxlen, FILE* log) ^uopt.h:85:5: error: unknown type name 'time_t' time_t end_time; /* time to end recording */ ^uopt.h:86:5: error: unknown type name 'int64_t' int64_t max_fsize; /* max size of dest file (in bytes) */ ^uopt.h:87:5: error: unknown type name 'ssize_t' ssize_t bufsize; /* size of receiving socket buffer */ ^udpxy.c: In function 'udp_relay':util.c:139:24: error: unknown type name 'FILE' daemonize(int options, FILE* log) ^uopt.h:98:5: error: unknown type name 'time_t' time_t rcv_tmout; /* receive (mcast) socket timeout */ ^uopt.h:99:5: error: unknown type name 'time_t' time_t sr_tmout, /* server READ/RCV timeout (sec) */ ^udpxy.c:668:25: error: storage size of 'addr' isn't known struct sockaddr_in addr; ^udpxy.c:670:5: error: unknown type name 'uint16_t' uint16_t port; ^util.c:204:10: error: unknown type name 'FILE' mperror( FILE* fp, int err, const char* format, ... ) ^uopt.h:142:16: error: unknown type name 'FILE' fprint_recopt( FILE* stream, struct udpxrec_opt* ro ); ^udpxy.c:671:5: error: unknown type name 'pid_t' pid_t new_pid; ^util.c: In function 'wlock_file':In file included from sloop_s.c:33:0, from sloop.c:36:netop.h:24:23: error: no include path in which to search for sys/types.h #include ^util.c:233:19: error: storage size of 'lck' isn't known struct flock lck; ^udpxy.c:676:5: error: unknown type name 'size_t' size_t rcvbuf_len = 0; ^util.c:235:23: error: 'F_WRLCK' undeclared (first use in this function) lck.l_type = F_WRLCK; ^util.c:235:23: note: each undeclared identifier is reported only once for each function it appears innetop.h:73:9: error: unknown type name 'u_short' u_short rcv_tmout_sec, u_short rcv_tmout_usec, ^netop.h:73:32: error: unknown type name 'u_short' u_short rcv_tmout_sec, u_short rcv_tmout_usec, ^util.c:237:23: error: 'SEEK_SET' undeclared (first use in this function) lck.l_whence = SEEK_SET; ^netop.h:74:9: error: unknown type name 'u_short' u_short snd_tmout_sec, u_short snd_tmout_usec ); ^netop.h:74:32: error: unknown type name 'u_short' u_short snd_tmout_sec, u_short snd_tmout_usec ); ^util.c:240:23: error: 'F_SETLK' undeclared (first use in this function) return fcntl( fd, F_SETLK, &lck ); ^netop.h:80:1: error: unknown type name 'size_t' set_sendbuf( int sockfd, const size_t len ); ^util.c: At top level:netop.h:86:1: error: unknown type name 'size_t' set_rcvbuf( int sockfd, const size_t len ); ^udpxy.c:699:27: error: 'AF_INET' undeclared (first use in this function) addr.sin_family = AF_INET; ^util.c:246:34: error: unknown type name 'pid_t' make_pidfile( const char* fpath, pid_t pid, FILE* log ) ^netop.h:92:26: error: unknown type name 'size_t' get_sendbuf( int sockfd, size_t* const len ); ^netop.h:98:25: error: unknown type name 'size_t' get_rcvbuf( int sockfd, size_t* const len ); ^util.c:246:45: error: unknown type name 'FILE' make_pidfile( const char* fpath, pid_t pid, FILE* log ) ^netop.h:110:39: error: unknown type name 'size_t' get_sockinfo (int sockfd, char* addr, size_t alen, int* port); ^netop.h:112:39: error: unknown type name 'size_t' get_peerinfo (int sockfd, char* addr, size_t alen, int* port); ^In file included from sloop.c:36:0:sloop_s.c:35:1: error: unknown type name 'FILE' extern FILE* g_flog; ^udpxy.c:733:50: error: 'F_GETFL' undeclared (first use in this function) if( -1 == (flags = fcntl( ctx->cpipe[1], F_GETFL )) || ^sloop_s.c:38:1: error: unknown type name 'sig_atomic_t' extern sig_atomic_t must_quit(); ^util.c:314:56: error: unknown type name 'size_t' set_pidfile( const char* appname, int port, char* buf, size_t len ) ^sloop_s.c:40:54: error: unknown type name 'size_t' extern void tmout_requests (tmfd_t* asock, size_t *alen); ^sloop_s.c:41:54: error: unknown type name 'size_t' extern void process_requests (tmfd_t* asock, size_t *alen, ^sloop_s.c:42:39: error: unknown type name 'fd_set' fd_set* rset, struct server_ctx* srv); ^udpxy.c:734:41: error: 'F_SETFL' undeclared (first use in this function) -1 == fcntl( ctx->cpipe[1], F_SETFL, flags | O_NONBLOCK ) ) { ^util.c: In function 'would_block':sloop_s.c:43:66: error: unknown type name 'size_t' extern void accept_requests (int sockfd, tmfd_t* asock, size_t* alen); ^util.c:335:13: error: 'EAGAIN' undeclared (first use in this function) return (EAGAIN == err) || (EWOULDBLOCK == err); ^udpxy.c:734:58: error: 'O_NONBLOCK' undeclared (first use in this function) -1 == fcntl( ctx->cpipe[1], F_SETFL, flags | O_NONBLOCK ) ) { ^util.c:335:32: error: 'EWOULDBLOCK' undeclared (first use in this function) return (EAGAIN == err) || (EWOULDBLOCK == err); ^sloop_s.c: In function 'srv_loop':util.c: In function 'no_fault':sloop_s.c:61:25: error: storage size of 'mcast_inaddr' isn't known struct in_addr mcast_inaddr; ^udpxy.c:735:30: error: 'errno' undeclared (first use in this function) mperror( g_flog, errno, "%s: fcntl", __func__ ); ^sloop_s.c:62:5: error: unknown type name 'fd_set' fd_set rset; ^util.c:342:13: error: 'EPIPE' undeclared (first use in this function) return (EPIPE == err) || (ECONNRESET == err) || would_block(err); ^sloop_s.c:63:25: error: storage size of 'tmout' isn't known struct timeval tmout, idle_tmout, *ptmout = NULL; ^sloop_s.c:63:32: error: storage size of 'idle_tmout' isn't known struct timeval tmout, idle_tmout, *ptmout = NULL; ^util.c:342:31: error: 'ECONNRESET' undeclared (first use in this function) return (EPIPE == err) || (ECONNRESET == err) || would_block(err); ^sloop_s.c:63:54: error: 'NULL' undeclared (first use in this function) struct timeval tmout, idle_tmout, *ptmout = NULL; ^sloop_s.c:63:54: note: each undeclared identifier is reported only once for each function it appears inutil.c: At top level:sloop_s.c:65:5: error: unknown type name 'size_t' size_t n = 0, nasock = 0, max_nasock = LQ_BACKLOG; ^udpxy.c:740:13: error: 'NULL' undeclared (first use in this function) if( NULL != g_uopt.dstfile ) { ^util.c:348:1: error: unknown type name 'ssize_t' ssize_t ^sloop_s.c:66:5: error: unknown type name 'sigset_t' sigset_t oset, bset; ^util.c:349:1: error: unknown type name 'ssize_t' write_buf( int fd, const char* data, const ssize_t len, FILE* log ) ^udpxy.c:741:20: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default] (void) snprintf( dfile_name, MAXPATHLEN - 1, ^util.c:349:57: error: unknown type name 'FILE' write_buf( int fd, const char* data, const ssize_t len, FILE* log ) ^sloop_s.c:74:13: warning: incompatible implicit declaration of built-in function 'calloc' [enabled by default] asock = calloc (max_nasock, sizeof(*asock)); ^udpxy.c:743:42: error: 'S_IRUSR' undeclared (first use in this function) dfilefd = creat( dfile_name, S_IRUSR | S_IWUSR | S_IRGRP ); ^sloop_s.c:76:26: error: 'ENOMEM' undeclared (first use in this function) mperror (g_flog, ENOMEM, "%s: calloc", __func__); ^udpxy.c:743:52: error: 'S_IWUSR' undeclared (first use in this function) dfilefd = creat( dfile_name, S_IRUSR | S_IWUSR | S_IRGRP ); ^sloop_s.c:81:25: error: 'errno' undeclared (first use in this function) mperror(g_flog, errno, "%s: inet_aton", __func__); ^util.c:402:1: error: unknown type name 'ssize_t' ssize_t ^udpxy.c:743:62: error: 'S_IRGRP' undeclared (first use in this function) dfilefd = creat( dfile_name, S_IRUSR | S_IWUSR | S_IRGRP ); ^util.c:403:1: error: unknown type name 'ssize_t' read_buf( int fd, char* data, const ssize_t len, FILE* log ) ^sloop_s.c:86:49: error: 'uint16_t' undeclared (first use in this function) (ipaddr[0] ? ipaddr : "0.0.0.0") , (uint16_t)port, mcast_addr ); ^sloop_s.c:86:58: error: expected ')' before 'port' (ipaddr[0] ? ipaddr : "0.0.0.0") , (uint16_t)port, mcast_addr ); ^util.c:403:50: error: unknown type name 'FILE' read_buf( int fd, char* data, const ssize_t len, FILE* log ) ^sloop_s.c:88:24: error: 'u_short' undeclared (first use in this function) g_srv.rcv_tmout = (u_short)g_uopt.rcv_tmout; ^sloop_s.c:88:32: error: expected ';' before 'g_uopt' g_srv.rcv_tmout = (u_short)g_uopt.rcv_tmout; ^udpxy.c:757:45: error: 'O_RDONLY' undeclared (first use in this function) sfilefd = open( g_uopt.srcfile, O_RDONLY | O_NOCTTY ); ^udpxy.c:757:56: error: 'O_NOCTTY' undeclared (first use in this function) sfilefd = open( g_uopt.srcfile, O_RDONLY | O_NOCTTY ); ^sloop_s.c:99:23: error: 'SIGINT' undeclared (first use in this function) sigaddset (&bset, SIGINT); ^util.c:453:46: error: unknown type name 'size_t' hex_dump( const char* msg, const char* data, size_t len, FILE* log ) ^sloop_s.c:100:23: error: 'SIGQUIT' undeclared (first use in this function) sigaddset (&bset, SIGQUIT); ^sloop_s.c:101:23: error: 'SIGCHLD' undeclared (first use in this function) sigaddset (&bset, SIGCHLD); ^util.c:453:58: error: unknown type name 'FILE' hex_dump( const char* msg, const char* data, size_t len, FILE* log ) ^sloop_s.c:102:23: error: 'SIGTERM' undeclared (first use in this function) sigaddset (&bset, SIGTERM); ^sloop_s.c:104:25: error: 'SIG_BLOCK' undeclared (first use in this function) (void) sigprocmask (SIG_BLOCK, &bset, &oset); ^util.c:472:29: error: unknown type name 'ssize_t' sizecheck( const char* msg, ssize_t expct, ssize_t len, ^udpxy.c:809:20: error: 'stderr' undeclared (first use in this function) if( g_flog && (stderr != g_flog) ) { ^util.c:472:44: error: unknown type name 'ssize_t' sizecheck( const char* msg, ssize_t expct, ssize_t len, ^sloop_s.c:114:22: error: 'size_t' undeclared (first use in this function) for (i = 0; (size_t)i < nasock; ++i) { ^sloop_s.c:114:29: error: expected ';' before 'i' for (i = 0; (size_t)i < nasock; ++i) { ^util.c:473:15: error: unknown type name 'FILE' FILE* log, const char* func ) ^udpxy.c:816:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit(rc); /* child exits */ ^udpxy.c: In function 'report_status':util.c:493:31: error: unknown type name 'size_t' buf_overrun( const char* buf, size_t buflen, ^udpxy.c:827:17: error: 'NULL' undeclared (first use in this function) char *buf = NULL; ^util.c:494:14: error: unknown type name 'size_t' size_t offset, size_t dlen, ^sloop_s.c:134:29: error: dereferencing pointer to incomplete type if (ptmout && ptmout->tv_sec) { ^util.c:494:29: error: unknown type name 'size_t' size_t offset, size_t dlen, ^udpxy.c:829:5: error: unknown type name 'ssize_t' ssize_t n = -1; ^In file included from sloop_s.c:28:0, from sloop.c:36:sloop_s.c:136:38: error: dereferencing pointer to incomplete type "[%ld] seconds\n", ptmout->tv_sec) ); ^mtrace.h:28:28: note: in definition of macro 'TRACE' #define TRACE( expr ) (expr) ^util.c:495:14: error: unknown type name 'FILE' FILE* log ) ^In file included from sloop.c:36:0:sloop_s.c:139:29: error: 'SIG_UNBLOCK' undeclared (first use in this function) (void) sigprocmask (SIG_UNBLOCK, &bset, NULL); ^udpxy.c:830:5: error: unknown type name 'size_t' size_t nlen = 0, bufsz, i; ^util.c:516:50: error: unknown type name 'size_t' mk_tvstamp( const struct timeval* tv, char* buf, size_t* len, ^sloop_s.c:156:17: error: 'EINTR' undeclared (first use in this function) if (EINTR == err) { ^udpxy.c:841:38: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] bufsz += BYTES_PER_CLI + strlen(clc->tail); ^util.c:517:14: error: unknown type name 'int32_t' int32_t flags ) ^udpxy.c:844:11: warning: incompatible implicit declaration of built-in function 'malloc' [enabled by default] buf = malloc(bufsz); ^util.c:559:12: error: unknown type name 'FILE' tmfprintf( FILE* stream, const char* format, ... ) ^udpxy.c:846:25: error: 'ENOMEM' undeclared (first use in this function) mperror(g_flog, ENOMEM, "malloc for %ld bytes for HTTP buffer " ^util.c:600:25: error: unknown type name 'FILE' tmfputs( const char* s, FILE* stream ) ^sloop_s.c:199:25: error: expected ';' before 'i' for (i = 0; (size_t)i < nasock; ++i) { ^udpxy.c:851:12: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] (void) memset( buf, 0, sizeof(bufsz) ); ^sloop_s.c:202:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] free (asock); ^udpxy.c:858:27: error: 'EINTR' undeclared (first use in this function) if( (-1 == n) && (EINTR != errno) ) { ^util.c:636:13: error: unknown type name 'FILE' printcmdln( FILE* stream, const char* msg, ^sloop_s.c:205:25: error: 'SIG_SETMASK' undeclared (first use in this function) (void) sigprocmask (SIG_SETMASK, &oset, NULL); ^udpxy.c:858:36: error: 'errno' undeclared (first use in this function) if( (-1 == n) && (EINTR != errno) ) { ^util.c:662:26: error: unknown type name 'time_t' a2time( const char* str, time_t* t, time_t from ) ^udpxy.c:874:5: warning: incompatible implicit declaration of built-in function 'free' [enabled by default] free(buf); ^util.c:662:37: error: unknown type name 'time_t' a2time( const char* str, time_t* t, time_t from ) ^util.c: In function 'a2double':udpxy.c: At top level:udpxy.c:921:45: error: unknown type name 'size_t' accept_requests (int sockfd, tmfd_t* asock, size_t* alen) ^util.c:785:5: error: unknown type name 'int64_t' int64_t mult = 1; ^util.c:786:21: error: 'NULL' undeclared (first use in this function) const char* p = NULL; ^udpxy.c:1008:30: error: unknown type name 'size_t' shrink_asock (tmfd_t* asock, size_t* alen, size_t nserved) ^util.c:788:5: error: unknown type name 'size_t' size_t numsz = 0; ^udpxy.c:1008:44: error: unknown type name 'size_t' shrink_asock (tmfd_t* asock, size_t* alen, size_t nserved) ^udpxy.c:1047:32: error: unknown type name 'size_t' tmout_requests (tmfd_t* asock, size_t *alen) ^udpxy.c:1075:34: error: unknown type name 'size_t' process_requests (tmfd_t* asock, size_t *alen, fd_set* rset, struct server_ctx* srv) ^util.c:819:23: error: 'size_t' undeclared (first use in this function) if( numsz >= (size_t)MAX_SZLEN ) return ERR_OVERRUN; ^udpxy.c:1075:48: error: unknown type name 'fd_set' process_requests (tmfd_t* asock, size_t *alen, fd_set* rset, struct server_ctx* srv) ^udpxy.c:1144:25: error: unknown type name 'FILE' usage( const char* app, FILE* fp ) ^util.c:794:19: error: expected ')' before numeric constant #define MAX_SZLEN 64 ^util.c:819:30: note: in expansion of macro 'MAX_SZLEN' if( numsz >= (size_t)MAX_SZLEN ) return ERR_OVERRUN; ^udpxy.c: In function 'udpxy_main':util.c:820:16: warning: incompatible implicit declaration of built-in function 'memcpy' [enabled by default] (void) memcpy( buf, str, numsz ); ^udpxy.c:1196:5: error: unknown type name 'u_short' u_short MIN_MCAST_REFRESH = 0, MAX_MCAST_REFRESH = 0; ^util.c:824:9: error: 'errno' undeclared (first use in this function) errno = 0; ^util.c: At top level:udpxy.c:1207:22: error: storage size of 'qact' isn't known struct sigaction qact, iact, cact, oldact; ^util.c:848:26: error: unknown type name 'ssize_t' a2size( const char* str, ssize_t* pval ) ^udpxy.c:1207:28: error: storage size of 'iact' isn't known struct sigaction qact, iact, cact, oldact; ^util.c:868:27: error: unknown type name 'int64_t' a2int64( const char* str, int64_t* pval ) ^udpxy.c:1207:34: error: storage size of 'cact' isn't known struct sigaction qact, iact, cact, oldact; ^util.c: In function 'Zasctime':udpxy.c:1207:40: error: storage size of 'oldact' isn't known struct sigaction qact, iact, cact, oldact; ^util.c:903:5: error: unknown type name 'size_t' size_t n = 0; ^util.c:906:40: error: 'NULL' undeclared (first use in this function) static char buf[ ASCBUF_SZ ], *p = NULL; ^make[1]: *** [Makefile:103: sloop.o] Error 1udpxy.c:1222:46: error: 'optarg' undeclared (first use in this function) rc = get_ipv4_address( optarg, ipaddr, sizeof(ipaddr) ); ^util.c:909:7: warning: assignment makes pointer from integer without a cast [enabled by default] p = asctime_r( tm, buf ); ^util.c:913:9: warning: incompatible implicit declaration of built-in function 'strlen' [enabled by default] n = strlen( buf ); ^udpxy.c:1224:32: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf( stderr, "Invalid address: [%s]\n", ^util.c:914:15: error: 'size_t' undeclared (first use in this function) if( (n > (size_t)1) && ('\n' == buf[ n - 1 ]) ) { ^udpxy.c:1224:41: error: 'stderr' undeclared (first use in this function) (void) fprintf( stderr, "Invalid address: [%s]\n", ^util.c:914:22: error: expected ')' before numeric constant if( (n > (size_t)1) && ('\n' == buf[ n - 1 ]) ) { ^util.c: At top level:util.c:925:20: error: unknown type name 'FILE' set_nice( int val, FILE* log ) ^udpxy.c:1233:32: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf( stderr, "Invalid port number: [%d]\n", ^util.c:951:38: error: unknown type name 'ssize_t' check_fragments( const char* action, ssize_t total, ssize_t n_was, ssize_t n_is, ^udpxy.c:1243:32: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf( stderr, "Invalid multicast address: " ^util.c:951:53: error: unknown type name 'ssize_t' check_fragments( const char* action, ssize_t total, ssize_t n_was, ssize_t n_is, ^util.c:951:68: error: unknown type name 'ssize_t' check_fragments( const char* action, ssize_t total, ssize_t n_was, ssize_t n_is, ^util.c:952:18: error: unknown type name 'ssize_t' ssize_t delta, FILE* log ) ^udpxy.c:1253:32: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf( stderr, ^util.c:952:33: error: unknown type name 'FILE' ssize_t delta, FILE* log ) ^udpxy.c:1262:27: error: 'NULL' undeclared (first use in this function) if( NULL == g_flog ) { ^util.c:966:1: error: unknown type name 'time_t' time_t ^util.c:967:1: error: unknown type name 'time_t' get_timeval( const char* envar, const time_t deflt ) ^util.c: In function 'get_timeval':udpxy.c:1263:30: error: 'errno' undeclared (first use in this function) rc = errno; ^util.c:969:17: error: 'NULL' undeclared (first use in this function) char *str = NULL, *eptr = NULL; ^udpxy.c:1264:32: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf( stderr, "Error opening logfile " ^util.c:970:5: error: unknown type name 'time_t' time_t tval = -1; ^util.c:973:22: warning: assignment makes pointer from integer without a cast [enabled by default] if( NULL == (str = getenv( envar )) ) ^udpxy.c:1278:36: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf( stderr, "Invalid buffer size: [%s]\n", ^util.c:976:5: error: 'errno' undeclared (first use in this function) errno = 0; ^util.c:977:13: error: 'time_t' undeclared (first use in this function) tval = (time_t) strtol( str, &eptr, 10 ); ^udpxy.c:1280:29: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default] exit( ERR_PARAM ); ^util.c:977:21: error: expected ';' before 'strtol' tval = (time_t) strtol( str, &eptr, 10 ); ^util.c: In function 'get_flagval':udpxy.c:1284:25: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] fprintf(stderr, "Buffer size " ^util.c:994:17: error: 'NULL' undeclared (first use in this function) char *str = NULL, *eptr = NULL; ^util.c:995:5: error: unknown type name 'size_t' size_t i = 0; ^udpxy.c:1294:32: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf( stderr, ^util.c:1001:9: warning: assignment makes pointer from integer without a cast [enabled by default] str = getenv( envar ); ^udpxy.c:1304:32: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf( stderr, ^util.c:1005:5: error: 'errno' undeclared (first use in this function) errno = 0; ^util.c: At top level:udpxy.c:1312:45: error: 'time_t' undeclared (first use in this function) g_uopt.dhold_tmout = (time_t)atoi( optarg ); ^util.c:1023:1: error: unknown type name 'ssize_t' ssize_t ^udpxy.c:1312:52: error: expected ';' before 'atoi' g_uopt.dhold_tmout = (time_t)atoi( optarg ); ^util.c:1024:1: error: unknown type name 'ssize_t' get_sizeval( const char* envar, const ssize_t deflt ) ^util.c: In function 'get_sizeval':util.c:1026:17: error: 'NULL' undeclared (first use in this function) char *str = NULL, *eptr = NULL; ^udpxy.c:1315:32: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf( stderr, "Invalid value for max time " ^util.c:1030:22: warning: assignment makes pointer from integer without a cast [enabled by default] if( NULL == (str = getenv( envar )) ) ^udpxy.c:1338:47: error: 'u_short' undeclared (first use in this function) g_uopt.mcast_refresh = (u_short)atoi( optarg ); ^util.c:1033:5: error: 'errno' undeclared (first use in this function) errno = 0; ^util.c: In function 'get_pidstr':udpxy.c:1338:55: error: expected ';' before 'atoi' g_uopt.mcast_refresh = (u_short)atoi( optarg ); ^util.c:1050:5: error: unknown type name 'pid_t' static pid_t pid = 0; ^udpxy.c:1345:36: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf( stderr, ^util.c:1055:20: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default] (void) snprintf (pidstr, sizeof(pidstr)-1, "%s(%d)", pfx, pid); ^util.c:1057:20: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default] (void) snprintf (pidstr, sizeof(pidstr)-1, "%d", pid ); ^udpxy.c:1356:30: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf( stderr, ^util.c: In function 'get_sysinfo':util.c:1071:20: error: storage size of 'uts' isn't known struct utsname uts; ^udpxy.c:1358:37: error: 'optopt' undeclared (first use in this function) optopt ); ^util.c:1076:12: warning: incompatible implicit declaration of built-in function 'memset' [enabled by default] (void) memset (&uts, 0, sizeof(uts)); ^udpxy.c:1379:27: error: 'LOG_CONS' undeclared (first use in this function) openlog( g_udpxy_app, LOG_CONS | LOG_PID, LOG_LOCAL0 ); ^util.c:1077:5: error: 'errno' undeclared (first use in this function) errno = 0; rc = uname (&uts); ^util.c:1082:16: warning: incompatible implicit declaration of built-in function 'snprintf' [enabled by default] (void) snprintf (s_sysinfo, sizeof(s_sysinfo)-1, "%s %s %s", ^udpxy.c:1379:38: error: 'LOG_PID' undeclared (first use in this function) openlog( g_udpxy_app, LOG_CONS | LOG_PID, LOG_LOCAL0 ); ^util.c: At top level:udpxy.c:1379:47: error: 'LOG_LOCAL0' undeclared (first use in this function) openlog( g_udpxy_app, LOG_CONS | LOG_PID, LOG_LOCAL0 ); ^util.c:1090:46: error: unknown type name 'size_t' mk_app_info(const char *appname, char *info, size_t infolen) ^udpxy.c:1388:20: warning: incompatible implicit declaration of built-in function 'strncpy' [enabled by default] (void) strncpy( mcast_addr, IPv4_ALL, sizeof(mcast_addr) - 1 ); ^udpxy.c:1405:28: warning: incompatible implicit declaration of built-in function 'fprintf' [enabled by default] (void) fprintf( stderr, ^udpxy.c:1430:24: error: 'SIGTERM' undeclared (first use in this function) if( (sigaction(SIGTERM, &qact, &oldact) < 0) || ^udpxy.c:1431:24: error: 'SIGQUIT' undeclared (first use in this function) (sigaction(SIGQUIT, &qact, &oldact) < 0) || ^udpxy.c:1432:24: error: 'SIGINT' undeclared (first use in this function) (sigaction(SIGINT, &qact, &oldact) < 0)) { ^udpxy.c:1437:27: error: 'SIG_IGN' undeclared (first use in this function) iact.sa_handler = SIG_IGN; ^udpxy.c:1441:24: error: 'SIGPIPE' undeclared (first use in this function) if( (sigaction(SIGPIPE, &iact, &oldact) < 0) ) { ^udpxy.c:1450:23: error: 'SIGCHLD' undeclared (first use in this function) if( sigaction(SIGCHLD, &cact, &oldact) < 0 ) { ^udpxy.c:1455:17: error: 'LOG_NOTICE' undeclared (first use in this function) syslog( LOG_NOTICE, "%s is starting\n", g_app_info ); ^make[1]: *** [Makefile:103: util.o] Error 1make[1]: *** [Makefile:103: udpxy.o] Error 1make[1]: Leaving directory '/tmp/udpxy/src/udpxy-1.0.23-9'make: *** [Makefile:107: release] Error 2==> ERROR: A failure occurred in build(). Aborting...