Ad Widget

Collapse

FreeBSD 5.4 Problems?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • one1stream
    Junior Member
    • Jun 2006
    • 1

    #1

    FreeBSD 5.4 Problems?

    I'm not entirely sure that this is a 'general' problem (as it's not been posted, or anything similar) but it's certainly the problem i've got!

    For the release of Zabbix 1.1, the following is not compiling under FreeBSD:

    proc.h:
    configure:3545: gcc -c -g -O2 conftest.c >&5
    In file included from /usr/include/sys/proc.h:60,
    from conftest.c:87:
    /usr/include/sys/ucred.h:71: error: `NGROUPS' undeclared here (not in a function)
    In file included from conftest.c:87:
    /usr/include/sys/proc.h:78: error: `MAXLOGNAME' undeclared here (not in a function)
    /usr/include/sys/proc.h:78: error: variable-size type declared outside of any function
    /usr/include/sys/proc.h:568: error: `MAXCOMLEN' undeclared here (not in a function)

    resolv.h
    configure:3545: gcc -c -g -O2 conftest.c >&5
    In file included from conftest.c:88:
    /usr/include/resolv.h:106: error: field `nsaddr_list' has incomplete type
    /usr/include/resolv.h:116: error: field `addr' has incomplete type
    /usr/include/resolv.h:131: error: field `ina' has incomplete type
    /usr/include/resolv.h:132: error: field `in6a' has incomplete type
    configure:3551: $? = 1
    configure: failed program was:

    if.h
    configure:3545: gcc -c -g -O2 conftest.c >&5
    In file included from conftest.c:94:
    /usr/include/net/if.h:235: error: field `ifru_addr' has incomplete type
    /usr/include/net/if.h:236: error: field `ifru_dstaddr' has incomplete type
    /usr/include/net/if.h:237: error: field `ifru_broadaddr' has incomplete type
    /usr/include/net/if.h:269: error: field `ifra_addr' has incomplete type
    /usr/include/net/if.h:270: error: field `ifra_broadaddr' has incomplete type
    /usr/include/net/if.h:271: error: field `ifra_mask' has incomplete type
    /usr/include/net/if.h:322: error: field `addr' has incomplete type
    /usr/include/net/if.h:323: error: field `dstaddr' has incomplete type


    Any suggestions?
  • edeus
    Senior Member
    • Aug 2005
    • 120

    #2
    Have you thought about reinstalling your system libraries? I havent had any problems on default /usr/include sources if that helps.

    Comment

    Working...