ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ltib] microwindows problem


From: haitham akah
Subject: [Ltib] microwindows problem
Date: Sun, 18 Oct 2009 11:23:37 -0700 (PDT)

Hi
I'm trying to add the microwindows to my rootfs. but it gove me the following 
error:
Processing: microwindows
==========================
Build path taken because: directory build, build key set, no prebuilt rpm, 

rpmbuild --dbpath /home/comp/ltib/rootfs//var/lib/rpm --target arm --define 
'_unpackaged_files_terminate_build 0' --define '_target_cpu arm' --define 
'__strip strip' --define '_topdir /home/comp/ltib/rpm' --define '_prefix /usr' 
--define '_tmppath /home/comp/ltib/tmp' --define '_rpmdir 
/home/comp/ltib/rpm/RPMS'  --define '_mandir /usr/share/man' --define 
'_sysconfdir /etc' --define '_localstatedir /var' -bc --short-circuit  
/home/comp/ltib/dist/lfs-5.1/microwindows/microwindows.spec
Building target platforms: arm
Building for target arm
Executing(%build): /bin/sh -e /home/comp/ltib/tmp/rpm-tmp.86866
+ umask 022
+ cd /home/comp/ltib/rpm/BUILD
+ cd microwindows-0.91
+ cd src
+ make -j1 'HOSTCC=ccache /usr/bin/gcc -B/usr/bin//'
make[2]: Circular /home/comp/ltib/rpm/BUILD/microwindows-0.91/src/lib/ <- 
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/lib/ dependency dropped.
Compiling engine/font_freetype.c ...
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:14:31: 
freetype/freetype.h: No such file or directory
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:15:30: 
freetype/ftxkern.h: No such file or directory
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:16:31: 
freetype/ftnameid.h: No such file or directory
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:17:30: 
freetype/ftxcmap.h: No such file or directory
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:18:31: 
freetype/ftxwidth.h: No such file or directory
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:23:2: 
#error "You must link with freetype lib version 1.3.x +, and not freetype 2."
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:32: 
error: syntax error before "TT_Face"
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:32: 
warning: no semicolon at end of struct or union
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:33: 
warning: type defaults to `int' in declaration of `instance'
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:33: 
warning: data definition has no type or storage class
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:34: 
error: syntax error before "char_map"
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:34: 
warning: type defaults to `int' in declaration of `char_map'
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:34: 
warning: data definition has no type or storage class
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:35: 
error: syntax error before "directory"
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:35: 
warning: type defaults to `int' in declaration of `directory'
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:35: 
warning: data definition has no type or storage class
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:36: 
error: syntax error before "matrix"
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:36: 
warning: type defaults to `int' in declaration of `matrix'
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:36: 
warning: data definition has no type or storage class
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:37: 
error: syntax error before "glyph"
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:37: 
warning: type defaults to `int' in declaration of `glyph'
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:37: 
warning: data definition has no type or storage class
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:41: 
error: syntax error before '}' token
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:41: 
warning: type defaults to `int' in declaration of `MWFREETYPEFONT'
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:41: 
warning: data definition has no type or storage class
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:70: 
error: syntax error before "engine"
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:70: 
warning: type defaults to `int' in declaration of `engine'
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:70: 
warning: data definition has no type or storage class
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c: In 
function `freetype_init':
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:87: 
warning: implicit declaration of function `TT_Init_FreeType'
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:87: 
error: `TT_Err_Ok' undeclared (first use in this function)
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:87: 
error: (Each undeclared identifier is reported only once
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:87: 
error: for each function it appears in.)
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:92: 
warning: implicit declaration of function `TT_Init_Kerning_Extension'
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c: In 
function `freetype_createfont':
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:105: 
error: `TT_Face_Properties' undeclared (first use in this function)
.
.
.
.
.
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:819: 
error: syntax error before "face"
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:824: 
error: `face' undeclared (first use in this function)
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:824: 
error: `TT_Err_Ok' undeclared (first use in this function)
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c: In 
function `GdGetFontList':
/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/engine/font_freetype.c:866: 
error: `TT_Err_Ok' undeclared (first use in this function)
make[1]: *** 
[/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/obj/engine/font_freetype.o] 
Error 1
make: *** [subdir-/home/comp/ltib/rpm/BUILD/microwindows-0.91/src/mwin] Err


according to this (error "You must link with freetype lib version 1.3.x +, and 
not freetype 2.") I checked my SUSE 10.2 and find that it has a freetype 1 but 
with out the development rpm (and no option to add it) only a dev rpm is there 
for freetype2.
so I get the source of freetype 1.3.1 and try to ./configure and then make
but make gave me this error:
cd lib; make -f arch/unix/Makefile all
make[1]: Entering directory `/home/comp/freetype-1.3.1/lib'
rm -f memory.c file.c mutex.c
ln -s /home/comp/freetype-1.3.1/lib/arch/unix/../../ttmemory.c memory.c
ln -s /home/comp/freetype-1.3.1/lib/arch/unix/../../arch/unix/ttmmap.c file.c
ln -s /home/comp/freetype-1.3.1/lib/arch/unix/../../ttmutex.c mutex.c
make -f arch/unix/Makefile LIB_FILES="freetype.lo ftxkern.lo ftxgasp.lo 
ftxpost.lo ftxcmap.lo ftxsbit.lo ftxwidth.lo ftxerr18.lo ftxgsub.lo ftxgpos.lo 
ftxgdef.lo ftxopen.lo" libttf.la
make[2]: Entering directory `/home/comp/freetype-1.3.1/lib'
make[2]: `libttf.la' is up to date.
make[2]: Leaving directory `/home/comp/freetype-1.3.1/lib'
make[1]: Leaving directory `/home/comp/freetype-1.3.1/lib'
cd test; make -f arch/unix/Makefile all
make[1]: Entering directory `/home/comp/freetype-1.3.1/test'
gcc -c -I. -I/home/comp/freetype-1.3.1/test/arch/unix/../.. -I.. 
-I/home/comp/freetype-1.3.1/test/arch/unix/../../../lib 
-I/home/comp/freetype-1.3.1/test/arch/unix/../../../lib/extend -g -O2  -Wall 
-pedantic -ansi  -DX11 -DLOCALEDIR='"/usr/local/share/locale"' ftdump.c
ftdump.c:172:1: error: pasting "." and "glyph_object" does not give a valid 
preprocessing token
ftdump.c:182:1: error: pasting "." and "first_instance" does not give a valid 
preprocessing token
ftdump.c:191:1: error: pasting "." and "second_instance" does not give a valid 
preprocessing token
ftdump.c:201:1: error: pasting "." and "face_object" does not give a valid 
preprocessing token
ftdump.c:202:1: error: pasting "." and "glyph_object" does not give a valid 
preprocessing token
ftdump.c:203:1: error: pasting "." and "second_instance" does not give a valid 
preprocessing token
ftdump.c:863:1: error: pasting "." and "initial_overhead" does not give a valid 
preprocessing token
ftdump.c:882:1: error: pasting "." and "face_object" does not give a valid 
preprocessing token
make[1]: *** [ftdump.o] Error 1
make[1]: Leaving directory `/home/comp/freetype-1.3.1/test'
make: *** [tttest] Error 2

what should I do
how should I link microwindws to freetype 1.3 ??

yours
Haitham Akah



      




reply via email to

[Prev in Thread] Current Thread [Next in Thread]