The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
.
google unix.com



High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Undefined symbol: .log ravindra_maddal AIX 0 05-15-2008 08:30 AM
Getting error "Undefined symbol: .u_strlen_2_6" nachiketv AIX 0 06-05-2006 10:16 AM
shared object "undefined symbol: fstat" error marcus121 High Level Programming 5 04-24-2006 08:11 PM
Undefined symbol: .getcury in getyx gefa High Level Programming 7 03-24-2006 08:29 AM
ld: 0711-317 ERROR: Undefined symbol: .hello stockdan High Level Programming 2 11-25-2003 05:43 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-09-2008
dpa078 dpa078 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 4
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:
  #2 (permalink)  
Old 04-09-2008
andryk's Avatar
andryk andryk is offline Forum Advisor  
Registered User
  
 

Join Date: Sep 2003
Posts: 448
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
  #3 (permalink)  
Old 04-09-2008
dpa078 dpa078 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 4
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.
  #4 (permalink)  
Old 04-09-2008
dpa078 dpa078 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 4
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)
  #5 (permalink)  
Old 04-09-2008
dpa078 dpa078 is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 4
found resolution finally with 32bit libs from another box
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 01:58 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0