zsh-workers
 help / color / mirror / code / Atom feed
From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: "ZSH Workers Mailing List" <zsh-workers@sunsite.dk>
Subject: AIX again
Date: Wed, 27 Jun 2001 13:24:39 +0400	[thread overview]
Message-ID: <001301c0feea$fd804c20$21c9ca95@mow.siemens.ru> (raw)

This is really weird. configure fails to find boolcodes when they are
available. Everything looks proper:

config.log

configure:3367: checking if boolcodes is available
configure:3379: cc -qlanglvl=ansi -o conftest  -O  -bnoquiet
conftest.c -lcurses
 -lm  -lc 1>&5
(ld): halt 4
(ld): savename conftest
(ld): filelist 5 1
(ld): i /lib/crt0.o
(ld): i conftest.o
(ld): lib /usr/lib/libcurses.a
(ld): lib /usr/lib/libm.a
(ld): lib /usr/lib/libc.a
LIBRARY: Shared object libcurses.a[shr42.o]: 499 symbols imported.
LIBRARY: Shared object libc.a[shr.o]: 2238 symbols imported.
LIBRARY: Shared object libc.a[meth.o]: 2 symbols imported.
LIBRARY: Shared object libc.a[aio.o]: 11 symbols imported.
LIBRARY: Shared object libc.a[pse.o]: 78 symbols imported.
LIBRARY: Shared object libc.a[dl.o]: 4 symbols imported.
LIBRARY: Shared object libc.a[pty.o]: 1 symbols imported.
FILELIST: Number of previously inserted files processed: 5
(ld): resolve
RESOLVE: 32 of 3513 symbols were kept.
(ld): addgl /usr/lib/glink.o
ADDGL: Glink code added for 3 symbols.
(ld): er full
ld: 0711-318 ERROR: Undefined symbols were found.
        The following symbols are in error:
 Symbol                    Inpndx  TY CL Source-File(Object-File) OR
Import-File
{Shared-object}
                              RLD: Address  Section  Rld-type Referencing
Symbol
 ---------------------------------------------------------------------------
----
---------------
ld: 0711-317 ERROR: Undefined symbol: boolcodes
 boolcodes                 [20]    ER UA conftest.c(conftest.o)
                                   00000044 .data    R_POS    [22]
<boolcodes>
ER: The return code is 8.
configure: failed program was:
#line 3369 "configure"
#include "confdefs.h"
#ifdef TERM_H_NEEDS_CURSES_H
#include <curses.h>
#endif
#include <term.h>
int main() {
char **test = boolcodes; printf(*test);
; return 0; }

term.h:

extern  char    term_parm_err[], *term_err_strings[], *Def_term,
                *boolnames[], *boolcodes[], *boolfnames[],
                *numnames[], *numcodes[], *numfnames[],
                *strnames[], *strcodes[], *strfnames[];

nm /usr/lib/libcurses.a:

boolcodes            D      42624     152
boolcodes            d      76556       4

config.h:

#define TERM_H_NEEDS_CURSES_H 1

I do not quite understand nm output; it is synmbol/type/value/size where D
means global data and d means local data (static?). Size is very funny, I
cannot imagine where this 152 comes from.

Any idea? Oliver, can you give a hint?

-andrej


                 reply	other threads:[~2001-06-27  9:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001301c0feea$fd804c20$21c9ca95@mow.siemens.ru' \
    --to=andrej.borsenkow@mow.siemens.ru \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).