OESF Portables Forum

Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => Linux Applications => Topic started by: daniel3000 on December 13, 2005, 09:20:24 am

Title: Undefined Reference To `stat'
Post by: daniel3000 on December 13, 2005, 09:20:24 am
Hello,

I'm trying to compile the zSMS tools (getsms, putsms...) on the Z with the devimg provided by Silvio Iaccarino.

I get a few ld errors

Code: [Select]
extras.o: In function `movefile':
extras.o(.text+0x74): undefined reference to `stat'
extras.o(.text+0x74): reoaction truncated to fit: R_ARM_PC24 stat

and similar output.

I'm not a compiler expert, so I'd be grateful for any pointers about

* what this means exactly
* there I can find the symbol "stat" (any libs missing?)
* for the future: How can I find out myself what's missing if I get undefined references?

Background is: I'm trying to modify getsms in a way that it creates mbox-compliant files with SMSes from the mobile phone, so that I can use thee files form within mutt to read and reply to SMS.

Thanks

daniel