From: "Dang Tan Hoa" <dthoa@vn.isb.co.jp>
To: <crossgcc@sourceware.org>
Subject: RE: Crosstool with SCTP
Date: Mon, 22 Jun 2009 11:14:00 -0000 [thread overview]
Message-ID: <009701c9f32a$dce8a560$b406010a@isbvietnam.com> (raw)
In-Reply-To: <4A3F63B2.5050104@andric.com>
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
next prev parent reply other threads:[~2009-06-22 11:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-22 10:49 Dang Tan Hoa
2009-06-22 10:58 ` Dimitry Andric
2009-06-22 11:14 ` Dang Tan Hoa [this message]
2009-06-22 12:44 ` Dimitry Andric
2009-06-23 9:48 ` Dang Tan Hoa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='009701c9f32a$dce8a560$b406010a@isbvietnam.com' \
--to=dthoa@vn.isb.co.jp \
--cc=crossgcc@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).