This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Compile USB Host Application
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Navya S Kamath <navya at coreel dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Tue, 11 Dec 2007 01:06:06 -0700
- Subject: Re: [ECOS] Compile USB Host Application
- References: <20071211055518.7F44B19500D2@mail.chez-thomas.org>
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