Hi Dazhi,

From what I have experienced, the issue is that this particular .a file
produced was not produced by setting AR="cilly --merge --mode=AR".
Either because AR was not defined that way (you omitted defining it),
or, as I have experienced with older versions of Apache, because even
though you may define the AR variable, the Makefiles used by Apache may
contain a hardcoded call to "ar" instead of use the AR environment
variable.

So this .a file contains object code instead of source code, and later
LD, which should be a call to cilly, gets as input object code and
source code and cannot merge the two.

So, make sure you define AR, and make sure the Makefiles use AR, and not
"ar".

Also make sure you define LD appropriately.

I hope this helps.

Kristis

On Tue, 2009-07-28 at 11:54 -0500, Dazhi Zhang wrote:
> hi,
> I am trying using CIL1.3.7 to compile and merge apache 2.2.11, here is 
> the steps:
> 1: CC="cilly --merge"
> 2: change LTFLAGS in build/config_vars.mk, from --silent to --silent 
> --tag=CC
> 
> but I got errors
> " /home/zw/test/httpd-2.2.11/srclib/pcre/.libs/libpcre.a: could not read 
> symbols: Archive has no index; run ranlib to add one
> collect2: ld returned 1 exit status "
> 
> I saw a same post of the same problem, does anyone has a solution now?
> 
> Thanks
> -Dz
> 
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> CIL-users mailing list
> CIL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cil-users

Attachment: signature.asc
Description: This is a digitally signed message part

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to