SUMMARY: Reconfiguring kernel - ld error

From: Daniel Hurtubise (
Date: Thu Nov 11 1993 - 07:08:02 CST

The original posting:

I am reconfiguring my SunOS 4.1.2 kernel in order to increase the semaphores by
adding the options SEMMNI and SEMMNU to the configuration file. The problem
shows up when it comes time to do the make to create the "vmunix". The following
message is displayed:

        loading vmunix
        ld: ../OBJ/locor.o: no space left for string table
        *** error code 4
        make: Fatal error: Command failed for target 'vmunix'.

Where should I look?


I got 5 replies on this one. All mentioned checking available space
in /usr, / or virtual memory. Howerver, in my case this was not the
problem. To confirm this, I built the same kernel on another identical
server with a little less available disk space and everything worked

Since I was able to build the same kernel on a different server, I eventually
concluded (after investigating many other possibilities, such as patches),
that I probably had some corrupted files in /usr/include or /usr/kvm
caused by a bad recovery from a corrupted boot disk last month.
After restoring the respective directories from a different backup, the
"make" kernel worked successfully.

The question I still have is:
        Was the error message really related to my problem?

Should it have rather said:

        loading vmunix
        ld: ../OBJ/object_file: could not build string table

(sorry for the short discussion)

thanks for your replies:

Casper Dik <>
"Susan Thielen" <> (Per Stromgren)
stern@sunne.East.Sun.COM (Hal Stern - NE Area Systems Engineer)
David Deaves <>

This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:29 CDT