Re: [CIL users] problem when compile apache using CIL

2009-08-10 Thread Kristis Makris
Hi Dazhi, I'm sorry for the late response. I was able to get Apache 1.3.14 compiling with CIL 1.3.6 (CIL 1.3.7 fails), with some changes, like passing an extra -ldl in LDFLAGS. This shouldn't be necessary, but... I was able to produce an httpd binary in this way (and an httpd_comb.c for analysis

Re: [CIL users] problem when compile apache using CIL

2009-07-29 Thread Dazhi Zhang
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 g

Re: [CIL users] problem when compile apache using CIL

2009-07-28 Thread Kristis Makris
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 yo

[CIL users] problem when compile apache using CIL

2009-07-28 Thread Dazhi Zhang
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 ha