Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to use -bbigtoc for ld?

87 views
Skip to first unread message

David Glick

unread,
Mar 26, 1998, 3:00:00 AM3/26/98
to

I'm trying to create a shared library that appears to be too big for a
16-bit table of contents. The -bbigtoc flag claims to convert the
archive TOC to 32-bits, but this flag doesn't appear to be working.

The error message from SharedC++<etc><etc> is:
(ld): er full

followed by many undefined symbols.

Does anyone have suggestions as to how to approach this problem?

TIA,

David Glick
Transmit Consulting, Inc


Stephen B. Peckham

unread,
Apr 1, 1998, 3:00:00 AM4/1/98
to

In article <351fdf0c.25979284@news>, David Glick <dgl...@home.com> wrote:
>I'm trying to create a shared library that appears to be too big for a
>16-bit table of contents. The -bbigtoc flag claims to convert the
>archive TOC to 32-bits, but this flag doesn't appear to be working.
>
>The error message from SharedC++<etc><etc> is:
>(ld): er full
The 'ld' command on AIX invokes another program that actually does the link-
editing. This program (the binder) executes a sequence of commands that
is generated by 'ld'. The lines beginning with "(ld): " are simply echoing
the commands generated by 'ld'. The binder's "er full" command says to
check for undefined symbols and print full information about the symbols.

This is your problem. You have many undefined symbols. You need to fix
this problem before the -bbigtoc has any effect.

David Glick

unread,
Apr 2, 1998, 3:00:00 AM4/2/98
to

Thanks for the info. I figured it out after I noticed that new error
messages were appearing as problems were fixed. Is there a source for
what the messages generated by ld or bind mean? I've started linking
with the -bnoquiet flag to get more information, but some of the
messages are less than helpful. The on-line docs don't seem to have
much information, either.

David Glick
Transmit Consulting, Inc

On 1 Apr 1998 17:35:37 GMT, pec...@austin.ibm.com (Stephen B.

Stephen B. Peckham

unread,
Apr 2, 1998, 3:00:00 AM4/2/98
to

In article <353ca2f5.174489254@news>, David Glick <dgl...@home.com> wrote:
>Thanks for the info. I figured it out after I noticed that new error
>messages were appearing as problems were fixed. Is there a source for
>what the messages generated by ld or bind mean?

The messages are supposed to be complete enough so you don't need to
look somewhere else for an explanation. In many cases, however, the
messages assume that you know something about XCOFF files and archive
formats, so they can be hard to understand if you don't know anything
about object files.

There is no additional documentation about ld messages. Are there a few
specific messages that don't seem to make sense?

David Glick

unread,
Apr 7, 1998, 3:00:00 AM4/7/98
to

I've managed to figure out most of the error messages. I'm just
curious if there is a summary of the messages so I don't have to spend
a lot of time trying to decipher what the messages mean.

On 2 Apr 1998 16:44:32 GMT, pec...@austin.ibm.com (Stephen B.

0 new messages