This is the mail archive of the libc-help@sourceware.org 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]

libc version librt and timer_create timer_delete


Hi,

While trying to build a program which has a link dependency to a third
party library (libScaleViz.so) I get the following linker errors:

../../../product/lib/arch-LinuxAMD64-Debug/libScaleViz.so: undefined
reference to `timer_delete@GLIBC_2.3.3'
../../../product/lib/arch-LinuxAMD64-Debug/libScaleViz.so: undefined
reference to `timer_create@GLIBC_2.3.3'
../../../product/lib/arch-LinuxAMD64-Debug/libScaleViz.so: undefined
reference to `timer_settime@GLIBC_2.3.3'

libScaleViz has among others the following dependency:

libc.so.6 => /lib64/tls/libc.so.6 (0x0000002a95a88000)
librt.so.1 => /lib64/tls/librt.so.1 (0x0000002a9586000)

Looking at this library with
objdump -x /lib64/tls/libc.so.6  |grep timer

confirms that these symbols indeed do not exist. They do, however,
exist in /lib64/tls/librt.so.1

My system is Centos 4.6 which is equivalent to RHEL 4U6. glibc is
libc-2.3.4.so, gcc 4.1.2

I am wondering how this problem could occur in the first place. The
version of glibc against which the library was linked contained these
symbols. Is this a glitch in the backward compatibility of glibc? And
can someone tell me how to fix this or do I need a different system
with glibc 2.3.3. to do the build?

Thanks in advance for help

Timm


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