Re: Problems compiling / running on HP-UX 11.31

"Ricardo Guido Marelli" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
I finally was able to successfully run the tests, and I've reported the bug
here:
https://sourceforge.net/tracker/?func=detail&atid=112694&aid=2023803&group_id=12694

Regards,
Guido


2008/7/18 Ricardo Guido Marelli <[email protected]>:

>
>
> 2008/7/18 Thomas Anders <[email protected]>:
>
>> Ricardo Guido Marelli wrote:
>> > I have encountered some problems when I tried to compile/run net-snmp on
>> > HP-UX 11.31 with gcc version 4.2.1. <http://4.2.1.>
>> >
>> > /* to avoid PGSHIFT undefined */
>> > #define PGSHIFT getpagesize()
>>
>> I'm not convinced that's right. Assumed getpagesize() is something like
>> 4096, then PGSHIFT should be log2(pagesize)=12. Perhaps there's a
>> replacement symbol in HP-UX 11.31? Have you tried looking through the
>> headers?
>>
>
> I set PGSHIFT to 12 (pagesize is 4096) but  this do not resolve the
> problem.
>
>
>>
>> > /* to avoid error: 'struct radix_node' has no member named 'rn_key' */
>> > #define STRUCT_RTENTRY_HAS_RT_DST
>>
>> If that's the case, then why did configure come up with a different
>> result? Please work through config.log to find out.
>>
>
> I found the following in config.log:
>
> conftest.c:254: error: 'struct radix_node' has no member named 'rn_key'
>
>
>> > (gdb) bt
>> > #0  0x60000000c86e0000 in <unknown_procedure> ()
>> > warning: Attempting to unwind past bad PC 0x60000000c86e0000
>> > #1  0x60000000cc7bd450:0 in var_ipRouteEntry (vp=<not available>,
>> >    name=0x401b5b48, length=0x401b5b38, exact=0, var_len=0x7fffe914,
>> >    write_method=0x7fffe910) at mibII/var_route.c:496
>>
>> What net-snmp version are you running? I'd suggest to use latest 5.4.2.rc1
>> (expected for today). If you still see the crash, please file a bug on
>> http://www.net-snmp.org/bugs . Please note that none of the core
>> developers is known to have access to HP-UX 11.31, so we'd need as much of
>> your help as we could get.
>>
>
> I've been testing 5.4.2.pre2 and 5.4.1.2.
>
>
> Regards!
>
>
>>
>>
>> +Thomas
>>
>> --
>> Thomas Anders (thomas.anders at blue-cable.de)
>>
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
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.