Dear David:

Yeah, in my opinion, the problem is about the command generated by
cilly.pm too. The following command is generated by Makefile:
------------command-------------
gcc -D_GNUCC -E -O1 -g -O2 -DTHREADED_DELTA_SEARCH
-DSHA1_HEADER='<'openssl/sha.h'>' -DNO_STRLCPY -DNO_MKSTEMPS -DCIL=1
fast-import.c -o ./fast-import.i
----------------end------------------
It can execute CORRECTLY in shell by MANUAL. When the SAME command is
executed BY Make, it reports the following error:
---------------Error-----------------
In file included from builtin.h:6,
                from fast-import.c:147:
cache.h:9:10: error: #include expects "FILENAME" or <FILENAME>
make: [fast-import.o] Error 1 (ignored)
----------------End-----------------
And I have tried to remove the single quotes and get an error "bash:
openssl/sha.h: No such file or directory", so the quotes should be
added. If the parameter is changed into
-DSHA1_HEADER="<openssl/sha.h>", it still runs correctly. I have
located the function of replacing conflict character for shell command
in Cilly.pm at line 1223. I am new to Perl, how do I do to replace <
with "< and > with >"?
Thanks in advance.
PANG Long

2010/1/7 David Gay <dga...@gmail.com>:
> On Tue, Jan 5, 2010 at 5:18 PM, pang long <hitpangl...@gmail.com> wrote:
>> Dear
>>   My Cil version is 1.3.7. I planned to analysis git-1.6.6 using my
>> own defined feature. The command line executed in Makefile is like the
>> following:
>> gcc -D_GNUCC -E -O1 -g -O2 -DTHREADED_DELTA_SEARCH
>> -DSHA1_HEADER='<'openssl/sha.h'>' -DNO_STRLCPY -DNO_MKSTEMPS -DCIL=1
>
> Looks like a problem in handling quoted arguments (probably not
> putting quotes on the output). Needs a fix somewhere in cilly.pm...
>
> David Gay
>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to