From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28976 invoked by alias); 9 Jul 2012 16:23:35 -0000 Received: (qmail 28942 invoked by uid 22791); 9 Jul 2012 16:23:30 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from 19.mo3.mail-out.ovh.net (HELO mo3.mail-out.ovh.net) (178.32.98.231) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 09 Jul 2012 16:23:16 +0000 Received: from mail427.ha.ovh.net (b7.ovh.net [213.186.33.57]) by mo3.mail-out.ovh.net (Postfix) with SMTP id ABA95FF9373 for ; Mon, 9 Jul 2012 18:28:15 +0200 (CEST) Received: from b0.ovh.net (HELO queueout) (213.186.33.50) by b0.ovh.net with SMTP; 9 Jul 2012 18:23:14 +0200 Received: from premium.qualisteo.com (HELO ?192.168.2.34?) (emilien.kofman@qualisteo.com@109.190.25.89) by ns0.ovh.net with SMTP; 9 Jul 2012 18:23:13 +0200 Message-ID: <4FFB0570.7020907@qualisteo.com> Date: Mon, 09 Jul 2012 16:23:00 -0000 From: Emilien Kofman User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120411 Thunderbird/11.0.1 MIME-Version: 1.0 To: ecos-discuss@ecos.sourceware.org X-Ovh-Mailout: 178.32.228.3 (mo3.mail-out.ovh.net) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Ovh-Tracer-Id: 392094643656454564 X-Ovh-Remote: 109.190.25.89 (premium.qualisteo.com) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-OVH-SPAMSTATE: OK X-OVH-SPAMSCORE: 7 X-OVH-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeegkedrjeduucetufdoteggodetrfdofgetucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedmnecuhfhrohhmpefgmhhilhhivghnucfmohhfmhgrnhcuoegvmhhilhhivghnrdhkohhfmhgrnhesqhhurghlihhsthgvohdrtghomheqnecuffhomhgrihhnpehgohhoghhlvgdrtghomhdpuggvsghirghnrdhorhhgnecujfgurhepkfffhfgfggfvufgtgfesthejrgdttdefud X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: 7 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeegkedrjeduucetufdoteggodetrfdofgetucfrrhhofhhilhgvmecuqfggjfenuceurghilhhouhhtmecufedttdenucgfrhhlucfvnfffucdljedmnecuhfhrohhmpefgmhhilhhivghnucfmohhfmhgrnhcuoegvmhhilhhivghnrdhkohhfmhgrnhesqhhurghlihhsthgvohdrtghomheqnecuffhomhgrihhnpehgohhoghhlvgdrtghomhdpuggvsghirghnrdhorhhgnecujfgurhepkfffhfgfggfvufgtgfesthejrgdttdefud 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: [ECOS] twr-k60n512 issues building sampleapp X-SW-Source: 2012-07/txt/msg00013.txt.bz2 Hi, I'm new to lepton and I'd like to run it on a twrk60-n512 board (I'm currently evaluating different approaches to RTOS and I think the POSIX compliant thing is very nice!). I'm following the INSTALL documentation (http://code.google.com/p/lepton/source/browse/docs/INSTALL) but I'm stuck in the "Lepton/Tauon setup". I could build MKLEPTON and VIRTUALCPU with a bit of trouble when it comes to linking (I think it's related to this: http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries) So I did this modification in ~/workspace/tauon/lepton/tools/config/SConstruct to solve the linking issue but I guess it's not a very clean fix :s #add LDFLAGS options mklepton_env.Append(LINKFLAGS = '-Wl,--no-as-needed -lexpat -L' + lib_kernel_dir + ' -lkernel -Wl,-rpath,' + lib_kernel_dir) Then I regenerated the ecos.ecc file (running ecosconfig new twr-k60n512) and try to run "scons BUILD_SAMPLEAPP=True" which stops with an error: error: cyg/cpuload/cpuload.h: No such file or directory I guess the include path is wrong but I can't understand where I can set it correctly. Any ideas ? By the way I had a lot of "warning: this is the location of the previous definition", is this normal or it's because my include paths are completely wrong ? Thank you, -- Emilien -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss