Next: , Previous: Troubleshooting and Testing, Up: Troubleshooting and Testing


2.6.1 Problems Compiling

FILE PROBLEM / MESSAGE HOW TO FIX
*.c include file not found. Correct the status of STDC_HEADERS in scmfig.h.
fix #include statement or add #define for system type to scmfig.h.
*.c Function should return a value. Ignore.
Parameter is never used.
Condition is always false.
Unreachable code in function.
scm.c assignment between incompatible types. Change SIGRETTYPE in scm.c.
time.c CLK_TCK redefined. incompatablility between <stdlib.h> and <sys/types.h>.
Remove STDC_HEADERS in scmfig.h.
Edit <sys/types.h> to remove incompatability.
subr.c Possibly incorrect assignment in function lgcd. Ignore.
sys.c statement not reached. Ignore.
constant in conditional expression.
sys.c undeclared, outside of functions. #undef STDC_HEADERS in scmfig.h.
scl.c syntax error. #define SYSTNAME to your system type in scl.c (softtype).