On 06/16/2011 12:12 AM, Bruno Haible wrote:
I wrote:
Please review and comment. I'll wait for objections for a week.

The week is over. I have now pushed the series of patches, after doing an
additional test with --create-megatestdir.

I found another regression from this patch series.

On Solaris 2.6 test-getloadavg now fails to link:
gcc -std=gnu99 -g -O2 -L/usr/tgcware/lib -Wl,-R,/usr/tgcware/lib -o test-getloadavg test-getloadavg.o ../gllib/libgnu
.a -lkvm -lelf  -lm   -lm     -lm    -lm  -lm  -lm
Undefined                       first referenced
 symbol                             in file
kstat_close                         ../gllib/libgnu.a(getloadavg.o)
kstat_lookup                        ../gllib/libgnu.a(getloadavg.o)
kstat_read                          ../gllib/libgnu.a(getloadavg.o)
kstat_open                          ../gllib/libgnu.a(getloadavg.o)
kstat_data_lookup                   ../gllib/libgnu.a(getloadavg.o)
ld: fatal: Symbol referencing errors. No output written to test-getloadavg

The problem is that '-lkstat' is missing from GETLOADAVG_LIBS.
The cause for that is gl_PREREQ_GETLOADAVG nolonger being called from inside gl_GETLOADAVG where GETLOADAVG_LIBS is being determined, but after.

-tgc

Reply via email to