su-2.05b# make install clean
===> Vulnerability check disabled, database not found
===> Extracting for cactid-0.8.6.f_1
=> Checksum OK for cacti-cactid-0.8.6f-1.tar.gz.
===> Patching for cactid-0.8.6.f_1
===> Applying FreeBSD patches for cactid-0.8.6.f_1
===> cactid-0.8.6.f_1 depends on shared library: netsnmp.7 - found
===> cactid-0.8.6.f_1 depends on shared library: mysqlclient.14 - found
===> Configuring for cactid-0.8.6.f_1
configure: WARNING: you should use --build, --host, --target
checking build system type... i386-portbld-freebsd4.11
checking host system type... i386-portbld-freebsd4.11
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gawk... (cached) nawk
checking for i386-portbld-freebsd4.11-gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc
checking how to run the C preprocessor... cc -E
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... yes
checking for i386-portbld-freebsd4.11-ranlib... no
checking for ranlib... ranlib
checking whether to enable -Wall... no
checking for kstat_lookup in -lkstat... no
checking for gethostbyname in -lnsl... no
checking for socket in -lsocket... no
checking for floor in -lm... yes
checking for pthread_exit in -lpthread... no
checking for deflate in -lz... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking for unsigned long long... yes
checking for long long... yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking return type of signal handlers... void
checking for gettimeofday... yes
checking for strerror... yes
checking for strtoll... yes
checking for mysql_init in -lmysqlclient... yes
checking for mysql_thread_init in -lmysqlclient... yes
checking if UCD-SNMP needs crypto support... no
checking if Net-SNMP needs crypto support... yes
checking for CRYPTO_free in -lcrypto... yes
checking for snmp_timeout in -lnetsnmp... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config/config.h
config.status: executing depfiles commands
===> Building for cactid-0.8.6.f_1
source='sql.c' object='sql.o' libtool=no depfile='.deps/sql.Po' tmpdepfile='.deps/sql.TPo' depmode=gcc /bin/sh ./config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/local/include/net-snmp -I/usr/local/include/net-snmp/.. -I/usr/local/include/mysql -O -pipe -c `test -f 'sql.c' || echo './'`sql.c
source='cactid.c' object='cactid.o' libtool=no depfile='.deps/cactid.Po' tmpdepfile='.deps/cactid.TPo' depmode=gcc /bin/sh ./config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/local/include/net-snmp -I/usr/local/include/net-snmp/.. -I/usr/local/include/mysql -O -pipe -c `test -f 'cactid.c' || echo './'`cactid.c
source='util.c' object='util.o' libtool=no depfile='.deps/util.Po' tmpdepfile='.deps/util.TPo' depmode=gcc /bin/sh ./config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/local/include/net-snmp -I/usr/local/include/net-snmp/.. -I/usr/local/include/mysql -O -pipe -c `test -f 'util.c' || echo './'`util.c
source='snmp.c' object='snmp.o' libtool=no depfile='.deps/snmp.Po' tmpdepfile='.deps/snmp.TPo' depmode=gcc /bin/sh ./config/depcomp cc -DHAVE_CONFIG_H -I. -I. -I./config -I/usr/local/include/net-snmp -I/usr/local/include/net-snmp/.. -I/usr/local/include/mysql -O -pipe -c `test -f 'snmp.c' || echo './'`snmp.c
snmp.c: In function `snmp_get_multi':
snmp.c:311: syntax error before `int'
snmp.c:312: `count' undeclared (first use in this function)
snmp.c:312: (Each undeclared identifier is reported only once
snmp.c:312: for each function it appears in.)
*** Error code 1
Stop in /usr/ports/net/cactid/work/cacti-cactid-0.8.6f-1.
*** Error code 1
Stop in /usr/ports/net/cactid.
Any good idea's ?