From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17206 invoked by alias); 18 Dec 2012 17:54:56 -0000 Received: (qmail 17191 invoked by uid 22791); 18 Dec 2012 17:54:55 -0000 X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 18 Dec 2012 17:54:50 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1Tl1NP-000624-00; Tue, 18 Dec 2012 18:54:47 +0100 Date: Tue, 18 Dec 2012 17:54:00 -0000 From: Andrew Lunn To: Bob Brusa Cc: ecos discuss Message-ID: <20121218175447.GZ17242@lunn.ch> References: <50D0AC31.4030108@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50D0AC31.4030108@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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] library uses type size_t but my build can not resolve it X-SW-Source: 2012-12/txt/msg00038.txt.bz2 On Tue, Dec 18, 2012 at 06:47:29PM +0100, Bob Brusa wrote: > Hi, > I built a library for an arm-processor (AT91SAM7s256) based system. > String routines and many others use the type size_t. But all such > functions I reference seem to have a problem with this type, because > its defined nowhere. Nevertheless, the build is successful. > > The stddef.h linked into my library is the one from > > ecos\packages\isoinfra\current\include > > All this file contains is (essentially): > > #include_next > > but there is no other stddef.h in my library. I do not grasp the > logic behind this. Any help? Your compiler should provide it. /opt/ecos/gnutools/arm-elf/lib/gcc-lib/arm-elf/3.2.1/include/stddef.h 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