nanogui: Thread: arm cross compile


[<<] [<] Page 1 of 1 [>] [>>]
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.
Subject: Arm Cross compile
From: tan yongzai ####@####.####
Date: 25 Jul 2006 13:39:46 +0100
Message-Id: <20060725123942.15873.qmail@web33110.mail.mud.yahoo.com>

Hi,

  I have tried the gcc-2.95.3 to cross compile the microwin for arm target but it fail at the same problem. Previously, i used the arm-elf-gcc.exe. 
Your help is greatly needed.. Please give some hints on the steps to solve the problem. Thanks in advance.
Below is the error log.

Compiling engine/font_fnt.c ...
/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: `FNT_FONT_DIR' undeclared (first use in this function)
/home/Zai/embedded_linux/microwin/src/engine/font_fnt.c:254: (Each undeclared identifier is reported only once
/home/Zai/embedded_linux/microwin/src/engine/font_fnt.c:254: for each function i
t appears in.)
/home/Zai/embedded_linux/microwin/src/engine/font_fnt.c:254: parse error 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

 		
---------------------------------
Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.