![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
| Can't locate object method "fetchrow_array" Error | rawat_me01 | Shell Programming and Scripting | 1 | 06-03-2009 10:07 AM |
| bash: "undefined variable" and pipe | nagaidhlig | Shell Programming and Scripting | 6 | 02-18-2008 10:47 AM |
| Getting error "Undefined symbol: .u_strlen_2_6" | nachiketv | AIX | 0 | 06-05-2006 09:16 AM |
| dbx error ("Executable contains object file compiled on ...") | Sabari Nath S | High Level Programming | 0 | 08-04-2005 05:03 PM |
| Error : "No data written to object that was write locked" | nileshkarania | UNIX for Dummies Questions & Answers | 1 | 06-07-2003 11:29 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | 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 |
|
||||
|
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
|
![]() |
| Bookmarks |
| Tags |
| linux |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|