(T.o.m.e. Porting) Undefined Reference To Physfs Functions


dftruf

Still Fresh
Joined
Aug 9, 2006
Messages
61
Greetings,

I try to compile T.O.M.E. (rogue-like game) with wiz SDK for windows. Compilator creates *.o files, and linker prints error when it try to create executable (tome3 file):

Undefined references to functions which are used in:
physfs/archiver/dir.c
physfs/archiver/zip.c
physfs/physfs.c

"physfs/archiver/dir.o: In function `DIR_read':
dir.c:(.text+0x4): undefined reference to `__PHYSFS_platformRead'
physfs/archiver/dir.o: In function `DIR_write':
dir.c:(.text+0xc): undefined reference to `__PHYSFS_platformWrite' ..."

These errors concern only physfs module.
Sources of physfs are delivered with game's sources. And modules are compiled with game's modules.

Does anybody know why linker put these errors? Functions from game's files have defined references.
 
Back
Top