I'm having problems getting sqsh to compile on Solaris 8. Seems that sqsh_compat.h makes calls to timelocal which does not exist. As result, I'm getting unresolve symbol for timelocal in cmd_jobs.o
After combing /usr for timelocal, I googled to find one article suggesting that calls to timelocal be replaced with mktime (seems that mktime replaced timelocal) in the code. This gives me compilation but of course blows up runtime.
Tech details: SunOS5.8 using gcc 3.3 compiling sqsh 2.1 over freetds 0.61.
The compilations went fine for Linux and HP-UX. I'm sure this has been a common question, apologies for any repetition...