Re: Error when compiling in OpenBSD: "storage size of HRD_info isn't known"

"rakesh zingade" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
FYI...

On Feb 18, 2008 8:56 PM, Uttamchandani, Amit <[email protected]>
wrote:

> Hi Rakesh,
>
> Thank you for the reply.
>
> I tried it with the default config and unfortunately it still failts.
> Please cc this to the net-snmp list as I am not currently subscribed to
> it.
>
>  * ./configure --with-defaults
>  - works fine
>
>  * make
>  - fails
>  - output:
>
> host/hr_disk.c: In function `Save_HR_Disk_Specific':
> host/hr_disk.c:823: error: invalid use of undefined type `struct
> disklabel'
> host/hr_disk.c: In function `Save_HR_Disk_General':
> host/hr_disk.c:844: error: `dktypenames' undeclared (first use in this
> function)
> host/hr_disk.c:844: error: (Each undeclared identifier is reported only
> once
> host/hr_disk.c:844: error: for each function it appears in.)
> host/hr_disk.c:844: error: invalid use of undefined type `struct
> disklabel'
> host/hr_disk.c: In function `Query_Disk':
> host/hr_disk.c:900: error: invalid application of `sizeof' to an
> incomplete type
> host/hr_disk.c: At top level:
> host/hr_disk.c:132: error: storage size of `HRD_info' isn't known
> *** Error code 1
>
> Stop in /home/amit/src/net-snmp-5.4.1/agent/mibgroup.
> *** Error code 1
>
> Stop in /home/amit/src/net-snmp-5.4.1/agent (line 781 of Makefile).
> *** Error code 1
>
> Stop in /home/amit/src/net-snmp-5.4.1 (line 519 of Makefile).
>
> Thanks,
> Amit
>
>


-- 
Rakesh P. Zingade
+919420357790

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.