Date: Sun, 30 Dec 2012 21:59:31 -0800 From: Isaac Dunham <idunham@...abit.com> To: musl@...ts.openwall.com Subject: lshw FTBFS: res_querydomain declared but not implemented I've been trying to build lshw  with musl, and I ran into a few problems: 1: lshw uses __uint8_t (standard fixes work) 2: It wants GNU basename() (I added <libgen.h> and used -fpermissive) 3: It wants MAX_PATH from some header that doesn't have it: I added <limits.h> 4: It wants res_querydomain. This does not show up until link time, since <resolv.h> declares it. However, musl does not acually implement this function. Currently, I've got a very hackish implementation that isn't fit to ship: -it doesn't check for name == "machine." -it doesn't handle domain == NULL (should use name, without any terminal ".") -it does no error checking, on the assumption that res_query can handle that.  http://ezix.org/project/wiki/HardwareLiSter -- Isaac Dunham <idunham@...abit.com>
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.