From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4319 invoked by alias); 11 Dec 2007 12:12:21 -0000 Received: (qmail 4304 invoked by uid 22791); 11 Dec 2007 12:12:20 -0000 X-Spam-Check-By: sourceware.org Received: from mail4.hostek.com (HELO mail4.hostek.com) (216.198.218.132) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 11 Dec 2007 12:12:08 +0000 X-SMSpamC: skipped (authenticated sender) Received: from UnknownHost [202.62.92.30] by mail4.hostek.com with SMTP; Tue, 11 Dec 2007 06:10:59 -0600 From: "Navya S Kamath" To: "'Gary Thomas'" Cc: Date: Tue, 11 Dec 2007 12:12:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: <475E44EE.4050300@mlbassoc.com> X-IsSubscribed: yes 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/msg00029.txt.bz2 Message-ID: <20071211121200.iq0Wwa0MlvH8RbnabNJmnc7IIdfpCe1dzpMvTDsMgio@z> Hi, Could you please elaborate on how to compile the host application? The ECOS_REPOSITROY has been installed on the host Linux machine. I use this repository for compiling the target bootloader along with the USB slave application. How can I invoke the target application from the bootloader "Redboot" prompt? If the USB host application has to be compiled on ecos environment, how can it be executed on Linux? I am new to ecos environment, please help. Regards, Navya -----Original Message----- From: ecos-discuss-owner@ecos.sourceware.org [mailto:ecos-discuss-owner@ecos.sourceware.org] On Behalf Of Gary Thomas Sent: Tuesday, December 11, 2007 1:36 PM To: Navya S Kamath Cc: ecos-discuss@ecos.sourceware.org Subject: Re: [ECOS] Compile USB Host Application 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 -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss