From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10369 invoked by alias); 23 Jun 2009 09:48:43 -0000 Received: (qmail 10360 invoked by uid 22791); 23 Jun 2009 09:48:42 -0000 X-SWARE-Spam-Status: No, hits=3.6 required=5.0 tests=AWL,BAYES_50,X_IP X-Spam-Check-By: sourceware.org Received: from ns0.isb.co.jp (HELO ns0.isb.co.jp) (202.213.220.98) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Jun 2009 09:48:31 +0000 Received: from ws0.isb.co.jp (202.213.220.102 [202.213.220.102]) by ns0.isb.co.jp (deepsmtpd 3.5.76) with ESMTP id <00d401c9f3e8$206df890$b406010a@isbvietnam.com> for ; Tue, 23 Jun 2009 18:48:22 +0900 Received: from (mailhost0.isb.co.jp [10.0.0.2]) by ws0.isb.co.jp with smtp id 6dc2_fd7070d4_5fda_11de_873c_001d0963a47e; Tue, 23 Jun 2009 18:48:22 +0900 Received: from vn.isb.co.jp (10.1.0.251 [10.1.0.251]) by mail0.isb.co.jp (deepsmtpd 3.5.76) with ESMTP id <00d401c9f3e8$206df890$b406010a@isbvietnam.com> for ; Tue, 23 Jun 2009 18:48:13 +0900 Received: from ISB034 by vn.isb.co.jp (MDaemon PRO v10.0.3) with ESMTP id md50000491404.msg for ; Tue, 23 Jun 2009 16:47:45 +0700 X-Spam-Processed: vn.isb.co.jp, Tue, 23 Jun 2009 16:47:45 +0700 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 10.1.6.180 X-Return-Path: prvs=14252409a0=dthoa@vn.isb.co.jp X-Envelope-From: dthoa@vn.isb.co.jp X-MDaemon-Deliver-To: crossgcc@sourceware.org From: "Dang Tan Hoa" To: Subject: RE: Crosstool with SCTP Date: Tue, 23 Jun 2009 09:48:00 -0000 Message-ID: <00d401c9f3e8$206df890$b406010a@isbvietnam.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <4A3F7CB2.2060308@andric.com> X-IP: 202.213.220.102 X-FROM-DOMAIN: vn.isb.co.jp X-FROM-EMAIL: prvs=14252409a0=dthoa@vn.isb.co.jp X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org X-SW-Source: 2009-06/txt/msg00054.txt.bz2 Hi Dimitry Andric, Now i can compile and run SCTP program by crosstool. Thank you so much. -------------------------------------------------- Dang Tan Hoa Email: dthoa@vn.isb.co.jp ISB Vietnam Co., Ltd Unit 3.1, E-Town 2 Building, 364 Cong Hoa St, Tan Binh Dist, HCM City, Vietnam Tel: 8127145 - Fax: 8127148 Website: http://www.isb-vietnam.com.vn -------------------------------------------------- -----Original Message----- From: crossgcc-owner@sourceware.org [mailto:crossgcc-owner@sourceware.org] On Behalf Of Dimitry Andric Sent: Monday, June 22, 2009 7:45 PM To: Dang Tan Hoa Cc: crossgcc@sourceware.org Subject: Re: Crosstool with SCTP On 2009-06-22 13:16, Dang Tan Hoa wrote: > The following is the errors when i compile. ... > sctpsrvt.c:17:26: error: netinet/sctp.h: No such file or directory Most probably, you must install the SCTP headers into your toolchain. > p/s: - Without using SCTP, i can compile and run by crosstool. > - Without using crosstool, i can compile and run my SCTP program. You have probably installed SCTP headers on your system, so they end up in /usr/include/netinet/, but you didn't install them for your crosstool toolchain. If you are using lksctp-tools, you will probably need to run its configure script using: configure --target=powerpc-750-linux-gnu --prefix=/usr and its make install using: make install DESTDIR=$SYSROOT where $SYSROOT is the sysroot of your toolchain. -- For unsubscribe information see http://sourceware.org/lists.html#faq -- For unsubscribe information see http://sourceware.org/lists.html#faq