Kbase P13909: Compilation of the Bundle and Unbundle Toolkit Utilities.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  1/30/2003 |
|
Status: Unverified
FACT(s) (Environment):
Windows
FACT(s) (Environment):
DOS
SYMPTOM(s):
Attempting to compile the bundle and unbundle toolkit utilities.
Error %DLC%\TOOLKIT\BUNDLE\BUNDLE.C 39: Unable to open include file 'SYS/PARAM.H'
Error %DLC%\TOOLKIT\BUNDLE\UNBUNDLE.C 38: Unable to open include file 'UNISTD.H'
CAUSE:
The MSDOS preprocessor is not being defined when compiling those toolkit utilities. Therefore, the C compiler interface will attempt to compile UNIX code under the Windows (MSDOS) environment, which causes the above error messages to occur.
FIX:
Compile the bundle.c and unbundle.c utilities as follows:
%DLC%\toolkit\bundle>cc -DMSDOS bundle.c
%DLC%\toolkit\bundle>cc -DMSDOS unbundle.c