I just did it, but unfortunately I have the same problems.

 

First problem:

      in snmplib

gcc -I../include -I. -I../snmplib -g -O2 -Uhpux11 -Dhpux11=hpux11 -c
snmp_api.c  -fPIC -DPIC -o .libs/snmp_api.o

In file included from snmp_api.c:88:

/usr/include/sys/socket.h:484: parse error before "sendfile"

/usr/include/sys/socket.h:485: parse error before "bsize_t"

/usr/include/sys/socket.h:486: parse error before "sendpath"

/usr/include/sys/socket.h:487: parse error before "bsize_t"

snmp_api.c: In function `_init_snmp':

snmp_api.c:672: warning: assignment makes pointer from integer without a
cast

snmp_api.c:677: dereferencing pointer to incomplete type

snmp_api.c: In function `snmp_add_var':

snmp_api.c:6928: warning: assignment makes pointer from integer without
a cast

snmp_api.c:6928: warning: assignment makes pointer from integer without
a cast

 

putting -D_XOPEN_SOURCE_EXTENDED=1 in the CFLAGS arguments I have

 

snmp_api.c: In function `_init_snmp':

snmp_api.c:672: warning: assignment makes pointer from integer without a
cast

snmp_api.c:677: dereferencing pointer to incomplete type

snmp_api.c: In function `snmp_add_var':

snmp_api.c:6928: warning: assignment makes pointer from integer without
a cast

snmp_api.c:6928: warning: assignment makes pointer from integer without
a cast

 

But now, how do I solve 

snmp_api.c:677: dereferencing pointer to incomplete type

 

I don't know.

Any idea?

 

 

Nunzio Palmentieri

Web Care Solution

 

Atos Origin

Via Antiniana 2/a 

80078 Pozzuoli (NA) - ITALY

 

 

 

Direct        +39 081 6103 388

Mobile       +39 335 1214 806

Fax             +39 081 6103 200

e-mail        mailto:[EMAIL PROTECTED]

Web            www.atosorigin.com

 

This electronic message contains information from Atos Origin, which may
be privileged and confidential. The information is intended to be use of
the individual(s) or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use of
the contents of this information is prohibited.

 

 

-----Messaggio originale-----
Da: Thomas Anders [mailto:[EMAIL PROTECTED] 
Inviato: martedì 27 marzo 2007 16.34
A: Palmentieri Nunzio
Cc: net-snmp-coders@lists.sourceforge.net
Oggetto: Re: netsnmp on HP-UX 11.11

 

Palmentieri Nunzio wrote:

> I'm having a lot of problems in compilino netsnmp5.2.2 on HP-UX. 

 

Then why aren't you trying with a more recent version (either 5.2.4.rc1

or latest 5.4) instead which include important bug/build fixes?

 

 

+Thomas

 

-- 

Thomas Anders (thomas.anders at blue-cable.de)

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to