# ./configure --enable-agent reports no errors:
...
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
...
but when I 'make', I get the output below. I'm using the native HP compiler. If anyone has a successful compilation of v1.3.5 or greater on HP-UX 11.11 or any tips for compiling, I'd greatly appreciate it.
Thanks!
-Thomas
Making all in zbxcrypto
source='md5.c' object='md5.o' libtool=no \
DEPDIR=.deps depmode=hp /usr/bin/posix/sh ../../../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I../../../include -c md5.c
(Bundled) cc: "../../../include/common.h", line 109: error 1000: Unexpected symbol: "d".
(Bundled) cc: "../../../include/common.h", line 424: error 1000: Unexpected symbol: "size".
(Bundled) cc: "../../../include/common.h", line 424: error 1506: Parameters allowed in function definition only.
(Bundled) cc: "../../../include/common.h", line 425: error 1000: Unexpected symbol: "size_t".
(Bundled) cc: "../../../include/common.h", line 425: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 425: error 1573: Type of "size" is undefined due to an illegal declaration.
(Bundled) cc: "../../../include/common.h", line 450: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 467: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 469: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 470: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 471: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 472: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 473: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 474: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 475: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 476: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 477: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 478: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 479: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 480: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 481: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 482: error 1000: Unexpected symbol: "itemid".
(Bundled) cc: "../../../include/common.h", line 482: error 1000: Unexpected symbol: "time_t".
(Bundled) cc: "../../../include/common.h", line 482: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 482: error 1574: Unknown size for "itemid".
(Bundled) cc: "../../../include/common.h", line 482: error 1573: Type of "now" is undefined due to an illegal declaration.
(Bundled) cc: "../../../include/common.h", line 483: error 1000: Unexpected symbol: "time_t".
(Bundled) cc: "../../../include/common.h", line 483: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 483: error 1573: Type of "now" is undefined due to an illegal declaration.
(Bundled) cc: "../../../include/common.h", line 484: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 487: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 488: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 490: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 491: error 1000: Unexpected symbol: "size_t".
(Bundled) cc: "../../../include/common.h", line 491: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 491: error 1573: Type of "count" is undefined due to an illegal declaration.
(Bundled) cc: "../../../include/common.h", line 492: error 1000: Unexpected symbol: "size_t".
(Bundled) cc: "../../../include/common.h", line 492: error 1000: Unexpected symbol: "va_list".
(Bundled) cc: "../../../include/common.h", line 492: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 492: error 1573: Type of "count" is undefined due to an illegal declaration.
(Bundled) cc: "../../../include/common.h", line 493: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 495: error 1000: Unexpected symbol: "size_t".
(Bundled) cc: "../../../include/common.h", line 495: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 495: error 1573: Type of "siz" is undefined due to an illegal declaration.
(Bundled) cc: "../../../include/common.h", line 496: error 1000: Unexpected symbol: "zbx_strlcat".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
...
checking build system type... hppa2.0w-hp-hpux11.11
checking host system type... hppa2.0w-hp-hpux11.11
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
...
but when I 'make', I get the output below. I'm using the native HP compiler. If anyone has a successful compilation of v1.3.5 or greater on HP-UX 11.11 or any tips for compiling, I'd greatly appreciate it.
Thanks!
-Thomas
Making all in zbxcrypto
source='md5.c' object='md5.o' libtool=no \
DEPDIR=.deps depmode=hp /usr/bin/posix/sh ../../../depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I../../../include -c md5.c
(Bundled) cc: "../../../include/common.h", line 109: error 1000: Unexpected symbol: "d".
(Bundled) cc: "../../../include/common.h", line 424: error 1000: Unexpected symbol: "size".
(Bundled) cc: "../../../include/common.h", line 424: error 1506: Parameters allowed in function definition only.
(Bundled) cc: "../../../include/common.h", line 425: error 1000: Unexpected symbol: "size_t".
(Bundled) cc: "../../../include/common.h", line 425: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 425: error 1573: Type of "size" is undefined due to an illegal declaration.
(Bundled) cc: "../../../include/common.h", line 450: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 467: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 469: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 470: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 471: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 472: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 473: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 474: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 475: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 476: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 477: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 478: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 479: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 480: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 481: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 482: error 1000: Unexpected symbol: "itemid".
(Bundled) cc: "../../../include/common.h", line 482: error 1000: Unexpected symbol: "time_t".
(Bundled) cc: "../../../include/common.h", line 482: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 482: error 1574: Unknown size for "itemid".
(Bundled) cc: "../../../include/common.h", line 482: error 1573: Type of "now" is undefined due to an illegal declaration.
(Bundled) cc: "../../../include/common.h", line 483: error 1000: Unexpected symbol: "time_t".
(Bundled) cc: "../../../include/common.h", line 483: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 483: error 1573: Type of "now" is undefined due to an illegal declaration.
(Bundled) cc: "../../../include/common.h", line 484: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 487: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 488: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 490: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 491: error 1000: Unexpected symbol: "size_t".
(Bundled) cc: "../../../include/common.h", line 491: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 491: error 1573: Type of "count" is undefined due to an illegal declaration.
(Bundled) cc: "../../../include/common.h", line 492: error 1000: Unexpected symbol: "size_t".
(Bundled) cc: "../../../include/common.h", line 492: error 1000: Unexpected symbol: "va_list".
(Bundled) cc: "../../../include/common.h", line 492: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 492: error 1573: Type of "count" is undefined due to an illegal declaration.
(Bundled) cc: "../../../include/common.h", line 493: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 495: error 1000: Unexpected symbol: "size_t".
(Bundled) cc: "../../../include/common.h", line 495: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: "../../../include/common.h", line 495: error 1573: Type of "siz" is undefined due to an illegal declaration.
(Bundled) cc: "../../../include/common.h", line 496: error 1000: Unexpected symbol: "zbx_strlcat".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1
Comment