2009-11-13 01:26:33 make error: {standard input}: Assembler messages
baihuawen xiao (CHINA)
Message: 82339
when I try to port gnokii to blackfin, I got the following messages during compiling.
/tmp/ccjj8jZU.s: Assembler messages:
/tmp/ccjj8jZU.s:222: Error: syntax error. Input text was cld.
/tmp/ccjj8jZU.s:222: Error:
/tmp/ccjj8jZU.s:222: Error: syntax error. Input text was rep.
/tmp/ccjj8jZU.s:222: Error:
/tmp/ccjj8jZU.s:222: Error: syntax error. Input text was stosl.
/tmp/ccjj8jZU.s:222: Error:
/tmp/ccjj8jZU.s:227: Error: syntax error. Input text was btsl.
/tmp/ccjj8jZU.s:227: Error:
/tmp/ccjj8jZU.s:298: Error: syntax error. Input text was cld.
/tmp/ccjj8jZU.s:298: Error:
/tmp/ccjj8jZU.s:298: Error: syntax error. Input text was rep.
/tmp/ccjj8jZU.s:298: Error:
/tmp/ccjj8jZU.s:298: Error: syntax error. Input text was stosl.
/tmp/ccjj8jZU.s:298: Error:
/tmp/ccjj8jZU.s:307: Error: syntax error. Input text was btsl.
/tmp/ccjj8jZU.s:307: Error:
Could anybody help to fix it,
Thanks.
TranslateQuoteReplyEditDelete
2009-11-13 04:19:17 Re: make error: {standard input}: Assembler messages
Yi Li (CHINA)
Message: 82353
Baihuawen,
Please tell us the detail steps to reproduce your problem.
-Yi
QuoteReplyEditDelete
2009-11-13 10:03:22 Re: make error: {standard input}: Assembler messages
Mike Frysinger (UNITED STATES)
Message: 82358
either you misconfigured gnokii, or it assumes an x86 target. it's trying to compile x86 asm instructions which obviously wont work for a blackfin target.
QuoteReplyEditDelete
2009-11-16 04:54:27 Re: make error: {standard input}: Assembler messages
baihuawen xiao (CHINA)
Message: 82411
Thanks for your help.
But when I configure it,I use "--host=bfin-uclinux ", it says:
checking build system type... i686-pc-linux-gnu
checking host system type... bfin-unknown-uclinux
checking target system type... bfin-unknown-uclinux
checking for bfin-uclinux-gcc... bfin-linux-uclibc-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
And when compiling, it use bfin-linux-uclibc-gcc as:
bfin-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I../include -DEMBED -D__uClinux__ -I/home/ji
anxiao/others/svn/uclinux-dist-trunk-svn-7715 -mcpu=bf527-0.0 -I/usr/include -O3 -Wall
-Wno-pointer-sign -fvisibility=hidden -fno-strict-aliasing -c getopt1.c
Is there anything error?
Thanks again.
TranslateQuoteReplyEditDelete
2009-11-16 19:33:06 Re: make error: {standard input}: Assembler messages
Mike Frysinger (UNITED STATES)
Message: 82421
the package is inserting -I/usr/include which will cause build errors. you'll have to find & fix that. try grepping the Makefile.