Hi Kristis, apache uses libtool, and in the file build/config_vars.mk, the LIBTOOL is defined to /usr/share/apr-1.0/build/libtool $(LTFLAGS)
In the file /usr/share/apr-1.0/build/libtool there is definition of AR and LD, I change them as: AR="cilly --merge --mode=AR" LD="cilly --merge" but I got following error: /usr/lib/gcc/i486-linux-gnu/4.3.3/include/stddef.h:214: Error: Invalid combination of type specifiers this line is typedef __SIZE_TYPE__ size_t; have you ever seen such problems? And what version of appache and CIL have you succeed in? Thanks! -Dazhi Kristis Makris wrote: > 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 >> ------------------------------------------------------------------------------ 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