Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Compile errors on AIX 5.2
- X-seq: zsh-workers 23574
- From: Daniel Qarras <dqarras@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Compile errors on AIX 5.2
- Date: Tue, 19 Jun 2007 11:55:35 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mBOhGLpIHJswsYFC0ERQehHLsN57mvaw7o4yhly93yR11UYKHEK+1pwMHHQ6qqQKZ04nbPh7Rd2x5nuc7Qy/GsYbqjMjQMSoFYgrMMfUtD+7DF01w/KG2Fgq1iTsWi5u+hdHJbgZG6tNOgXf67T1qdjJJKS7tVP5c1zLvhj3+HI= ;
- In-reply-to: <82639.22213.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> 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/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author