All SCSI tapes were removed from the system using 'mkdev tape'. Now, when the /etc/conf/cf.d/link_unix command is run to relink
the kernel, it fails with error messages similar to the following:
The UNIX Operating System will now be rebuilt.
This will take a few minutes. Please wait.
Root for this system build is /
"/var/opt/K/SCO/link/1.1.0Eb/etc/conf/pack.d/Stp/space.h", line 63:
Syntax error
"/var/opt/K/SCO/link/1.1.0Eb/etc/conf/pack.d/Stp/space.h", line 65:
warning: sizeof returns 0
"/var/opt/K/SCO/link/1.1.0Eb/etc/conf/pack.d/Stp/space.h", line 70:
Syntax error
ERROR: '/var/opt/K/SCO/link/1.1.0Eb/etc/conf/pack.d/Stp/space.c'
will not compile properly
i386ld stubs.o fatal: Can't open file
/var/opt/K/SCO/link/1.1.0Eb/etc/conf/pack.d/Stp/space.o for input
ERROR: Can not link-edit unix
idbuild: idmkunix had errors.
System build failed.
Solution
In order to correct this problem, run 'mkdev tape' and add a SCSI tape drive. In order to save time, do not choose to relink the kernel.
Note that you may be unable to add a second device at the original device parameters. If this is the case, then use a different scsi id,
bus or lun to add the drive.
Edit the file /etc/conf/sdevice.d/Stp and delete the second line.
Then, run 'mkdev tape' again and remove the SCSI tape drive. Relink the kernel.