No subject


Mon Sep 15 17:22:34 UTC 2008


These files are used for creating locale data structured to be included
within the libc.so.0, unless you use pregenerated files. 

---------------------------------------------------------------------- 
 chrisz - 10-06-08 06:47  
---------------------------------------------------------------------- 
Carmello,

Thank you for your assistance with this. I'm not sure how to reconcile
what I'm seeing with your experiences. I always try and compile from the
top directory of the source tree, in this case uClibc-0.9.30-rc1.

Based on your conviction that the Makefile was correct, I went ahead and
restored it to its original form, except I changed line 15 in
extra/locale/Makefile.in to read ../../include/bits/uClibc_ctype.h instead
of the default $(top_builddir)include/bits/uClibc_ctype.h.  I also verified
$(top_builddir) is set to "./" at this point in the build process, which
concurs with the error message I am seeing "can not open
./include/bits/uClibc_ctype.h".

After making the change, the Makefile works as expected, and gen_wc8bit
compiles and runs normally. Just to be sure, I ran make -j 1 to be
absolutely certain it was not a parallel compile issue, and I got the same
result.

If you have a chance, can you check and let me know what the variable
$(top_builddir) is set to in your environment at the time it tries to make
gen_wc8bit? I have to believe if it works for you and does not for me,
there must be some environmental differences.

Thanks again for your help.

Chris 

---------------------------------------------------------------------- 
 bernhardf - 10-06-08 06:55  
---------------------------------------------------------------------- 
Can you please try with current trunk? There was a dependency fix applied
since the -rc1.

TIA, 

---------------------------------------------------------------------- 
 egtvedt - 10-07-08 00:30  
---------------------------------------------------------------------- 
The Makefile stuff for locale is tricky, it seems to also miss a "-I." when
compiling the stuff in extra/locale/. GCC will actually switch into the
directory extra/locale before compiling, so then supplying
./include/bits/uClibc_ctype.h is not the correct path to this include
file.

If you add "-I." to the CFLAGS in extra/locale/Makefile.in it gets past
this, but then fails later due to path issues.

As mentioned, I also think the top_builddir and top_srcdir is set wrong.
Perhaps the main Makefile does some stuff in extra/locale before the
Makefile there is included?

I am trying to figure this one out, as this is the only thing stopping me
getting locale to work. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
10-06-08 01:31  chrisz         New Issue                                    
10-06-08 01:31  chrisz         Status                   new => assigned     
10-06-08 01:31  chrisz         Assigned To               => uClibc          
10-06-08 01:41  carmelo73      Note Added: 0012804                          
10-06-08 04:25  chrisz         Note Added: 0012814                          
10-06-08 05:33  carmelo73      Note Added: 0012824                          
10-06-08 06:47  chrisz         Note Added: 0012834                          
10-06-08 06:55  bernhardf      Note Added: 0012844                          
10-07-08 00:30  egtvedt        Note Added: 0012954                          
======================================================================



More information about the uClibc-cvs mailing list