MySQL Forums
Forum List  »  Source, Builds, Binaries

make error: undefined reference to __vdso_clock_gettime (Doning mysql TPC-C benchmark)
Posted by: wasiul ztaluzowski
Date: April 11, 2008 11:07PM

Hi everyone! This is a first time im compiling MySQL from source, im running the TPC-C benchmark on MySQL. the goal is to remove everything that isnt "real work" meaning remove: locking, latchin, logging, conncurency controll and have a MEMORY table and see what the performance improvement is. (of course mysql will be broken but this is not the point, if anyone is interested email me)

On to my problem -- I get this error when running make on fedora 8:

Linux Falcon 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:18:33 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux


-------------Error-----------
/bin/sh ../libtool --preserve-dup-deps --tag=CXX --mode=link g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o mysql_tzinfo_to_sql mysql_tzinfo_to_sql.o -all-static ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a ../vio/libvio.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a ../zlib/libzlt.la -lpthread -lcrypt -lnsl -lm -lpthread
g++ -O3 -DDBUG_OFF -fno-implicit-templates -fno-exceptions -fno-rtti -rdynamic -o mysql_tzinfo_to_sql mysql_tzinfo_to_sql.o -static ../myisam/libmyisam.a ../myisammrg/libmyisammrg.a ../heap/libheap.a ../vio/libvio.a ../mysys/libmysys.a ../dbug/libdbug.a ../regex/libregex.a ../strings/libmystrings.a ../zlib/.libs/libzlt.a -lpthread -lcrypt -lnsl -lm -lpthread
../mysys/libmysys.a(mf_pack.o): In function `unpack_dirname':
mf_pack.c:(.text+0x4e6): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
mf_pack.c:(.text+0x4f1): warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libpthread.a(pthread_cond_timedwait.o): In function `pthread_cond_timedwait':
(.text+0xa7): undefined reference to `__vdso_clock_gettime'
collect2: ld returned 1 exit status
make[4]: *** [mysql_tzinfo_to_sql] Error 1
make[4]: Leaving directory `/home/cs637/Project/MySQL2/sql'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/cs637/Project/MySQL2/sql'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/cs637/Project/MySQL2/sql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cs637/Project/MySQL2'
make: *** [all] Error 2

------------End Error------------

I have gcc 4.1.2 and MySQL 5 and followed the instructions in the documentation section 2.4.15
any help greatly appreciated, Thanks!

Options: ReplyQuote


Subject
Views
Written By
Posted
make error: undefined reference to __vdso_clock_gettime (Doning mysql TPC-C benchmark)
5338
April 11, 2008 11:07PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.