From: Rico Bachmann <bachmann@tofwerk.com>
To: buildroot@busybox.net
Subject: [Buildroot] add fcgi-2.4.0 package to buildroot
Date: Mon, 19 Sep 2011 16:14:45 +0200 [thread overview]
Message-ID: <001601cc76d6$7c3d1ac0$74b75040$@com> (raw)
In-Reply-To: <20110916184409.2b4f53ae@skate>
> -----Urspr?ngliche Nachricht-----
> Von: Thomas Petazzoni [mailto:thomas.petazzoni at free-electrons.com]
> Gesendet: Freitag, 16. September 2011 18:44
> An: buildroot at busybox.net
> Cc: bachmann at tofwerk.com
> Betreff: Re: [Buildroot] add fcgi-2.4.0 package to buildroot
>
> 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.
I've deleted this 2 lines.
>
> > /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
If I see this right, I have to patch the buildsystem from the original fcgi package?
Then I could add the link to the math library and add the -lm to the command?
Is that the right way to go? Or didn't I understood you right?
I'm now try to understand the automake files of the fcgi.
Greetings Bluefire
Mit freundlichen Gr?ssen
Tofwerk AG, Rico Bachmann
+41 33 511 11 69
bachmann at tofwerk.com
http://www.tofwerk.com
Uttigenstrasse 22
CH - 3600 Thun
next prev parent reply other threads:[~2011-09-19 14:14 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
2011-09-19 14:14 ` Rico Bachmann [this message]
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='001601cc76d6$7c3d1ac0$74b75040$@com' \
--to=bachmann@tofwerk.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.