Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Compile errors on AIX 5.2
- X-seq: zsh-workers 23573
- From: Daniel Qarras <dqarras@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: Compile errors on AIX 5.2
- Date: Tue, 19 Jun 2007 11:21:18 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=iUaSprsom+6h4kIsyMm11wklcTfh4yhGn4ESn+RH+rbES2KmMSZIVN7EhUfoZluVzz1MVmcjhauTgJUR/31d4dGj+ZaYO4PTnSGErjBpzu3i5heUPZ1lkcsD+O/n/1pxSC1+TUGQUkR06yqYLzhS2xOh/8nJyNoisk+CDxrDD8I=;
- In-reply-to: <482513.60715.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
> Thanks for you prompt reply, it worked! Next stop is below :)
>
> gcc -c -I. -DHAVE_CONFIG_H -DMODULE -Wall -Wmissing-prototypes -O2
> -o
> modentry..o modentry.c
> modentry.c:12: error: conflicting types for 'modentry'
> modentry.c:7: error: previous declaration of 'modentry' was here
Sorry about the noise, that was obvious, the prototype just didn't
match the function. But this one seems more hairy:
( echo '#!'; cat cap.syms | sed -n '/^X/{s/^X//;p;}' | sort -u ) >
cap.export
rm -f cap.so
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
cap..o(.pr+0x92):cap.c: relocation truncated to fit: 0x03
module_features
cap..o(.pr+0x10a):cap.c: relocation truncated to fit: 0x03
module_features
collect2: ld returned 1 exit status
gmake[3]: *** [cap.so] Error 1
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting
Messages sorted by:
Reverse Date,
Date,
Thread,
Author