I'm having trouble compiling Sablot-0.44 on a shell account I have.

$ uname -a
SunOS io 5.5.1 Generic_103640-24 sun4m sparc SUNW,SPARCstation-5

$ make
...
c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg
-I../../Expat/distribution/xmltok -I../../Expat/distribution/xmlparse
        -g -O2 -c platform.cpp  -fPIC -DPIC -o .libs/platform.lo
platform.cpp: In function `double getMillisecs()':
platform.cpp:95: implicit declaration of function `int ftime(...)'
make[2]: *** [platform.lo] Error 1
make[2]: Leaving directory `/home/USR/kno/src/php/Sablot-0.44/Sablot/engine'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/USR/kno/src/php/Sablot-0.44/Sablot'
make: *** [all-recursive] Error 1
Exit 2


I've checked the code and I'm stumped.  I don't have much experience
coding on a sparc.  The preprocessor seems to be loading both
<sys/types.h> and <sys/timeb.h> where ftime is defined.  Is there a
quick fix to this?

Reply via email to