RE: net-snmp-5.2.1.2 Fails to Compile HP-UX 11i GCC-4.0.1
"Briggs, Patrick" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <6D119A557EC1614DA077381947F54DB855CA9B@tec-exchange2k.tec.clintiech.net> |
Line 495 of my HP-UX include file contains: extern struct sotimeq sotimeqhash[]; -----Original Message----- From: Robert Story [mailto:[email protected]] Sent: Monday, August 08, 2005 11:42 AM To: Briggs, Patrick Cc: '[email protected]' Subject: Re: net-snmp-5.2.1.2 Fails to Compile HP-UX 11i GCC-4.0.1 On Tue, 26 Jul 2005 11:04:42 -0700 Patrick wrote: BP> mibII/.libs/interfaces.lo In file included from mibII/interfaces.c:56: BP> /usr/include/sys/socketvar.h:495: error: array type has incomplete element BP> type Hmmm.. what is the array type on line 495, and can you find a header which defines that type? BP> mibII/interfaces.c:1999: error: static declaration of BP> 'Interface_Scan_Get_Count' follows non-static declaration There are lots of definitions of this function in this file, and the hpux one is the only one that is static. I'm guessing it shouldn't be, so try just deleting the static keyword on that line. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different.