The buildtms Tuxedo Command Fails With Undefined Reference To 'clock_gettime' (Doc ID 1909481.1)

Last updated on DECEMBER 05, 2016

Applies to:

Oracle Tuxedo - Version 11.1.1.2.0 and later
IBM: Linux on System z

Goal

The buildtms command on z/Linux throws below error:

/opt/oracle/tools\>buildtms -v -r Oracle_XA -o TMS_ORA_RH6_TUX11112_OR11g
$TUXDIR/bin/buildserver -r "Oracle_XA" -o TMS_ORA_RH6_TUX11112_OR11g -S -s TMS -s..TMS:TMS -f $TUXDIR/lib/TMS.o -v
g++ -m31     -m31 -DLINUX_FNDT_ -D__RW__E10__     -D_BUILD3 -D_RWCONFIG_fndt -I/usr/include/c++/4.4.4 -I/opt/RogueWave/Ed10u1 -I/opt/oracle/xerces/xerces-c-3.1.1/src -I/opt/oracle/1.0.0/Source/INC -I/opt/oracle/1.0.0/Source/INC/Ipm -I/opt/oracle/1.0.0/Source/INC/DB -I/opt/oracle/1.0.0/Source/INC/Mapi -I/opt/oracle/1.0.0/Source/INC/Ofac -I/opt/oracle/tuxedo2/tuxedo11gR1/include -I/opt/mqm/inc  -I/opt/oracle/cryptoc64/include -I$TUXDIR/include -o TMS_ORA_RH6_TUX11112_OR11g BS-ba69.c  -L${TUXDIR}/lib /opt/oracle/tuxedo2/tuxedo11gR1/lib/TMS.o  -ltux -lbuft  -L${ORACLE_HOME}/lib -lclntsh -lfml -lfml32 -lengine -ldl -lpthread
/opt/oracle/product/11.2.0/client/lib/libclntsh.so: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status

  

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms