Technical article 105006

Kernel relink fails with undefined symbol in /etc/conf/pack.d/ccs/space.o.

OpenServer 5.0.0

Written · Last revised

Problem

While using "mkdev tape" to configure the system for a SCSI tape attached to a Compaq SCSI Integrated SCSI-2 Options port host adapter (which is supported by the CUCCS driver), I get this error when doing the kernel relink:

undefined                       first referenced
 symbol                             in file
Stp_intr                            /var/opt/K/SCO/Unix/5.0.0Cl/etc/conf/pack.d/
ccs/space.o
ld fatal: Symbol referencing errors. No output written to unix
ERROR: Can not link-edit unix

The (CUCCS) driver I am using is the one included in EFS147, the Compaq EFS 5.02, which is for SCO OpenServer Release 5.

Cause

The space.c file included with this driver refers to Stp_intr, which is no longer defined in the SCSI tape Driver.

Solution

Edit:
/etc/conf/pack.d/ccs/space.c
and replace (line 103):
extern int Stp_intr();
with:
extern int Stp_norm_intr();
Relink the kernel.  Reboot your system to use the tape drive.
This problem has been reported to SCO Engineering.

See also

mkdev(ADM)

From the Xinuos technical article database, record 105006. Reproduced with permission. The original is at www.sco.com/ta/105006, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.