undefined symbol: clock_gettime' error

Hi, i've compiled my app on x86_64 with -m32 gcc option. Can anybody tell me what is/would typically cause the 'undefined symbol: clock_gettime' error??

-1
k){0N!x y}
'/home/da71336/simon/mkvfh/mkv.so: undefined symbol: clock_gettime
@
"q"
"subr:mkv 2:`subr,3; subc:mkv 2:`subc,1; poll:mkv 2:`poll,1 /subs. to rec...
q)):
{stop}
'stop
q)):
{$[(mkv 2:`con,1)`$x; '"mkv connection"; system"t 100"]}
'/home/da71336/simon/mkvfh/mkv.so: undefined symbol: clock_gettime
2:

Hi,
usually that indicates 'clock_gettime' might belongs to a library that you forgot to mention with the "-l" option at compile time, you can look for "-L" option on gcc as well to include directory where your libs are

Hi andryk, yes i have tried a few things like that already, but the compile works when i do it on a 32bit box which is why i'm confused.

if this sheds any more light??

bash-3.00$ ldd mkv.so
linux-gate.so.1 => (0xffffe000)
libc.so.6 => /lib/tls/libc.so.6 (0xf7c39000)
/lib/ld-linux.so.2 (0x56555000)

found resolution finally with 32bit libs from another box