Kbase P21513: ldpro returns undefined symbols error
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/19/2003 |
|
Status: Unverified
FACT(s) (Environment):
SCO OpenServer 5.0.6
FACT(s) (Environment):
Progress 9.1D
SYMPTOM(s):
When running ldpro, the linker (ld) returns undefined symbols error on functions proevt, procncel and prosleep
Error: "Unresolved symbol in $DLC/bin/_progres: fatal error: this executable has unresolved symbols"
CHANGE:
Upgraded to 9.1D.
CHANGE:
Functions prosleep(), proevt() and procncel() added to a HLC function
FIX:
The functions named in the error message have more than likely not been defined as such on the system and are known by another name.
Look for the header file hlc.h. It should be in $DLC/probuild/hlc. This header file contains definitions for prosleep etc.:
#define prosleep(secs) (utsleep(secs))
#define proevt(secs, pflag) (utevt((secs), (pflag)))
#define prowait(pflag) (utwait(pflag))
#define procncel(pflag) (utcncel(pflag))
Make sure to include this header file as well in the file in which you are adding prosleep etc. This should allow the executable to be linked.