From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5218 invoked by alias); 22 Jun 2009 12:44:40 -0000 Received: (qmail 5209 invoked by uid 22791); 22 Jun 2009 12:44:40 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from tensor.andric.com (HELO tensor.andric.com) (87.251.56.140) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Jun 2009 12:44:33 +0000 Received: from [IPv6:2001:7b8:3a7:0:b409:d39:4166:7318] (unknown [IPv6:2001:7b8:3a7:0:b409:d39:4166:7318]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 65A2F5C43; Mon, 22 Jun 2009 14:44:31 +0200 (CEST) Message-ID: <4A3F7CB2.2060308@andric.com> Date: Mon, 22 Jun 2009 12:44:00 -0000 From: Dimitry Andric User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1pre) Gecko/20090620 Shredder/3.0b3pre MIME-Version: 1.0 To: Dang Tan Hoa CC: crossgcc@sourceware.org Subject: Re: Crosstool with SCTP References: <009701c9f32a$dce8a560$b406010a@isbvietnam.com> In-Reply-To: <009701c9f32a$dce8a560$b406010a@isbvietnam.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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/msg00047.txt.bz2 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