pkgsrc-Bugs archive

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

Re: pkg/50019 (net/bmon shows tap(4) interface name with garbage at the end)



On Tue, Nov 03, 2015 at 06:53:12PM +0000, bsiegert%NetBSD.org@localhost wrote:
> Synopsis: net/bmon shows tap(4) interface name with garbage at the end
> 
> State-Changed-From-To: open->feedback
> State-Changed-By: bsiegert%NetBSD.org@localhost
> State-Changed-When: Tue, 03 Nov 2015 18:53:12 +0000
> State-Changed-Why:
> I just committed an update to bmon-3.8, does this fix your problem?
> 
Now it doesn't compile for me.

I did only cvs up -rHEAD -dPA in net/bmon, since I'm using
stable pkgsrc branch.

Here's the log:

======================================================================
[...]
  CC       bmon-in_netlink.o
  CC       bmon-in_null.o
  CC       bmon-in_dummy.o
  CC       bmon-in_proc.o
  CC       bmon-in_sysctl.o
In file included from /usr/include/machine/lock.h:3:0,
                 from /usr/include/sys/lock.h:74,
                 from /usr/include/uvm/uvm_extern.h:472,
                 from /usr/include/sys/sysctl.h:49,
                 from in_sysctl.c:39:
/usr/include/x86/lock.h:86:2: error: expected ')' before '__attribute__'
/usr/include/x86/lock.h:86:2: error: expected ',' or ';' before ')' token
/usr/include/x86/lock.h:88:2: error: expected ')' before '__attribute__'
/usr/include/x86/lock.h:88:2: error: expected ',' or ';' before ')' token
/usr/include/x86/lock.h:90:2: error: expected ')' before '__attribute__'
/usr/include/x86/lock.h:90:2: error: expected ',' or ';' before ')' token
/usr/include/x86/lock.h:92:2: error: expected ')' before '__attribute__'
/usr/include/x86/lock.h:92:2: error: expected ',' or ';' before ')' token
in_sysctl.c: In function 'sysctl_read':
in_sysctl.c:229:3: warning: format '%u' expects type 'unsigned int', but argument 4 has type '__uint64_t'
in_sysctl.c:229:3: warning: format '%u' expects type 'unsigned int', but argument 4 has type '__uint64_t'
in_sysctl.c:232:3: warning: format '%u' expects type 'unsigned int', but argument 4 has type '__uint64_t'
in_sysctl.c:232:3: warning: format '%u' expects type 'unsigned int', but argument 4 has type '__uint64_t'
in_sysctl.c:235:59: error: 'struct if_data' has no member named 'ifi_recvquota'
in_sysctl.c:238:59: error: 'struct if_data' has no member named 'ifi_xmitquota'
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/net/bmon/default/bmon-3.8/src
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/net/bmon/default/bmon-3.8
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/bmon
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/bmon
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/net/bmon
======================================================================

Do you have any idea?  Maybe it's something wrong with my
configuration.

Also... One of the old patches you removed was, I think, to allow
compilation with NetBSD sysctl headers.

Thank you for your work!
	Dominik


-- 
-   The Underlegend Networks' Free Shell!  (a kewl place on teh interwebs!)
-   http://yenn.ulegend.net/
-   gopher://yenn.ulegend.net/
-   telnet/ssh yenn.ulegend.net - anonymous/anonymous


Home | Main Index | Thread Index | Old Index