![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| bash: "undefined variable" and pipe | nagaidhlig | Shell Programming and Scripting | 6 | 02-18-2008 06:47 AM |
| Can't locate object method "fetchrow_array" Error | rawat_me01 | Shell Programming and Scripting | 0 | 05-23-2007 04:14 AM |
| Getting error "Undefined symbol: .u_strlen_2_6" | nachiketv | AIX | 0 | 06-05-2006 06:16 AM |
| dbx error ("Executable contains object file compiled on ...") | Sabari Nath S | High Level Programming | 0 | 08-04-2005 02:03 PM |
| Error : "No data written to object that was write locked" | nileshkarania | UNIX for Dummies Questions & Answers | 1 | 06-07-2003 08:29 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Didn't have this problem in AIX, but ported to Linux with GCC compiler and am now getting a runtime error:
tssutil: symbol lookup error: /work/agility/devel/bin/libagam.so: undefined symbol: fstat I'm sure most of you know that fstat is an intrinsic function just like printf, memcpy, etc. When I do an "objdump -T" of the shared object, all the other intrinsic functions show "GLIBC_2.2.5" in the Dynamic Symbol Table, but fstat does not. Anyone know how to get past this problem? (I wanted to use fstat to get file size, so have a HORRIBLE workaround of seeking to SEEK_END to get the file size. I'd really rather do this right.) There must be a way to explicitly tell the linker or dynamic loader where to find the fstat object. HELP! Any help would be appreciated. Muchas gracias. ~Marcus |
| Forum Sponsor | ||
|
|
|
|||
|
That's just preprocessing directives anyway. Good for prototyping and for the stat structure definition, etc., and could cause problems on compile if wrong headers were not included, but it does not affect linkage. Thanks for trying though. ~Marcus
|
|||
| Google The UNIX and Linux Forums |