|
From: Jitendra A. <jit...@ya...> - 2004-04-24 09:20:39
|
Hi all,
I am getting following error when trying to run
valgrind on my system.
[jeet@gmsc msrnfetch]$ valgrind ./msrnfetch
./msrnfetch: relocation error: /lib/librt.so.1: symbol
__pthread_clock_settime, version GLIBC_PRIVATE not
defined in file libpthread.so.0 with link time
reference
Following is some additional info :
[jeet@gmsc msrnfetch]$ uname -a
Linux gmsc 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002
i686 unknown
[jeet@gmsc msrnfetch]$
[jeet@gmsc msrnfetch]$ valgrind -v
usage: valgrind [options] prog-and-args
core user options, with defaults in [ ], are:
--help show this message
--version show version
--skin=<name> main task (skin to use)
[Valgrind]
-q --quiet run silently; only print
error msgs
-v --verbose be more verbose, incl
counts of errors
--gdb-attach=no|yes start GDB when errors
detected? [no]
--gdb-path=/path/to/gdb path to the GDB to use
[/usr/bin/gdb]
--gen-suppressions=no|yes print suppressions for
errors detected [no]
--demangle=no|yes automatically demangle
C++ names? [yes]
--num-callers=<number> show <num> callers in
stack traces [4]
--error-limit=no|yes stop showing new errors
if too many? [yes]
--trace-children=no|yes Valgrind-ise child
processes? [no]
--run-libc-freeres=no|yes Free up glibc memory at
exit? [yes]
--logfile-fd=<number> file descriptor for
messages [2=stderr]
--logfile=<file> log messages to
<file>.pid<pid>
--input-fd=<number> file descriptor for
(gdb) input [0=stdin]
--logsocket=ipaddr:port log messages to socket
ipaddr:port
--suppressions=<filename> suppress errors
described in
suppressions file
<filename>
--weird-hacks=hack1,hack2,... [no hacks selected]
recognised hacks are: ioctl-VTIME
truncate-writes lax-ioctls
Memcheck skin user options:
--partial-loads-ok=no|yes too hard to explain
here; see manual [yes]
--freelist-vol=<number> volume of freed blocks
queue [1000000]
--leak-check=no|yes search for memory leaks
at exit? [no]
--leak-resolution=low|med|high how much bt
merging in leak check [low]
--show-reachable=no|yes show reachable blocks in
leak check? [no]
--workaround-gcc296-bugs=no|yes self explanatory
[no]
--sloppy-malloc=no|yes round malloc sizes to
next word? [no]
--alignment=<number> set minimum alignment of
allocations [4]
--avoid-strlen-errors=no|yes suppress errs from
inlined strlen [yes]
core options for debugging Valgrind itself are:
--sanity-level=<number> level of sanity checking
to do [1]
--single-step=no|yes translate each instr
separately? [no]
--optimise=no|yes improve intermediate
code? [yes]
--profile=no|yes profile? (skin must be
built for it) [no]
--chain-bb=no|yes do basic-block chaining?
[yes]
--trace-codegen=<XXXXX> show generated code? (X
= 0|1) [00000]
--trace-syscalls=no|yes show all system calls?
[no]
--trace-signals=no|yes show signal handling
details? [no]
--trace-symtab=no|yes show symbol table
details? [no]
--trace-sched=no|yes show thread scheduler
details? [no]
--trace-pthread=none|some|all show pthread event
details? [none]
--stop-after=<number> switch to real CPU after
executing
<number> basic blocks
[infinity]
--dump-error=<number> show translation for
basic block
associated with
<number>'th
error context [0=don't
show any]
Memcheck skin debugging options:
--trace-malloc=no|yes show client malloc
details? [no]
--cleanup=no|yes improve after
instrumentation? [yes]
Extra options are read from env variable
$VALGRIND_OPTS
Valgrind is Copyright (C) 2000-2003 Julian Seward
and licensed under the GNU General Public License,
version 2.
Bug reports, feedback, admiration, abuse, etc, to:
js...@ac....
Skins are copyright and licensed by their authors.
See each
skin's start-up message for more information.
[jeet@gmsc msrnfetch]$ valgrind --version
valgrind-2.0.0
[jeet@gmsc msrnfetch]$ gcc --version
2.96
[jeet@gmsc msrnfetch]$ rpm -qa | grep glib
glib2-2.0.1-2
glibc-kernheaders-2.4-7.14
compat-glibc-6.2-2.1.3.2
glibc-debug-static-2.2.5-34
glibc-2.2.5-34
glibc-profile-2.2.5-34
glibc-common-2.2.5-34
glibc-devel-2.2.5-34
glib2-devel-2.0.1-2
glibc-utils-2.2.5-34
glib10-1.0.6-10
glibc-debug-2.2.5-34
glib-1.2.10-5
glib-devel-1.2.10-5
[jeet@gmsc msrnfetch]$
I am using RHL 7.3. The program is using ACE library :
http://www.cs.wustl.edu/~schmidt/ACE.html
Thanks in advance,
Jitendra Agrawal.
__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
|