Re: gkrellm on netbsd/sparc64

Bill Wilson <[email protected]>
Newsgroups gmane.comp.gnome.apps.gkrellm
Message-ID <[email protected]>
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
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.