From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14944 invoked by alias); 17 Oct 2003 16:23:57 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 14937 invoked from network); 17 Oct 2003 16:23:57 -0000 Received: from unknown (HELO ns.prosyst.bg) (212.95.166.35) by sources.redhat.com with SMTP; 17 Oct 2003 16:23:57 -0000 Received: (qmail 13506 invoked from network); 17 Oct 2003 16:23:51 -0000 Received: from gw.prosyst.bg (HELO prosyst.bg) (212.95.166.50) by ns.prosyst.bg with SMTP; 17 Oct 2003 16:23:51 -0000 Message-ID: <3F901793.3080702@prosyst.bg> Date: Fri, 17 Oct 2003 16:23:00 -0000 From: Alexander Popov User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030716 X-Accept-Language: en-us, en, bg MIME-Version: 1.0 To: Andrew Lunn CC: ecos-discuss@sources.redhat.com References: <3F8FFD49.5090606@prosyst.bg> <3F900030.8060904@prosyst.bg> <20031017153338.GA6086@lunn.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [ECOS] problem with cyg/kernel/kapi.h X-SW-Source: 2003-10/txt/msg00328.txt.bz2 Andrew Lunn wrote: > On Fri, Oct 17, 2003 at 05:44:00PM +0300, Alexander Popov wrote: > >>I can't find cyg_handlg_t in the header files for the target. >>What am I doing wrog - can I use cyg/kernel/kapi.h that way? > > > Yes you can, with a correctly configured and built system. Not you > don't need to give the full path either, which is a bad idea. > > A guess would be you have a confused build directory. Have you build > redboot in the same directory? Thats a common mistake. > > Start from an empty directory and do a clean configuration and build. > > ecosconfig new pc > ecosconfig tree > make 10x Andrew, I found the problem... When I added the POSIX compatibility layers this was resolved... btw: the target image that I used was built with the pc-i386 template (trough configtool)... bbtw: when I added the POSIX compatibility layer the build failed... it came out that the CYGSEM_LIBC_SIGNALS_POSIX directive was not added to the build options ( I had to do this manualy - is that wrong? ). Without it the cyg/posix/export.h failed on line 100 ( sigset_t was not defined - it was in cyg/libc/signals/signal.h in the #ifdef CYGSEM_LIBC_SIGNALS_POSIX ). > > Then try your "hello world" with this. > > Andrew > > Best Regards, -- Alexander Popov ProSyst Bulgaria Inc. RTOS Leader 48 Vladajska Str. RTOS and JVM Dept. Sofia 1606, Bulgaria Phone: +359 2 952 3581/203 http://www.prosyst.com Mobile: +359 887 663 193 OSGi Technology Leaders ---------------------------------------------------------- The wonderful thing about Linux is that there is always at least one more undiscovered way to do almost anything. Lewin A.R.W. Edwards (comp.os.linux.embedded) ---------------------------------------------------------- -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss