public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: "Dang Tan Hoa" <dthoa@vn.isb.co.jp>
To: <crossgcc@sourceware.org>
Subject: RE: Crosstool with SCTP
Date: Tue, 23 Jun 2009 09:48:00 -0000	[thread overview]
Message-ID: <00d401c9f3e8$206df890$b406010a@isbvietnam.com> (raw)
In-Reply-To: <4A3F7CB2.2060308@andric.com>

 
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

      reply	other threads:[~2009-06-23  9:48 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
2009-06-22 12:44     ` Dimitry Andric
2009-06-23  9:48       ` Dang Tan Hoa [this message]

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='00d401c9f3e8$206df890$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).