Re: net-snmp 5.4.1.rc1 available for testing.

"Aleksey Tsalolikhin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 6/29/07, Wes Hardaker <[email protected]> wrote:
>
> In a few weeks we should be releasing 5.4.1.  The first of our
> release-candidate series (5.4.1.rc1) is now available on our download
> site and is available for testing (which is highly encouraged).
>
> Please let us know of any major problems found in the package.

Dear Wes,

  I was not able to build 5.4.1.rc1 on HP-UX 11.23 (on Itanium) using
gcc 4.1.2 and GNU Make 3.81.

  It dies here:


 gcc -I../include -I. -I../snmplib -g -O2 -Uhpux11 -Dhpux11=hpux11
-Wall -Winline -Wstrict-prototypes -Wwrite-strings -Wcast-qual
-Wno-char-subscripts -c system.c  -DPIC -o .libs/system.o
system.c: In function 'get_myaddr':
system.c:589: error: storage size of 'ifc' isn't known
system.c:605: error: invalid application of 'sizeof' to incomplete
type 'struct ifreq'
system.c:610: error: invalid application of 'sizeof' to incomplete
type 'struct ifreq'
system.c:613: error: invalid application of 'sizeof' to incomplete
type 'struct ifconf'
system.c:644: error: increment of pointer to unknown structure
system.c:644: error: arithmetic on pointer to an incomplete type
system.c:647: error: dereferencing pointer to incomplete type
system.c:650: error: dereferencing pointer to incomplete type
system.c:652: error: invalid application of 'sizeof' to incomplete
type 'struct ifreq'
system.c:655: error: dereferencing pointer to incomplete type
system.c:655: error: 'IFF_UP' undeclared (first use in this function)
system.c:655: error: (Each undeclared identifier is reported only once
system.c:655: error: for each function it appears in.)
system.c:659: error: dereferencing pointer to incomplete type
system.c:666: error: invalid application of 'sizeof' to incomplete
type 'struct ifreq'
system.c:670: error: dereferencing pointer to incomplete type
system.c:589: warning: unused variable 'ifc'
system.c: In function 'strcasestr':
system.c:980: warning: cast discards qualifiers from pointer target type
system.c:1003: warning: cast discards qualifiers from pointer target type
gmake[1]: *** [system.lo] Error 1
gmake[1]: Leaving directory `/var/tsalolia/net-snmp-5.4.1.rc1/snmplib'
gmake: *** [subdirs] Error 1

Yours truly,
Aleksey

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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.