This is the mail archive of the ecos-patches@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: net/common compile error fix


On Mon, Jun 07, 2004 at 12:03:31PM +0200, ?yvind Harboe wrote:

Hi Řyvind

I just compiled the network stack and could not produce this compiler
warning/error. Please could you explain how you caused the problem to
happen, simple test case etc.

        Thanks
                Andrew

> 
> -- 
> ?yvind Harboe
> http://www.zylin.com
> 

> ? perror.txt
> Index: current/ChangeLog
> ===================================================================
> RCS file: /cvs/ecos/ecos-opt/net/net/common/current/ChangeLog,v
> retrieving revision 1.62
> diff -u -w -r1.62 ChangeLog
> --- current/ChangeLog	13 May 2004 10:00:35 -0000	1.62
> +++ current/ChangeLog	7 Jun 2004 10:02:11 -0000
> @@ -1,3 +1,7 @@
> +2004-06-07  Oyvind Harboe <oyvind.harboe@zylin.com>
> +	* include/network.h: removed perror() to fix duplicate definition 
> +	compile errors. It is defined in language/c/libc.
> +	
>  2004-05-04  Jay Foster <jay.foster@systech.com>
>  
>          * src/bootp_support.c (get_bootp_option, show_bootp):
> Index: current/include/network.h
> ===================================================================
> RCS file: /cvs/ecos/ecos-opt/net/net/common/current/include/network.h,v
> retrieving revision 1.3
> diff -u -w -r1.3 network.h
> --- current/include/network.h	23 Apr 2003 08:52:08 -0000	1.3
> +++ current/include/network.h	7 Jun 2004 10:02:12 -0000
> @@ -69,7 +69,6 @@
>  __externC void init_all_network_interfaces(void);
>  
>  __externC void     cyg_route_reinit(void);
> -__externC void     perror(const char *);
>  __externC int      close(int);
>  __externC ssize_t  read(int, void *, size_t);
>  __externC ssize_t  write(int, const void *, size_t);


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