Crosstool with SCTP

Dang Tan Hoa dthoa@vn.isb.co.jp
Mon Jun 22 11:14:00 GMT 2009


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



More information about the crossgcc mailing list