I am not sure which OS you are using, but for DB2 LUW V7, you need to have a C compiler installed as all SPs are converted to C code. Later versions remove this restriction.
V7 went out of support several years ago and V8 will be out of support in a few months. You should strongly think about upgrading now.
Andy