[Win98 Setup Bug]
Bug DescriptionScriptBasic does not link on Solaris, the linker complains about missing function COMMAND_SEC.
Bug Reason, What Causes the BugThe BASIC function SEC is implemented using the macro COMMAND(SEC). When this macro is invoked the string literal COMMAND_ and the macro argument SEC is supposed to be concatenated by the C macro preprocessor. Unfortunately on Solaris the macro SEC is defined in sys/time.h and thus the macro COMMAND is invoked with the argument: COMMAND(1). Finally the function COMMAND_1 is defined by the C compiler erroneously.
SolutionIn the file commands/time.c the line
#undef SEChas to be inserted before the definition of the macro TIMEFUN.
Bug Workaround Until Solution is AvailableThere is no workaround, the patch has to be applied in order to successfully compile the program under Solaris.