From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10005 invoked by alias); 22 Jun 2009 11:14:17 -0000 Received: (qmail 9992 invoked by uid 22791); 22 Jun 2009 11:14:17 -0000 X-SWARE-Spam-Status: No, hits=4.0 required=5.0 tests=AWL,BAYES_50,J_CHICKENPOX_43,X_IP X-Spam-Check-By: sourceware.org Received: from ns1.isb.co.jp (HELO ns1.isb.co.jp) (202.213.220.99) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 22 Jun 2009 11:14:11 +0000 Received: from ws1.isb.co.jp (202.213.220.103 [202.213.220.103]) by ns1.isb.co.jp (deepsmtpd 3.5.76) with ESMTP id <009701c9f32a$dce8a560$b406010a@isbvietnam.com> for ; Mon, 22 Jun 2009 20:14:05 +0900 Received: from (unknown [10.0.0.2]) by ws1.isb.co.jp with smtp id 6cb6_a4ba_cc18c2b0_5f1d_11de_ad33_001d0963a415; Mon, 22 Jun 2009 20:14:05 +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 <009701c9f32a$dce8a560$b406010a@isbvietnam.com> for ; Mon, 22 Jun 2009 20:13:56 +0900 Received: from ISB034 by vn.isb.co.jp (MDaemon PRO v10.0.3) with ESMTP id md50000490477.msg for ; Mon, 22 Jun 2009 18:13:27 +0700 X-Spam-Processed: vn.isb.co.jp, Mon, 22 Jun 2009 18:13:27 +0700 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 10.1.6.180 X-Return-Path: prvs=1424fdc59f=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: Mon, 22 Jun 2009 11:14:00 -0000 Message-ID: <009701c9f32a$dce8a560$b406010a@isbvietnam.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit In-Reply-To: <4A3F63B2.5050104@andric.com> X-IP: 202.213.220.103 X-FROM-DOMAIN: vn.isb.co.jp X-FROM-EMAIL: prvs=1424fdc59f=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/msg00046.txt.bz2 Hi! The following is the errors when i compile. -------------------------------------------- Error Compile ------------------------------------------------------------------ [root@localhost /]# ./opt/crosstool/gcc-4.1.0-glibc-2.3.6/powerpc-750-linux-gnu/bin/powerpc-750- linux-gnu-g++ -static sctpsrvt.c -o hello sctpsrvt.c:17:26: error: netinet/sctp.h: No such file or directory sctpsrvt.c: In function 'int main(int, char**)': sctpsrvt.c:76: error: 'SCTP_UNORDERED' was not declared in this scope sctpsrvt.c:76: error: 'sctp_sendmsg' was not declared in this scope sctpsrvt.c:79: error: aggregate 'sctp_sndrcvinfo sndrcvinfo' has incomplete type and cannot be defined sctpsrvt.c:85: error: 'sctp_recvmsg' was not declared in this scope ---------------------------------------------------------------------------- ----------------------------------------------------------- p/s: - Without using SCTP, i can compile and run by crosstool. - Without using crosstool, i can compile and run my SCTP program. Thanks, -------------------------------------------------- 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: Dimitry Andric [mailto:dimitry@andric.com] Sent: Monday, June 22, 2009 5:58 PM To: Dang Tan Hoa Cc: crossgcc@sourceware.org Subject: Re: Crosstool with SCTP On 2009-06-22 12:51, Dang Tan Hoa wrote: > I have a problem with building my SCTP program using crosstool. > Please tell me how to configure to be able to build SCTP program by > crosstool Please show us any error messages you are getting during configure, and if possible, supply a link to the software you are talking about. -- For unsubscribe information see http://sourceware.org/lists.html#faq