Re: getloadavg on Solaris 2.6

2011-02-17 Thread Paul Eggert
On 02/17/2011 04:13 PM, Bruno Haible wrote: > getloadavg: Fix link error on Solaris 2.6. Yes, thanks, that looks good.

Re: getloadavg on Solaris 2.6

2011-02-17 Thread Bruno Haible
Hi Paul, When compiling a testdir for the 'getloadavg' module on Solaris 2.6 - which does not have getloadavg in libc, unlike Solaris 7 -, I get this error: cc -O -g -o test-getloadavg test-getloadavg.o ../gllib/libgnu.a ild: (undefined symbol) kstat_read -- referenced in the text segment of