On 11/26/06, Joe Ciccone <[EMAIL PROTECTED]> wrote:
Konrad Micinski wrote:
> On 11/26/06, Jim Gifford <[EMAIL PROTECTED]> wrote:
>> As stated in the book it's not recommended to use CFLAGS with binutils,
>> gcc, or glibc. That's the one of the reasons we don't recommend doing
>> it.
>> _______________________________________________
>> Clfs-support mailing list
>> [email protected]
>> http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
>>
>
> Yes, I know. It was just a test if it brings something to problem
> solution (yes, I was really despered ... :-) ). CFLAGS is 'clean'
> again and I'm trying to find other solution.

I think this might be a oversight when I made the cross_hacks patch. If
you goto line 386 in Makerules and remove CFLAGS from that line. Does
the package compile with CFLAGS set in your enviornment?
>
>

_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support



So, I removed CFLAGS from that line:

native-compile.c = $(BUILD_CC) -g $< -c $(CPPFLAGS-native)
The old error is gone :-) ... but I have another one:

<--begin_code-->
gcc -g iconvconfig.c -c -D_GNU_SOURCE  -I../include-native
-I/home/kuba/src/glibc-build/iconv/ -I. -D_LIBC_REENTRANT  -include
../include/libc-symbols.h    -o
/home/kuba/src/glibc-build/iconv/iconvconfig-native.o -MD -MP -MF
/home/kuba/src/glibc-build/iconv/iconvconfig-native.o.dt -MT
/home/kuba/src/glibc-build/iconv/iconvconfig-native.o
iconvconfig.c: In function 'main':
iconvconfig.c:312: error: 'GCONV_PATH' undeclared (first use in this function)
iconvconfig.c:312: error: (Each undeclared identifier is reported only once
iconvconfig.c:312: error: for each function it appears in.)
iconvconfig.c: In function 'write_output':
iconvconfig.c:1031: error: 'GCONV_DIR' undeclared (first use in this function)
iconvconfig.c:1031: error: expected ']' before string constant
iconvconfig.c:1032: error: 'finalname' undeclared (first use in this function)
iconvconfig.c:1063: error: expected ')' before string constant
iconvconfig.c:1065: error: expected ')' before string constant
iconvconfig.c:1067: error: expected ')' before string constant
make[2]: *** [/home/kuba/src/glibc-build/iconv/iconvconfig-native.o] Error 1
make[2]: Leaving directory `/home/kuba/src/glibc-2.5/iconv'
<--end_code-->

All I want to say is: " I like to play with glibc ;-) "

Konrad Micinski
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support

Reply via email to