Linux-atm-2.4.1 build error

KokHow.Teh at infineon.com KokHow.Teh at infineon.com
Fri Nov 17 04:43:06 EST 2006


Hi;
	Sorry. I sent to the wrong list.

Best Regards,
KH 

-----Original Message-----
From: linux-mtd-bounces at lists.infradead.org
[mailto:linux-mtd-bounces at lists.infradead.org] On Behalf Of Teh Kok How
(IFAP DC COM SD)
Sent: Friday, November 17, 2006 5:29 PM
To: linux-mtd at lists.infradead.org
Subject: Linux-atm-2.4.1 build error

Hi;
	I am trying to build linux-atm-2.4.1 with a mips cross compiler
and I stumble into `make` error below:

<snip>
Making all in qgen
make[3]: Entering directory `/misc/tehkok/linux-atm-2.4.1/src/qgen'
/opt/uclibc-toolchain/ifx-lxdb-1-1/gcc-3.3.6/toolchain-mips/bin/mips-lin
ux-cc -E -DHAVE_CONFIG_H -I.
 -I. -I../.. - <msg.fmt | ./qgen -D
<stdin>:93:54: pasting "}" and "fw_pcr_0" does not give a valid
preprocessing token
<stdin>:93:54: pasting "}" and "bw_pcr_0" does not give a valid
preprocessing token
<stdin>:93:54: pasting "}" and "fw_pcr_01" does not give a valid
preprocessing token
<stdin>:93:54: pasting "}" and "bw_pcr_01" does not give a valid
preprocessing token
<stdin>:93:54: pasting "}" and "fw_scr_0" does not give a valid
preprocessing token
<stdin>:93:54: pasting "}" and "bw_scr_0" does not give a valid
preprocessing token
<stdin>:93:54: pasting "}" and "fw_scr_01" does not give a valid
preprocessing token
<stdin>:93:54: pasting "}" and "bw_scr_01" does not give a valid
preprocessing token
<stdin>:93:54: pasting "}" and "fw_mbs_0" does not give a valid
preprocessing token
<stdin>:93:54: pasting "}" and "bw_mbs_0" does not give a valid
preprocessing token
<stdin>:93:54: pasting "}" and "fw_mbs_01" does not give a valid
preprocessing token
<stdin>:93:54: pasting "}" and "bw_mbs_01" does not give a valid
preprocessing token
<stdin>:93:54: pasting "}" and "best_effort" does not give a valid
preprocessing token
<stdin>:138:3: invalid preprocessing directive #Note
<stdin>:139:9: invalid preprocessing directive #to
/bin/sh: line 1: ./qgen: cannot execute binary file
make[3]: *** [qd.dump.c] Error 126
make[3]: Leaving directory `/misc/tehkok/linux-atm-2.4.1/src/qgen'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/misc/tehkok/linux-atm-2.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/misc/tehkok/linux-atm-2.4.1'
make: *** [all-recursive-am] Error 2
[tehkok at linux01 linux-atm-2.4.1 3]$

	I run `configure` with options as follows:

./configure  --target=mips-linux --host=i386-redhat-linux
--build=i386-pc-linux-gnu
--prefix=/misc/tehkok/danube_build/root_filesystem
--exec-prefix=/misc/tehkok/danube_build/root_filesystem --no-create
--no-recursion

	The problem is that the build process tries to execute qgen in
src/qgen which has been compiled with the cross-compiler and therefore,
it is for MIPS arch and not executable on my host. What's wrong with my
build process?
	Any insight is appreciated.

Thanks & Regards,
KH

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/




More information about the linux-mtd mailing list