From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49789F74.60502@domain.hid> Date: Thu, 22 Jan 2009 16:31:48 +0000 From: Gilles Chanteperdrix MIME-Version: 1.0 References: <1232641398.13734.110.camel@domain.hid> In-Reply-To: <1232641398.13734.110.camel@domain.hid> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Xenomai-help] Compiler Errors with User Space Tools for 2.4.6.1 List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Greg Bentley Cc: xenomai@xenomai.org Greg Bentley wrote: > Hello, > > I am working on getting Xenomai 2.4.6.1 working on a custom board with > an Atmel AT91SAM9260 processor. The IPIPE patch I used was > adeos-ipipe-2.6.25-arm-1.9-02.patch. My kernel patches, compiles, and > runs on the board. > > However, when compiling the user space tools, make fails when it gets > the pSOS+ skin with an error of PTHREAD_STACK_MIN being undeclared. > PTHREAD_STACK_MIN is not defined as the include/posix/pthread.h does not > appear correctly included in the path for the src/ programs. > > This are the configure and make commands I used: > > configure CC="arm-linux-gnueabi-gcc -v" CXX=arm-linux-gnueabi-gcc > AR=arm-linux-gnueabi-ar LD=arm-linux-gnueabi-ld \ > --build=i686-pc-linux-gnu \ > --host=arm-linux \ > --enable-arm-mach=at91sam926x \ > --enable-arm-eabi \ > --enable-arm-tsc Note that if you pass --host=arm-linux-gnueabi to configure, configure guesses the correct values for CC, CXX, AR and LD. -- Gilles.