Problem
When running "nm++" on SCO OpenServer 5, it fails to run and produces this error:
# nm++ Driver.o
nm++: syntax error at line 3: `|' unexpected Cause
There is a space between the two pipe ("|") signs in the
/usr/bin/nm++ script. Solution
To work around this problem, take these steps:
1. Make a backup of the file:/usr/bin/nm++Then edit the original.2. Update line 3 so that the space between each "|" is removed,
that is, change line 3 from: __DSROOT=$__CPLUSROOT/usr/lib/CC/fixes $__CPLUSROOT/usr/lib/CC/fixes/nm "$@"
| | $__CPLUSROOT/usr/lib/CC/c++filtto: __DSROOT=$__CPLUSROOT/usr/lib/CC/fixes $__CPLUSROOT/usr/lib/CC/fixes/nm "$@"
|| $__CPLUSROOT/usr/lib/CC/c++filtSave the file.This problem has been reported to SCO Engineering.
See also
nm(CP)