This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |