This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: network test build error


On Mon, 2002-11-11 at 08:56, Mildred Frisco wrote:
> 
> hi !  i have configured eCos as net template for assabet target.  i've also
> set the option 'Build networking tests' to generate test applications for
> it.  i ran make tests and got the following errors ...
> 
Try applying this patch.

What compiler (version) are you using?  This error did not show up with
the version(s) we've tried.

> .
> .
> .
> 
> /tmp/ccsyaNrm.s:54: Warning: rest of line ignored; first ignored character
> is `,'
> /tmp/ccsyaNrm.s:187: Warning: rest of line ignored; first ignored character
> is `,'
> /tmp/ccsyaNrm.s:222: Warning: rest of line ignored; first ignored character
> is `,'
> arm-elf-gcc -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib -L/ecoscvs/ecos-w
> ork/ecosnet_new/install/lib -Ttarget.ld -o
> /ecoscvs/ecos-work/ecosnet_new/install/tests/net/common/current/tests/tftp_c
> lient_test tests/tftp_client_test.o
> arm-elf-gcc -c  -I/ecoscvs/ecos-work/ecosnet_new/install/include -I/ecoscvs/
> ecos/packages/net/common/current -I/ecoscvs/ecos/packages/net/common/current
> /src -I/ecoscvs/ecos/packages/net/common/current/tests -I. -I/ecoscvs/ecos/p
> ackages/net/common/current/tests/ -mcpu=strongarm1100 -Wall -Wpointer-arith 
> -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-
> sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priori
> ty -D_KERNEL -D__ECOS -D__INSIDE_NET -Wp,-MD,tests/tftp_server_test.tmp -o
> tests/tftp_server_test.o
> /ecoscvs/ecos/packages/net/common/current/tests/tftp_server_test.c
> /ecoscvs/ecos/packages/net/common/current/tests/tftp_server_test.c:83:
> warning: `tftp_test' defined but not used
> /tmp/cc3FvF3k.s: Assembler messages:
> /tmp/cc3FvF3k.s:12: Warning: rest of line ignored; first ignored character
> is `,'
> /tmp/cc3FvF3k.s:45: Warning: rest of line ignored; first ignored character
> is `,'
> /tmp/cc3FvF3k.s:121: Warning: rest of line ignored; first ignored character
> is `,'
> /tmp/cc3FvF3k.s:156: Warning: rest of line ignored; first ignored character
> is `,'
> arm-elf-gcc -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib -L/ecoscvs/ecos-w
> ork/ecosnet_new/install/lib -Ttarget.ld -o
> /ecoscvs/ecos-work/ecosnet_new/install/tests/net/common/current/tests/tftp_s
> erver_test tests/tftp_server_test.o
> arm-elf-gcc -c  -I/ecoscvs/ecos-work/ecosnet_new/install/include -I/ecoscvs/
> ecos/packages/net/common/current -I/ecoscvs/ecos/packages/net/common/current
> /src -I/ecoscvs/ecos/packages/net/common/current/tests -I. -I/ecoscvs/ecos/p
> ackages/net/common/current/tests/ -mcpu=strongarm1100 -Wall -Wpointer-arith 
> -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -g -O2 -ffunction-
> sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priori
> ty -D_KERNEL -D__ECOS -D__INSIDE_NET -Wp,-MD,tests/tcp_echo.tmp -o
> tests/tcp_echo.o /ecoscvs/ecos/packages/net/common/current/tests/tcp_echo.c
> /ecoscvs/ecos/packages/net/common/current/tests/tcp_echo.c:72: conflicting
> types for `max'
> /ecoscvs/ecos-work/ecosnet_new/install/include/lib/libkern/libkern.h:90:
> previous declaration of `max'
> make[1]: *** [tests/tcp_echo.d] Error 1
> make[1]: Leaving directory
> `/ecoscvs/ecos-work/ecosnet_new/net/common/current'
> make: *** [tests] Error 2
> 
> 
> thanks in advance .
> 
> 
> mildred
> 
> 
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss

-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------

Attachment: diffs
Description: Text document

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]