This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

glibc-2.3-install


I had problems installing glibc-2.3 on a linux-smp-system with
glibc-2.2.5 installed.

make and make check was ok.

make install failed with a message 
"undefinded reference to "_dl_cpuclock_offset" collect2 failed."

After that the ls command caused the same message.

To recover I mounted the failed system disk to a running system
moved /lib/librt.so  to xx_/lib/librt.so_ and copied
/lib/librt-2.3.so to /lib/librt.so

Then I did chroot to the mounted disc, ls worked now,
and did a make install again. This time succesfully.


readelf -s /lib/librt.so | grep cpu

81: 00003a00    71 FUNC    GLOBAL DEFAULT   12 clock_getcpuclockid@@GLIBC_2.2
82: 00000000     0 FILE    LOCAL  DEFAULT  ABS clock_getcpuclockid.c
208: 00003a00    71 FUNC    GLOBAL DEFAULT   12 clock_getcpuclockid

readelf -s /lib/xx_librt.so_ | grep cpu

65: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND _dl_cpuclock_offset
85: 000039f0    71 FUNC    GLOBAL DEFAULT   12 clock_getcpuclockid@@GLIBC_2.2
87: 00000000     0 FILE    LOCAL  DEFAULT  ABS clock_getcpuclockid.c
198: 00000000     0 NOTYPE  GLOBAL DEFAULT  UND _dl_cpuclock_offset
218: 000039f0    71 FUNC    GLOBAL DEFAULT   12 clock_getcpuclockid

Is _dl_cpuclock_offset gone with glibc-2.3 or shouldn´t it have been
in glibc-2.2.5?

Installing glibc-2.3 with glibc-2.3 already installed worked.


After that I tried to rebuild gcc-3.2. This failed with ..

c++locale.cc: In function `void std::__convert_to_v(const char*, _Tv&,
   std::_Ios_Iostate&, __locale_struct* const&, int) [with _Tv = long int]':
c++locale.cc:51: `__strtol_l' undeclared (first use this function)
c++locale.cc:51: (Each undeclared identifier is reported only once for each
   function it appears in.)



-- 
regards
Klaus 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]