Szabolcs Gyalókay wrote:
>
> gcc res_hconf.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline
> -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes

> -DIS_IN_nscd=1 -D_FORTIFY_SOURCE=2 
> -fpie 
> -fstack-protector   
> -DNOT_IN_libc=1    

> -o /sources/glibc-build/nscd/res_hconf.o -MD -MP -MF
> /sources/glibc-build/nscd/res_hconf.o.dt -MT

Removing non-relevant stuff and reformatting a bit, my reference build has:

gcc res_hconf.c -c -std=gnu99 -fgnu89-inline -O2 -Wall -Winline 
-Wwrite-strings -fmerge-all-constants -g -Wno-strict-prototypes

-Wno-write-strings

-Wstrict-prototypes

-fexceptions

-I../include -D_LIBC_REENTRANT -include ../include/libc-symbols.h 
-Dgethostbyname=res_gethostbyname -Dgethostbyname2=res_gethostbyname2 
-Dgethostbyaddr=res_gethostbyaddr -Dgetnetbyname=res_getnetbyname 
-Dgetnetbyaddr=res_getnetbyaddr -o 
/sources/glibc-build/resolv/res_hconf.o -MD -MP -MF 
/sources/glibc-build/resolv/res_hconf.o.dt -MT 
/sources/glibc-build/resolv/res_hconf.o

It would seem that your Makefile is significantly different from mine. 
That would indicate to me that there is something wrong with your 
Chapter 5 build as once you get into chroot, the builds really should be 
the same.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to