Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Compile errors on AIX 5.2



> 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