Compile Error Nagios 3.0.6 HP-UX 11.11


#1

Compile Error:

[code]egtpres,sys,root # make all
cd ./base && make
cc -g -DHAVE_CONFIG_H -DNSCORE -c broker.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.
(Bundled) cc: “…/include/objects.h”, line 634: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: “…/include/objects.h”, line 638: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: “…/include/objects.h”, line 639: error 1000: Unexpected symbol: “".
(Bundled) cc: “…/include/objects.h”, line 639: error 1705: Function prototypes are an ANSI feature.
(Bundled) cc: “…/include/objects.h”, line 639: error 1573: Type of “<<<NULL_SYMBOL>>>” is undefined due to an illegal declaration.
(Bundled) cc: “…/include/objects.h”, line 640: error 1000: Unexpected symbol: "
”.
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.[/code]

objects.h file is as follows:

[code]/********************* FUNCTIONS **********************/

/**** Top-level input functions ****/
int read_object_config_data(char ,int,int,int); / reads all external configuration data of specific types */

/**** Object Creation Functions ****/
contact *add_contact(char *,char *,char *,char *,char **,char *,char ,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int,int); / adds a contact definition */
commandsmember *add_service_notification_command_to_contact(contact *,char ); / adds a service notification command to a contact definition */
commandsmember *add_host_notification_command_to_contact(contact *,char ); / adds a host notification command to a contact definition */
egtpres,sys,root # [/code]