Hi Thomas, I grabbed a copy of GNU gcc from their web-site. But the compression on the utility is in the format of bzip2. Searched the web to find tools to uncompress the file. Any ideas?
Thanks, Chirag Parekh Jr. Unix System Administrator Belkin Corporation Information Services 310.604.2015 310.863.1494 cell 310.604.2022 fax [EMAIL PROTECTED] www.belkin.com -----Original Message----- From: Thomas Anders [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 5:45 AM To: Chirag Parekh Cc: [EMAIL PROTECTED] Subject: Re: net-snmp compile/make error. Chirag, (now bringing this back to the net-snmp-users list) Chirag> Attached is the o/p from the make command with the file you had provided. It failed too. Ouput inline at the bottom of this mail (for others to follow[-up]). This is no longer a make issue. (For -users: his Makefile was garbled with a few syntax errors, probably due to deficiencies of whatever tool replaced @other_src_list@ by "\\\n\t" or so when generating snmplib/Makefile on his HP-UX 11.11. If cc/cpp was involved, then see below. Otherwise, we may want to look into that.) Your bundled (aka crippled) version of the HP C compiler (cc) is likely to be unable to compile net-snmp. Either get the full-blown HP ANSI C compiler ($$) or, preferrably, install the free GNU C compiler (gcc). IMHO we should add a corresponding note to README.hpux11. - --- snip --- # make making all in /home/chiragp/net-snmp-5.1.2/snmplib /bin/sh ../libtool --mode=compile cc -I../include -I../include -I. -I.. -I. -I./.. -g -Dhpux11 -c -o snmp_client.lo snmp_client.c rm -f .libs/snmp_client.lo cc -I../include -I../include -I. -I.. -I. -I./.. -g -Dhpux11 -c snmp_client.c +Z -DPIC (Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored. (Bundled) cc: warning 480: The +Z option is available only with the C/ANSI C product; ignored. cpp: "../include/net-snmp/net-snmp-config.h", line 1436: warning 2001: Redefinition of macro NETSNMP_INLINE. cpp: "../include/net-snmp/net-snmp-config.h", line 1438: warning 2001: Redefinition of macro NETSNMP_STATIC_INLINE. cpp: "../include/net-snmp/types.h", line 11: warning 2013: Unknown preprocessing directive. cpp: "../include/net-snmp/types.h", line 11: warning 2013: Unknown preprocessing directive. cpp: "../include/net-snmp/types.h", line 11: warning 2013: Unknown preprocessing directive. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 180: error 1000: Unexpected symbol: "netsnmp_session". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 181: error 1000: Unexpected symbol: "netsnmp_pdu". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 180: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 180: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 181: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 182: error 1000: Unexpected symbol: "netsnmp_session". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 183: error 1000: Unexpected symbol: "netsnmp_pdu". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 182: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 182: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 183: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 197: error 1000: Unexpected symbol: "u_long". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 210: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 210: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 210: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 212: error 1000: Unexpected symbol: "netsnmp_callback". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 210: error 1506: Parameters allowed in function definition only. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 212: error 1573: Type of "callback" is undefined due to an illegal declaration. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 212: error 1578: Size of struct or union member is unknown. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 336: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 337: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 338: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 512: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 528: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 528: error 1506: Parameters allowed in function definition only. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 540: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 540: error 1506: Parameters allowed in function definition only. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 541: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 557: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 557: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 557: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 575: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 575: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 575: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 589: error 1573: Type of "<<<NULL_SYMBOL>>>" is undefined due to an illegal declaration. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 589: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 589: error 1506: Parameters allowed in function definition only. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 600: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 600: error 1506: Parameters allowed in function definition only. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 602: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 602: error 1506: Parameters allowed in function definition only. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 604: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 604: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 604: error 1573: Type of "var" is undefined due to an illegal declaration. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 633: error 1000: Unexpected symbol: "fd_set". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 633: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 650: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 690: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 691: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 692: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 693: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 695: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 695: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 695: error 1506: Parameters allowed in function definition only. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 697: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 697: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 697: error 1506: Parameters allowed in function definition only. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 699: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 699: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 699: error 1506: Parameters allowed in function definition only. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 701: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 701: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 701: error 1506: Parameters allowed in function definition only. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 703: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 703: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 703: error 1506: Parameters allowed in function definition only. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 705: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 705: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 705: error 1506: Parameters allowed in function definition only. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 707: error 1000: Unexpected symbol: "*". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 708: error 1000: Unexpected symbol: ")". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 708: error 1616: Unable to open intrinsic file "/usr/local/lib/sysintr". (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 709: error 1705: Function prototypes are an ANSI feature. (Bundled) cc: "../include/net-snmp/library/snmp_api.h", line 710: error 1000: Unexpected symbol: "*". (Bundled) cc: error 2017: Cannot recover from earlier errors, terminating. *** Error exit code 1 Stop. *** Error exit code 1 Stop. - --- snap --- +Thomas -- Thomas Anders (thomas.anders at blue-cable.de) ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users Confidential This e-mail and any files transmitted with it are the property of Belkin Corporation and/or its affiliates, are confidential, and are intended solely for the use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipients or otherwise have reason to believe that you have received this e-mail in error, please notify the sender and delete this message immediately from your computer. Any other use, retention, dissemination, forwarding, printing or copying of this e-mail is strictly prohibited. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users