bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 0/348] move AC_LIBOBJ invocations to the module descriptions


From: Tom G. Christensen
Subject: Re: [PATCH 0/348] move AC_LIBOBJ invocations to the module descriptions
Date: Sat, 18 Jun 2011 14:01:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110419 Red Hat/3.1.10-1.el6_0 Thunderbird/3.1.10

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

[Prev in Thread] Current Thread [Next in Thread]