pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/37405: net-snmp is broken on Darwin
>Number: 37405
>Category: pkg
>Synopsis: net-snmp is broken on Darwin
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Nov 19 14:15:00 +0000 2007
>Originator: Adrian Portelli
>Release: n/a
>Organization:
STIndustries
>Environment:
Darwin 8.* and 9.*
>Description:
The build of net-snmp from pkgsrc HEAD fails with teh following error:
gcc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib
-no-cpp-precomp -I/var/scratch/pkgsrc.obj/net/net-snmp/work/.buildlink/include
-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe
-Wdeclaration-after-statement
-I/var/scratch/pkgsrc.obj/net/net-snmp/work/.buildlink/lib/perl5/5.8.0/darwin-thread-multi-2level/CORE
-pipe -O2 -Udarwin9 -Ddarwin9=darwin9 -c host/hr_swrun.c -fno-common -DPIC -o
host/.libs/hr_swrun.o
host/hr_swrun.c: In function 'var_hrswrun':
host/hr_swrun.c:981: error: invalid use of undefined type 'struct proc'
host/hr_swrun.c:981: error: dereferencing pointer to incomplete type
host/hr_swrun.c:1135: error: invalid use of undefined type 'struct proc'
host/hr_swrun.c:1135: error: dereferencing pointer to incomplete type
host/hr_swrun.c:1136: error: invalid use of undefined type 'struct proc'
host/hr_swrun.c:1136: error: dereferencing pointer to incomplete type
host/hr_swrun.c:1137: error: invalid use of undefined type 'struct proc'
host/hr_swrun.c:1137: error: dereferencing pointer to incomplete type
host/hr_swrun.c:1138: error: invalid use of undefined type 'struct proc'
host/hr_swrun.c:1138: error: dereferencing pointer to incomplete type
host/hr_swrun.c: In function 'Init_HR_SWRun':
host/hr_swrun.c:1440: error: 'NPROC_SYMBOL' undeclared (first use in this
function)
host/hr_swrun.c:1440: error: (Each undeclared identifier is reported only once
host/hr_swrun.c:1440: error: for each function it appears in.)
host/hr_swrun.c:1445: error: invalid application of 'sizeof' to incomplete type
'struct proc'
host/hr_swrun.c:1458: error: 'PROC_SYMBOL' undeclared (first use in this
function)
host/hr_swrun.c: In function 'Get_Next_HR_SWRun':
host/hr_swrun.c:1496: error: invalid use of undefined type 'struct proc'
host/hr_swrun.c:1496: error: dereferencing pointer to incomplete type
host/hr_swrun.c:1497: error: invalid use of undefined type 'struct proc'
host/hr_swrun.c:1497: error: dereferencing pointer to incomplete type
host/hr_swrun.c: In function 'count_processes':
host/hr_swrun.c:1530: error: invalid use of undefined type 'struct proc'
host/hr_swrun.c:1530: error: dereferencing pointer to incomplete type
*** Error code 1
Stop.
bmake: stopped in
/var/scratch/pkgsrc.obj/net/net-snmp/work/net-snmp-5.4.1/agent/mibgroup
*** Error code 1
Stop.
bmake: stopped in /var/scratch/pkgsrc.obj/net/net-snmp/work/net-snmp-5.4.1/agent
*** Error code 1
Stop.
bmake: stopped in /var/scratch/pkgsrc.obj/net/net-snmp/work/net-snmp-5.4.1
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/net/net-snmp
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/net/net-snmp
It's the same error if it's Darwin 8.* or 9.*
>How-To-Repeat:
cd net/net-snmp && bmake
>Fix:
Home |
Main Index |
Thread Index |
Old Index