From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10847 invoked by alias); 7 Sep 2007 10:01:47 -0000 Received: (qmail 10823 invoked by uid 22791); 7 Sep 2007 10:01:43 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 07 Sep 2007 10:01:38 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1ITaeY-0005qD-00; Fri, 07 Sep 2007 12:01:30 +0200 Date: Fri, 07 Sep 2007 10:01:00 -0000 From: Andrew Lunn To: jc.caquet@kerlink.fr Cc: 'eCos discussion' Message-ID: <20070907100130.GL32192@lunn.ch> Mail-Followup-To: jc.caquet@kerlink.fr, 'eCos discussion' References: <20070906180230.GL31456@lunn.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-11) 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] [Fwd: AT91SAM7S : cyg_io_write /dev/ser0] X-SW-Source: 2007-09/txt/msg00029.txt.bz2 > OK, when doing so I get the following result when building ecos library : > > packages/devs/serial/arm/at91/current/src/at91_serial.c:506: structure has > no member named `data_xmt_req' > packages/devs/serial/arm/at91/current/src/at91_serial.c: In function > `at91_serial_DSR': > packages/devs/serial/arm/at91/current/src/at91_serial.c:613: structure has > no member named `data_rcv_req' > /packages/devs/serial/arm/at91/current/src/at91_serial.c:624: structure has > no member named `data_rcv_done' > packages/devs/serial/arm/at91/current/src/at91_serial.c:647: structure has > no member named `data_xmt_done' > packages/devs/serial/arm/at91/current/src/at91_serial.c:652: structure has > no member named `data_xmt_req' > > When CYGINT_IO_SERIAL_BLOCK_TRANSFER is not defined "_data_rcv_req, > _data_rcv_done, _data_xmt_req, _data_xmt_done" are excluded from structure > definition in serial.h. > Do you think that some #if defined CYGINT_IO_SERIAL_BLOCK_TRANSFER are > missing in at91_serial.c ? It looks like it :-( This is something to fix later. I guess you will have to single step through the code and work out what is happening.... Andrew -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss