[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4415) cross-compiling impossible (ucgendat is executed, but is cross compiled) - reopening issue 4363



mangoo@wpkg.org wrote:
> Howard Chu wrote:
>
> (...)
>
>   
>>> Anyway, this type of error (trying to execute a binary for a different 
>>> target) is quite common when cross-compiling.
>>>       
>> It seems something is wrong with the timestamps on your files, since the 
>> default Makefile rules now don't even compile ucgendat, regardless of 
>> native or cross compiling. Since up to date ucdata.c/ucdata.h files are 
>> already provided in the source tree, you never need to run ucgendat.
>>     
>
> Is it really so?
>
> I just tried to compile 2.3.20 twice (native compilation and 
> cross-compilation); uncompressing the sources to a new location each time.
>
> In both cases ./libraries/liblunicode/ucgendat was created.
>
>   
I see. Our ucdata/uctable.h has an out of date datestamp relative to 
ucdata/ucgendat.c. This happened because the copyright date was updated 
in ucgendat.c but not in uctable.h. You can get around the problem for 
now by issuing a "touch liblunicode/ucdata/uctable.h" in your source tree.

-- 
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/