Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] add fcgi-2.4.0 package to buildroot
Date: Fri, 16 Sep 2011 18:44:09 +0200	[thread overview]
Message-ID: <20110916184409.2b4f53ae@skate> (raw)
In-Reply-To: <000301cc7486$0778f8f0$166aead0$@com>

Hello,

The global formatting of your e-mail is terrible. You should fix your
e-mail client.

Le Fri, 16 Sep 2011 17:33:47 +0200,
"Rico Bachmann" <bachmann@tofwerk.com> a ?crit :

>                 LIBFCGI_VERSION = 2.4.0
>                 LIBFCGI_SOURCE = fcgi-$(LIBFCGI_VERSION).tar.gz
>                 LIBFCGI_SITE = http://www.fastcgi.com/dist
>                 LIBFCGI_INSTALL_STAGING = YES
>                 LIBFCGI_INSTALL_TARGET= YES

This last line is not needed.

>                 LIBFCGI_CONF_OPT = --enable-shared

This is not needed.

> /mnt/clfs/buildroot-2011.08/output/host/usr/bin/arm-unknown-linux-uclibcgnue
> abi-gcc -pipe -Os -Wall -o .libs/cgi-fcgi cgi-fcgi.o
> ../libfcgi/.libs/libfcgi.so -lnsl
> 
>                 ../libfcgi/.libs/libfcgi.so: warning: gethostbyname is
> obsolescent, use getnameinfo() instead.
> 
>                 ../libfcgi/.libs/libfcgi.so: undefined reference to
> `frexp'

Looks like it forgets to link against the math library, i.e -lm is
missing from the link command line. Probably something not completely
correct in fcgi build system.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2011-09-16 16:44 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16 15:33 [Buildroot] add fcgi-2.4.0 package to buildroot Rico Bachmann
2011-09-16 16:44 ` Thomas Petazzoni [this message]
2011-09-19 14:14   ` Rico Bachmann
2011-09-19 20:46     ` Thomas Petazzoni
2011-09-21  9:29       ` Rico Bachmann
2011-09-28 10:18         ` Rico Bachmann
2011-09-28 11:03           ` Michael S. Zick
2011-09-28 11:22             ` Rico Bachmann
2011-09-28 11:33               ` Michael S. Zick
2011-09-28 12:16                 ` Rico Bachmann
2011-09-28 12:16           ` Thomas Petazzoni
2011-09-28 13:36             ` Rico Bachmann
2011-09-28 13:55               ` Thomas Petazzoni

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=20110916184409.2b4f53ae@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --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