Re: gkrellm on netbsd/sparc64

"Andras Barna" <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
yes
works if it's defined.
i _must_ use gmake netbsd2 and this rule not applies:
#if !(defined(__FreeBSD__) && __FreeBSD_version < 410000) && \
    !(defined(__NetBSD__) && __NetBSD_version < 105000000) && \
    !(defined(__OpenBSD__) && OpenBSD < 200006) && \
    !defined(__APPLE__)
#define HAVE_GETIFADDRS 1
(if i use only 'gmake' it stops with 'kvm' errors)
i have netbsd 3.1

thx

On 8/17/07, Bill Wilson <[email protected]> wrote:
> On Fri, 17 Aug 2007 21:51:02 +0300
> "Andras Barna" <[email protected]> wrote:
>
> > no problem,
> > Program received signal SIGBUS, Bus error.
> > [Switching to LWP 1]
> > gkrellm_sys_net_read_data () at bsd-common.c:125
> > 125                             gkrellm_net_assign_data(s,
> > (gdb) bt full
> > #0  gkrellm_sys_net_read_data () at bsd-common.c:125
> >         ifm = (struct if_msghdr *) 0x23243c
> >         sdl = (struct sockaddr_dl *) 0x2324d4
> >         lim = 0x23266c "conv_std.a"
> >         next = 0x2324ec ""
> >         needed = 1644
> >         s = "eon0\0\0\004\0\0\0\0\0\0\0\0\uffff", '\0' <repeats 13 times>, "\"B"
>
> This part of the code hasn't changed in a long time, so I don't
> know what could be wrong.  The only test I can think of would
> be to try a compile making sure this define gets set:
>
> #define HAVE_GETIFADDRS 1
>
> in case the test for it not right for the netbsd version you have.
> Just add that line right before the "#if defined(HAVE_GETIFADDRS)"
> line in the gkrellm/src/sysdeps/bsd-common.c file.
>
> If that doesn't compile or work and if there's no netbsd users on the list
> who can help, you may need to do a netbsd problem report for the
> gkrellm package.
>
> Bill
> _______________________________________________
> Gkrellm mailing list
> [email protected]
> http://lists.jutley.org/cgi-bin/mailman/listinfo/gkrellm
>


-- 
---
Andy
_______________________________________________
Gkrellm mailing list
[email protected]
http://lists.jutley.org/cgi-bin/mailman/listinfo/gkrellm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.