From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 684 invoked by alias); 11 Dec 2007 08:08:53 -0000 Received: (qmail 673 invoked by uid 22791); 11 Dec 2007 08:08:52 -0000 X-Spam-Check-By: sourceware.org Received: from 204-133-123-27.dia.static.slbbi.com (HELO mail.chez-thomas.org) (204.133.123.27) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Dec 2007 08:08:45 +0000 Received: by mail.chez-thomas.org (Postfix, from userid 999) id 125171950231; Tue, 11 Dec 2007 01:08:43 -0700 (MST) Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by mail.chez-thomas.org (Postfix) with ESMTP id 48DFF19500D2; Tue, 11 Dec 2007 01:08:42 -0700 (MST) Message-ID: <475E44EE.4050300@mlbassoc.com> Date: Tue, 11 Dec 2007 08:08:00 -0000 From: Gary Thomas User-Agent: Thunderbird 2.0.0.5 (X11/20070727) MIME-Version: 1.0 To: Navya S Kamath CC: ecos-discuss@ecos.sourceware.org References: <20071211055518.7F44B19500D2@mail.chez-thomas.org> In-Reply-To: <20071211055518.7F44B19500D2@mail.chez-thomas.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Compile USB Host Application X-SW-Source: 2007-12/txt/msg00028.txt.bz2 Navya S Kamath wrote: > Hi All, > > I'm trying to compile the USB host application on a RedHat Enterprise Linux, > I get following errors > > usbhost.o(.text+0xb4): In function `usb_scan_devices': > : undefined reference to `__fgetc_unlocked' > usbhost.o(.text+0x197): In function `usb_scan_devices': > : undefined reference to `__fgetc_unlocked' > usbhost.o(.text+0x207): In function `usb_scan_devices': > : undefined reference to `__fgetc_unlocked' > usbhost.o(.text+0x163d): In function `run_test_bulk_out': > : undefined reference to `__glibc_strerror_r' > usbhost.o(.text+0x1e4b): In function `run_test_bulk_in': > : undefined reference to `__glibc_strerror_r' > usbhost.o(.text+0x2807): In function `run_test_control_in': > : undefined reference to `__glibc_strerror_r' > > I include file /usr/local/include/stdio.h has these definitions.Anybody > faced such errors before? Please help It looks like you're trying to use things that are outside of eCos (no eCos application should ever need to use 'standard' include files, only the ones provided) The public version of eCos doesn't support USB host operations. I believe that this can be obtained from eCosCentric. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss