nanogui: arm cross compile
Subject:
arm cross compile
From:
tan yongzai ####@####.####
Date:
18 Jul 2006 16:53:35 +0100
Message-Id: <20060718155332.90265.qmail@web33113.mail.mud.yahoo.com>
Hi,
Building the microwin using the X11 driver was a success but it fails when I try to cross compile to arm. The cross-compiler that I'm using is arm-elf-gcc-4.1.0. The error was failure to recognize the "FNT_FONT_DIR" symbol from the config file.
Does anyone experience this problem when cross-compiling? I look forward for your help.
error log:
Compiling engine/font_fnt.c ...
In file included from /home/Zai/embedded_linux/microwin/src/engine/font_fnt.c:9:
/home/Zai/embedded_linux/microwin/src/include/swap.h:142:3: warning: #warning You might want to define optimized byte swapping macros for this machine - if not, you can safely ignore this warning.
/home/Zai/embedded_linux/microwin/src/engine/font_fnt.c: In function 'fnt_load_f
ont':
/home/Zai/embedded_linux/microwin/src/engine/font_fnt.c:254: error: 'FNT_FONT_DIR' undeclared (first use in this function)
/home/Zai/embedded_linux/microwin/src/engine/font_fnt.c:254: error: (Each undeclared identifier is reported only once
/home/Zai/embedded_linux/microwin/src/engine/font_fnt.c:254: error: for each fun
ction it appears in.)
/home/Zai/embedded_linux/microwin/src/engine/font_fnt.c:254: error: expected ')'
before string constant
make[1]: *** [/home/Zai/embedded_linux/microwin/src/obj/engine/font_fnt.o] Error
1
make: *** [subdir-/home/Zai/embedded_linux/microwin/src/mwin] Error 2
Thanks and Rgds,
YongZai
---------------------------------
Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1ยข/min.