I can't compile a small program with VFSxxx functions using GCC and Sony's
VFSMgr.h, I get:

SCALib.o(.text+0x372):SCALib.cpp: undefined reference to
`VFSVolumeEnumerate'
SCALib.o(.text+0x41a):SCALib.cpp: undefined reference to `VFSFileOpen'
SCALib.o(.text+0x47a):SCALib.cpp: undefined reference to `VFSFileClose'
etc...

I've tried adding #defines for trap number instead of enum, using extern "C"
around prototypes and "extern" before prototypes, with no luck. Even tried
using the file VFSMgr.h from the 4.0 sdk. I guess I'm missing something very
basic about GCC. In this same program I had used TRG's ffslib.h before and
it compiled and linked fine.

Any ideas?

Thanks...




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to