Networking

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Mac OS X 10.4.x - 5.3.0.1 fails to buildwith --enable-ipv6

    0 answers - 3754 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Bugs item #1498643, was opened at 2006-05-31 22:00
    Message generated for change (Comment added) made by nobody
    You can respond by visiting:
    Please note that this message will contain a full copy of the comment thread,
    including the initial issue submission, for this request,
    not just the latest update.
    Category: build/test
    Group: None
    Status:
    Resolution: None
    Priority: 5
    Submitted By: Eric Hall (darkart)
    Assigned to: Nobody/Anonymous (nobody)
    Summary: Mac S X 10.4.x - 5.3.0.1 fails to build with
    Initial Comment:
    Mac S X 10.4.x (.6 known, should be all 10.4.x), net-snmp 5.3.0.1 fails
    to build with "". I suspect this is a KPI related issue, and
    the best solution is to re-write the Mac S X/Darwin specific bits to be
    KPI-aware, one alternate solution being including the appropriate
    (private) kernel headers with net-snmp. See net-snmp bug 1477403
    for a similar problem.
    Sample build failure (from
    show_bug.cgi?id=9171):
    gcc -I//include -I. -I//agent -I//agent/mibgroup -I//snmplib
    -I/opt/local/include -DINET6 -g -Ddarwin8 -c mibII/ipv6.c -fno-
    common
    -DPIC -o mibII/ipv6.lo
    mibII/ipv6.c: In function 'if_getifnet':
    mibII/ipv6.c:568: error: storage size of 'tmp' isn't known
    mibII/ipv6.c: In function 'var_ifv6Entry':
    mibII/ipv6.c:760: warning: pointer targets in return differ in signedness
    mibII/ipv6.c:802: error: storage size of 'ifnet' isn't known
    mibII/ipv6.c:803: error: storage size of 'ifaddr' isn't known
    mibII/ipv6.c:849: error: storage size of 'ifnet' isn't known
    mibII/ipv6.c:858: error: storage size of 'ifnet' isn't known
    mibII/ipv6.c: In function 'var_udp6':
    mibII/ipv6.c:1228: error: storage size of 'in6pcb' isn't known
    mibII/ipv6.c:1228: error: storage size of 'savpcb' isn't known
    mibII/ipv6.c: In function 'var_tcp6':
    mibII/ipv6.c:1641: error: storage size of 'in6pcb' isn't known
    mibII/ipv6.c:1641: error: storage size of 'savpcb' isn't known
    make[2]: [mibII/ipv6.lo] Error 1
    make[1]: [subdirs] Error 1
    make: [subdirs] Error 1
    Comment By: Nobody/Anonymous (nobody)
    Date: 2006-07-06 18:16
    Message:
    Logged In: N
    As I noted in my original post, "I don't have permission to post diffs". As soon as
    legal signs off, I will be happy to.
    Comment By: Thomas Anders (tanders)
    Date: 2006-07-06 05:22
    Message:
    Logged In: YES
    user_id=848638
    Please post a proposed patch (unified diff) inline. Thanks.
    Comment By: Nobody/Anonymous (nobody)
    Date: 2006-07-06 05:12
    Message:
    Logged In: N
    It's not as complicated as rewriting for a new KPI.
    The problem is a mismatched type: S X uses an integrated PCB struct (inpcb)
    which supports both IPv4 & IPv6; other platforms use separate types (inpcb &
    in6pcb) for the two protocol versions.
    Since I don't have permission to post diffs, I can say there are three places in
    ipv6.c where I had to add
    #if STRUCT_in6pcb_HAS_inp_vflag
    to determine whether to use the version specific structure or the generic one.
    Defining this new flag is an exercise for the reader. ;-)
    You can respond by visiting:
    Using Tomcat but need to do more? Need to support web services, security?
    Get stuff done quickly with pre-integrated technology to make your job easier
    Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
    Net-snmp-bugs mailing list
    Net-snmp-bugs (AT) lists (DOT) sourceforge.net

Re: Mac OS X 10.4.x - 5.3.0.1 fails to buildwith --enable-ipv6


max 4000 letters.
Your nickname that display:
In order to stop the spam: 5 + 4 =
QUESTION ON "Networking"

EMSDN.COM