From: Daniel Qarras <dqarras@yahoo.com>
To: zsh-workers@sunsite.dk
Subject: Re: Compile errors on AIX 5.2
Date: Tue, 19 Jun 2007 11:55:35 -0700 (PDT) [thread overview]
Message-ID: <20070619185535.77735.qmail@web36806.mail.mud.yahoo.com> (raw)
In-Reply-To: <82639.22213.qm@web36801.mail.mud.yahoo.com>
> Sorry about the noise, that was obvious, the prototype just didn't
> match the function. But this one seems more hairy:
>
> gcc -s -shared -o cap.so -Wl,-bI:../../Src/zsh.export
> -Wl,-bE:cap.export -emodentry cap..o ../../Src/modentry..o -liconv
> -ldl -lcurses -lm -lc
> cap..o(.pr+0x32):cap.c: relocation truncated to fit: 0x03
> module_features
Well, this one seems to be caused by GNU binutils-2.15 ld, native AIX
ld works ok here. But after this a problem comes up from AIX specific
defines that I cannot grok.
( echo '#!'; cat newuser.syms | sed -n '/^X/{s/^X//;p;}' | sort -u ) >
newuser.export
rm -f newuser.so
gcc -s -shared -o newuser.so -Wl,-bI:../../Src/zsh.export
-Wl,-bE:newuser.export -emodentry newuser..o ../../Src/modentry..o
-liconv -ldl -lcurses -lm -lc
ld: 0711-317 ERROR: Undefined symbol: .enables_
ld: 0711-317 ERROR: Undefined symbol: .features_
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
collect2: ld returned 8 exit status
gmake[3]: *** [newuser.so] Error 1
I tried manually both defines to no avail, not sure where to look at.
Thanks.
____________________________________________________________________________________
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/
next prev parent reply other threads:[~2007-06-19 18:55 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-19 18:01 Daniel Qarras
2007-06-19 18:10 ` Peter Stephenson
2007-06-19 18:19 ` Daniel Qarras
2007-06-19 18:21 ` Daniel Qarras
2007-06-19 18:55 ` Daniel Qarras [this message]
2007-06-19 20:31 ` Peter Stephenson
2007-06-19 20:37 ` Daniel Qarras
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=20070619185535.77735.qmail@web36806.mail.mud.yahoo.com \
--to=dqarras@yahoo.com \
--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).