pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/33662 (net/net-snmp build failures on MacOS X 10.3.9)



The following reply was made to PR pkg/33662; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/33662 (net/net-snmp build failures on MacOS X 10.3.9)
Date: Thu, 4 Nov 2010 10:20:53 -0500 (CDT)

 On Thu, 4 Nov 2010, dholland%NetBSD.org@localhost wrote:
 
 > does this break on more recent macos?
 
 Yes.  But differently.  On MacOS X 10.4.11, it fails with:
 
 [...]
 /bin/sh ../../libtool --mode=compile gcc -I../../include -I. -I../../agent 
-I../../agent/mibgroup  -I../../snmplib -no-cpp-precomp -isystem /usr/include 
-I/usr/pkg/include -I/usr/include  -pipe -O2 -I/usr/pkg/include -I/usr/include 
-Udarwin8 -Ddarwin8=darwin8  -fno-common -DPERL_DARWIN -no-cpp-precomp 
-fno-strict-aliasing -pipe -I/usr/local/include  
-I/usr/pkg/lib/perl5/5.12.0/darwin-thread-multi-2level/CORE -c -o 
host/hr_swrun.lo host/hr_swrun.c
 libtool: compile:  gcc -I../../include -I. -I../../agent 
-I../../agent/mibgroup -I../../snmplib -no-cpp-precomp -isystem /usr/include 
-I/Volumes/d0/tmp/pkgsrc/net/net-snmp/work/.buildlink/include -pipe -O2 
-Udarwin8 -Ddarwin8=darwin8 -fno-common -DPERL_DARWIN -no-cpp-precomp 
-fno-strict-aliasing -pipe 
-I/Volumes/d0/tmp/pkgsrc/net/net-snmp/work/.buildlink/lib/perl5/5.12.0/darwin-thread-multi-2level/CORE
 -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:1003: error: invalid use of undefined type 'struct proc'
 host/hr_swrun.c:1003: error: dereferencing pointer to incomplete type
 host/hr_swrun.c:1161: error: invalid use of undefined type 'struct proc'
 host/hr_swrun.c:1161: error: dereferencing pointer to incomplete type
 host/hr_swrun.c:1162: error: invalid use of undefined type 'struct proc'
 host/hr_swrun.c:1162: error: dereferencing pointer to incomplete type
 host/hr_swrun.c:1163: error: invalid use of undefined type 'struct proc'
 host/hr_swrun.c:1163: error: dereferencing pointer to incomplete type
 host/hr_swrun.c:1164: error: invalid use of undefined type 'struct proc'
 host/hr_swrun.c:1164: error: dereferencing pointer to incomplete type
 host/hr_swrun.c: In function 'Init_HR_SWRun':
 host/hr_swrun.c:1497: error: 'NPROC_SYMBOL' undeclared (first use in this 
function)
 host/hr_swrun.c:1497: error: (Each undeclared identifier is reported only once
 host/hr_swrun.c:1497: error: for each function it appears in.)
 host/hr_swrun.c:1502: error: invalid application of 'sizeof' to incomplete 
type 'struct proc' 
 host/hr_swrun.c:1515: error: 'PROC_SYMBOL' undeclared (first use in this 
function)
 host/hr_swrun.c: In function 'Get_Next_HR_SWRun':
 host/hr_swrun.c:1556: error: invalid use of undefined type 'struct proc'
 host/hr_swrun.c:1556: error: dereferencing pointer to incomplete type
 host/hr_swrun.c:1557: error: invalid use of undefined type 'struct proc'
 host/hr_swrun.c:1557: error: dereferencing pointer to incomplete type
 host/hr_swrun.c: In function 'count_processes':
 host/hr_swrun.c:1590: error: invalid use of undefined type 'struct proc'
 host/hr_swrun.c:1590: error: dereferencing pointer to incomplete type
 *** Error code 1
 
 Stop.
 bmake: stopped in 
/Volumes/d0/tmp/pkgsrc/net/net-snmp/work/net-snmp-5.4.3/agent/mibgroup
 *** Error code 1
 
 Stop.
 bmake: stopped in /Volumes/d0/tmp/pkgsrc/net/net-snmp/work/net-snmp-5.4.3/agent
 *** Error code 1
 
 Stop.
 bmake: stopped in /Volumes/d0/tmp/pkgsrc/net/net-snmp/work/net-snmp-5.4.3
 *** Error code 1
 
 Stop.
 bmake: stopped in /usr/pkgsrc/net/net-snmp
 [...]
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index