|
From: <Tl...@ao...> - 2006-04-14 16:52:19
|
Sorry. Ithink I sent my reply to the wrong address. Tl...@ao... wrote: > I'm trying to compile epsonplijs-0.4.0 under Solaris10. I'm using gcc3.4.3 > and gmake version > 3.80. I get the following error when the compile reaches epl_time.c: > epl_time.c: In function `get-time-now': > epl_time.c:39: error: storage size of 'time_now' isn't known > epl_time.c:40: warning:implicit declaration of function 'gettimeofday' > epl_time.c:39: warning: unused variable 'time_now' > make: *** [epl_time.o] Error 1 > and, of course, the compilation fails. Any ideas would be gratefully > received. I know very > little about programming and just want to use this software. Thanks. > David Talbot. tl...@ao... Something is terribly wrong with your system (or solaris 10). I just looked at the solaris 9 box in sourceforge's compile farm. Can you try "man gettimeofday"? On solaris 9, it says these 3 lines near the top: ========================= #include <sys/time.h> int gettimeofday(struct timeval *tp, void *); int settimeofday(struct timeval *tp, void *); ========================= ___________________________________________________________ How much mail storage do you get for free? Yahoo! Mail gives you 1GB! I get #include <sys/time.h> int gettimeofday(struct timeval *tp, void *tzp); int settimeofday(struct timeval *tp, void *tzp); with the tp and tzp underlined. Thanks. David. |