Hello Michael,

for compilation with HP-UX 11i I'm using HP's own cc (AnsiC), but I
presume that it should work with gcc as well. Probably you've seen the
thread "5.3.1.pre2 build test status" in the net-snmp-coders mailing
list, where Thomas Anders stated that compilation f=FCr e.g. HP-UX 11i
(11.11) worked fine with gcc 4.x. On the other hand he found an issue
about gcc and HP-UX which might be your problem as well:

http://gcc.gnu.org/ml/gcc-patches/2005-03/msg01417.html

Did you try to use the precompiled binaries that can be found in the
net-snmp download area? They'll surely not compiled with all options
you're using but they should allow to run the agent and to state whether
it's working with your machine(s).

What sort of problems do you have exactly? You're only saying that you
can't get past the compile stage. Did you try to run the tests? Which
tests succeeded and which failed?

Please send your questions to the net-snmp-coders mailing list too -
there are others that will be able to help you (at least I hope so).

Johannes

Michael Cheselka wrote on 6/2/2006 10:51 PM:
> Hello Johannes,
> =


> I'm having a hard time trying to compile the net-snmp agent
> for HP-UX 11.11 on a PA_RISC1.1 using Active State perl
> and either HP.com GCC 4.0.1 or 4.1. The agents I've tried
> to compile are:
> =


> net-snmp-5.2.2
> net-snmp-5.3.0.1
> net-snmp-5.3.1.pre2
> =


> We can't get past the compile stage.
> What version of gcc are you using?
> =


> What GNU utilities are needed to compile net-snmp for HP-UX 11.11
> on PA_RISC1.1?
> =


> Here's what we are trying to do:
> =


> ./configure --prefix=3D/usr/local \
> --with-mib-modules=3D"host mibII/mta_sendmail ucd_snmp disman/event-mib
> misc/ipfwacc tunnel" \
> --with-default-snmp-version=3D"2" \
> --with-sys-contact=3D"root@localhost" \
> --with-sys-location=3D"Unknown" \
> --with-logfile=3D"/var/log/snmpd.log" \
> --with-persistent-directory=3D"/var/net-snmp" \
> --with-libs=3D"-lnm" \
> --enable-static=3Dyes \
> --with-perl-modules \
> --enable-embedded-perl \
> --enable-shared \
> --with-mib-modules=3Dsmux
> =


> If worse comes to worse, would you compile me an agent and
> tar it up, until I can figure out the problem?
> =


> Much Thanks!
> Mike


-- =

Johannes Schmidt-Fischer

InterFace AG phone +49 (0)89 / 610 49 - 207
Leipziger Str. 16 fax +49 (0)89 / 610 49 - 85
D-82008 Unterhaching mobile +49 (0)171/ 787 76 01
http://www.InterFace-AG.com mailto:jsf@InterFace-AG.de



_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders