relocation R_X86_64_PC32 against undefined symbol `clock@@GLIBC_2.2.5'

Jean Louis <[email protected]>
Newsgroups gmane.lisp.clisp.general
Message-ID <[email protected]>
Hello,

I am using configure as below, and I get an error, on x64 computer,
does it mean I should recompile the glibc?

Jean

make[1]: Entering directory '/sources/gnu/clisp-clisp/modules/syscalls'
make[1]: Circular preload.lisp <- preload.lisp dependency dropped.
make[1]: Circular datemsk <- datemsk dependency dropped.
make[1]: Nothing to be done for 'clisp-module'.
make[1]: Leaving directory '/sources/gnu/clisp-clisp/modules/syscalls'
gcc -shared -fPIC -DPIC calls.o bogomips.o -lm -lcrypt -Wl,--export-dynamic -g -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -O -falign-functions=4 -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -fPIC -DPIC -Wl,-soname -Wl,lib-syscalls.so -o /sources/gnu/clisp-clisp/build2/dynmod/lib-syscalls.so
/usr/bin/ld: bogomips.o: relocation R_X86_64_PC32 against undefined symbol `clock@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
./clisp-link: failed in /sources/gnu/clisp-clisp/build2/full
make: *** [Makefile:2320: full] Error 1

with configure:

ulimit -s 16384 && ./configure --prefix=/package/prog/clisp --with-module=../modules/asdf --with-module=../modules/berkeley-db --with-module=../modules/bindings/glibc --with-module=../modules/clx/new-clx --with-module=../modules/dbus --with-module=../modules/editor --with-module=../modules/fastcgi --with-module=../modules/gdbm --with-module=../modules/gtk2 --with-module=../modules/i18n --with-module=../modules/pcre --with-module=../modules/postgresql --with-module=../modules/rawsock --with-module=../modules/readline --with-module=../modules/regexp --with-module=../modules/syscalls --with-module=../modules/zlib build

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
clisp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.