This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: question about gettimeofday()?
- To: ecos-discuss at sources dot redhat dot com
- Subject: Re: [ECOS] question about gettimeofday()?
- From: li hui <lhbyron at yahoo dot com>
- Date: Fri, 9 Nov 2001 00:58:54 -0800 (PST)
If I add net package to ecos ,can I use this function?
if it does,please tell me the detail about configure
ecos.
--- Jesper Skov <jskov@redhat.com> wrote:
> >>>>> "li" == li hui <lhbyron@yahoo.com> writes:
>
> li> In my program ,I use function gettimeofday()
> which is defined in
> li> the sys/time.h.But It always note me undefined
> reference to
> li> gettimeofday when compiling. please tell me how
> can I enactive
> li> this function.
>
> You can't. The function is not defined in eCos. It's
> in the header
> file because that comes from the net stack - which
> appears to provide
> its own implementation. See
> net/tcpip/current/tests/nc_test_master.c
>
> Jesper
>
>
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com