From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27838 invoked by alias); 17 Oct 2003 16:45:14 -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 27821 invoked from network); 17 Oct 2003 16:45:13 -0000 Received: from unknown (HELO hermes.chez-thomas.org) (63.225.98.241) by sources.redhat.com with SMTP; 17 Oct 2003 16:45:13 -0000 Received: by hermes.chez-thomas.org (Postfix, from userid 2000) id D481850D93A; Fri, 17 Oct 2003 10:45:12 -0600 (MDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by hermes.chez-thomas.org (Postfix) with ESMTP id 0B0CB50D8F2; Fri, 17 Oct 2003 10:45:12 -0600 (MDT) From: Gary Thomas To: Alexander Popov Cc: Andrew Lunn , ecos-discuss@sources.redhat.com In-Reply-To: <3F901793.3080702@prosyst.bg> References: <3F8FFD49.5090606@prosyst.bg> <3F900030.8060904@prosyst.bg> <20031017153338.GA6086@lunn.ch> <3F901793.3080702@prosyst.bg> Content-Type: text/plain Organization: MLB Associates Message-Id: <1066409111.20516.341.camel@hermes> Mime-Version: 1.0 Date: Fri, 17 Oct 2003 16:45:00 -0000 Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-4.4 required=5.0 tests=AWL,EMAIL_ATTRIBUTION,IN_REP_TO,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES,USER_AGENT_XIMIAN autolearn=ham version=2.55 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: [ECOS] problem with cyg/kernel/kapi.h X-SW-Source: 2003-10/txt/msg00329.txt.bz2 On Fri, 2003-10-17 at 10:23, Alexander Popov wrote: > 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 ). > Use the templates! Oft-times, a set of functionality, like POSIX, is spread out over multiple packages. The templates make sure you get all of the pieces you need. > > > > 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) > ---------------------------------------------------------- -- Gary Thomas MLB Associates -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss