Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] libwebsockets : missing header
Date: Tue, 29 Apr 2014 13:46:52 +0300	[thread overview]
Message-ID: <20140429104652.GN4531@tarshish> (raw)
In-Reply-To: <385326490C3E4FFE925925E70428D1E5@JohanW7>

Hi Sagaert Johan,

On Tue, Apr 29, 2014 at 12:11:39PM +0200, Sagaert Johan wrote:
> building libwebsockets is broken :
>  
> snip..........
> -g -rdynamic -fPIC -Werror -c -DINSTALL_DATADIR=\"/usr/share\" -DLWS_OPENSSL_CLIENT_CERTS=\"/etc/pki/tls/certs/\"
> -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -D_DEBUG -DLWS_LIBRARY_VERSION=\"1.2\"
> -DLWS_BUILD_HASH=\"dd06dc8\" -MT libwebsockets_la-output.lo -MD -MP -MF .deps/libwebsockets_la-output.Tpo -c output.c  -fPIC -DPIC
> -o .libs/libwebsockets_la-output.o
> libtool: compile:  /home/brcpy/output/host/usr/bin/ccache /home/brcpy/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc
> -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -std=gnu99 -pedantic -O0 -g
> -rdynamic -fPIC -Werror -c -DINSTALL_DATADIR=\"/usr/share\" -DLWS_OPENSSL_CLIENT_CERTS=\"/etc/pki/tls/certs/\" -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -D_DEBUG -DLWS_LIBRARY_VERSION=\"1.2\" -DLWS_BUILD_HASH=\"dd06dc8\" -MT
> libwebsockets_la-libwebsockets.lo -MD -MP -MF .deps/libwebsockets_la-libwebsockets.Tpo -c libwebsockets.c  -fPIC -DPIC -o
> .libs/libwebsockets_la-libwebsockets.o
> libtool: compile:  /home/brcpy/output/host/usr/bin/ccache /home/brcpy/output/host/usr/bin/arm-buildroot-linux-uclibcgnueabi-gcc
> -DHAVE_CONFIG_H -I. -I.. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -std=gnu99 -pedantic -O0 -g
> -rdynamic -fPIC -Werror -c -DINSTALL_DATADIR=\"/usr/share\" -DLWS_OPENSSL_CLIENT_CERTS=\"/etc/pki/tls/certs/\" -D_LARGEFILE_SOURCE
> -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -Os -D_DEBUG -DLWS_LIBRARY_VERSION=\"1.2\" -DLWS_BUILD_HASH=\"dd06dc8\" -MT
> libwebsockets_la-base64-decode.lo -MD -MP -MF .deps/libwebsockets_la-base64-decode.Tpo -c base64-decode.c  -fPIC -DPIC -o
> .libs/libwebsockets_la-base64-decode.o
> libwebsockets.c:32:21: fatal error: ifaddrs.h: No such file or directory
>  #include <ifaddrs.h>
>                      ^
> Maybe this has been reported before. 
> I found that this header file is not present in the staging include directory but is located
> in the uclibc-0.9.33.2/include build directory.

Please share your .config.

Have you customized the uClibc configuration?

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

  reply	other threads:[~2014-04-29 10:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-29 10:11 [Buildroot] libwebsockets : missing header Sagaert Johan
2014-04-29 10:46 ` Baruch Siach [this message]
2014-04-29 21:38   ` Sagaert Johan

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=20140429104652.GN4531@tarshish \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /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