As I was getting few errors regarding the files related to
Xfree86-4.5, I tried recompiling it. I have already compiled
Freetype2, Zlib, Fontconfig, Expat & libpng. So, when in host.def I
configure them as use already installed libraries, I get the following
error:

--------
gcc -m32 -c -O2 -fno-strength-reduce -fno-strict-aliasing  -ansi -pipe
  -I/usr/include/freetype2 -I../../exports/include/X11  -I../..
-I../../exports/include   -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L
                                -D_POSIX_SOURCE -D_XOPEN_SOURCE                 
                -D_BSD_SOURCE -D_SVID_SOURCE
                                 -D_GNU_SOURCE                            
-DFUNCPROTO=15 -DNARROWPROTO -DXTHREADS 
-D_REENTRANT -DXUSE_MTSAFE_API    -DFREETYPE2  -DXFREE86_FT2     -fPIC
xftcfg.c
In file included from XftFreetype.h:29,
                 from xftint.h:31,
                 from xftcfg.c:28:
/usr/local/include/ft2build.h:56:38: freetype/config/ftheader.h: No
such file or directory
In file included from xftint.h:31,
                 from xftcfg.c:28:
XftFreetype.h:30:10: #include expects "FILENAME" or <FILENAME>
In file included from xftint.h:31,
                 from xftcfg.c:28:
XftFreetype.h:35: error: parse error before "_XftFTlibrary"
XftFreetype.h:35: warning: data definition has no type or storage class
XftFreetype.h:38: error: parse error before "FT_Face"
XftFreetype.h:38: warning: no semicolon at end of struct or union
XftFreetype.h:42: error: parse error before "size"
XftFreetype.h:42: warning: data definition has no type or storage class
XftFreetype.h:55: error: parse error before "matrix"
XftFreetype.h:55: warning: data definition has no type or storage class
XftFreetype.h:74: error: parse error before "face"
make[4]: *** [xftcfg.o] Error 1
--------

And if I try to compile the XFree as use the libraries that comes with
XFree86, I get the following error:
--------
gcc -m32 -o bdftopcf -O2 -fno-strength-reduce -fno-strict-aliasing
-ansi -pipe     -L../../exports/lib   bdftopcf.o -lXfont -lfntstubs
-lfreetype   -lz -lm   -Wl,-rpath-link,../../exports/lib
../../exports/lib/libXfont.so: undefined reference to `inflate'
../../exports/lib/libXfont.so: undefined reference to `inflateEnd'
../../exports/lib/libXfont.so: undefined reference to `inflateInit2_'
collect2: ld returned 1 exit status
make[3]: *** [bdftopcf] Error 1
--------

I am using the host.def file that is provided with the book-6.1.
Do I need to make some more changes in host.def?

   Regards,
   Nupur
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to