public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Dimitry Andric <dimitry@andric.com>
To: Dang Tan Hoa <dthoa@vn.isb.co.jp>
Cc: crossgcc@sourceware.org
Subject: Re: Crosstool with SCTP
Date: Mon, 22 Jun 2009 12:44:00 -0000	[thread overview]
Message-ID: <4A3F7CB2.2060308@andric.com> (raw)
In-Reply-To: <009701c9f32a$dce8a560$b406010a@isbvietnam.com>

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

  reply	other threads:[~2009-06-22 12:44 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 [this message]
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=4A3F7CB2.2060308@andric.com \
    --to=dimitry@andric.com \
    --cc=crossgcc@sourceware.org \
    --cc=dthoa@vn.isb.co.jp \
    /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).