[ECOS] how to link "gettimeofday" with arm-elf-gcc?

Andrew Lunn andrew@lunn.ch
Thu Nov 20 22:06:00 GMT 2003


> I got an error that linker cannot find "gettimeofday" as follows:

gettimeofday was added the posix only recently, so eCos does not yet
implement it as part of libc. 

Either use ctime(time()) or include the snmp stack which does have
gettimeofday().

        Andrew

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



More information about the Ecos-discuss mailing list