From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4190 invoked by alias); 20 Nov 2003 22:06:33 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 4183 invoked from network); 20 Nov 2003 22:06:32 -0000 Received: from unknown (HELO londo.lunn.ch) (80.238.139.98) by sources.redhat.com with SMTP; 20 Nov 2003 22:06:32 -0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1AMwwN-0006aC-00; Thu, 20 Nov 2003 23:06:19 +0100 Date: Thu, 20 Nov 2003 22:06:00 -0000 To: Yusuke MATSUOKA Cc: ecos-discuss@sources.redhat.com Message-ID: <20031120220619.GE2130@lunn.ch> Mail-Followup-To: Yusuke MATSUOKA , ecos-discuss@sources.redhat.com References: <20031120184437.GB2130@lunn.ch> <001001c3afaf$e017f570$99596180@worldcup> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001001c3afaf$e017f570$99596180@worldcup> User-Agent: Mutt/1.5.4i From: Andrew Lunn Subject: Re: [ECOS] how to link "gettimeofday" with arm-elf-gcc? X-SW-Source: 2003-11/txt/msg00283.txt.bz2 > 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