[spook-l] how to cross compile spook

=?gb2312?B?1twgw/c=?= yannizm at hotmail.com
Thu Mar 2 22:26:42 EST 2006




>From: Nathan Lutchansky <lutchann at litech.org>
>Reply-To: spook-l at litech.org
>To: spook-l at litech.org
>Subject: Re: [spook-l] how to cross compile spook
>Date: Thu, 2 Mar 2006 21:48:14 -0500 (EST)
>
>On Fri, 3 Mar 2006, [gb2312] ÖÜ Ã÷ wrote:
> > >The Spook build system works fine with cross-compiling.  It has been
> > >successfully cross-compiled to at least four different embedded 
platforms
> > >including ARM7 and ARM9 so that has been tested very well.  -Nathan
> > >
> > I am glad to hear that,but how to coss-compile spook with arm-linux-gcc
> > 2.95.3,can you give me some advice,arm-linux-gcc2.95.3 is the only 
compile
> > tool I can choose.
>
>OK, please post the FULL OUTPUT of the Spook build, including all compiler
>messages and the error.  -Nathan
>
thank you !first I cross compile xvidcore 1.1.0 then I use 

"./configure --host=arm-linux --build==arm CC=arm-linux-gcc \
	  CFLAGS=-I/usr/local/arm/2.95.3/arm-linux/include \
             LDFLAGS=-L/usr/local/arm/2.95.3/arm-linux/lib" to configure 
spook.

it reports:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for arm-linux-strip... arm-linux-strip
checking for arm-linux-gcc... arm-linux-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-linux-gcc accepts -g... yes
checking for arm-linux-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of arm-linux-gcc... gcc
checking for flex... flex
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking lex output file root... lex.yy
checking whether yytext is a pointer... no
checking pwc-ioctl.h in the kernel source tree... no
checking for dc1394_create_handle in -ldc1394_control... no
checking for xvid_encore in -lxvidcore... yes
checking XviD version 1.0.0... configure: error: cannot run test program 
while c
ross compiling
See `config.log' for more details.

it stops here,and doesn't generate a makefile.

_________________________________________________________________
ÏíÓÃÊÀ½çÉÏ×î´óµÄµç×ÓÓʼþϵͳ¡ª MSN Hotmail¡£  http://www.hotmail.com  




More information about the spook-l mailing list