Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] add fcgi-2.4.0 package to buildroot
@ 2011-09-16 15:33 Rico Bachmann
  2011-09-16 16:44 ` Thomas Petazzoni
  0 siblings, 1 reply; 13+ messages in thread
From: Rico Bachmann @ 2011-09-16 15:33 UTC (permalink / raw)
  To: buildroot

Hi at all

I'm trying to add the fcgi-2.4.0 package to buildroot. I'm new in doing
this.

For my advantage this package works already with automake/autoconfig.

 

I added the package with the help from this side:
http://buildroot.uclibc.org/buildroot.html#autotools-tutorial 


Here is my libfcgi.mk file:

 
############################################################################
##

                #

                # libfcgi

                #

                # makefile for automake/autoconf by Rico Bachmann

                #

 
############################################################################
##

                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

                LIBFCGI_CONF_OPT = --enable-shared

 

$(eval $(call AUTOTARGETS,package,libfcgi))

 

and here is my Config.in file:



                config BR2_PACKAGE_LIBFCGI

                                bool "libfcgi"

                                help

                                               This is a fcgi developer
librarz to use in C.

                                               http://www.fastcgi.com/

 

My problem is if i try to build my rootfs with this packag, i got some
errors, and i don't see how to fix them.

 

Here is my output from the make (the last lines):

 

                Making all in cgi-fcgi

                make[3]: Entering directory
`/mnt/clfs/buildroot-2011.08/output/build/libfcgi-2.4.0/cgi-fcgi'

                source='cgi-fcgi.c' object='cgi-fcgi.o' libtool=no \

                                depfile='.deps/cgi-fcgi.Po'
tmpdepfile='.deps/cgi-fcgi.TPo' \

                                depmode=gcc3 /bin/sh ../depcomp \

 
/mnt/clfs/buildroot-2011.08/output/host/usr/bin/arm-unknown-linux-uclibcgnue
abi-gcc -DHAVE_CONFIG_H -I. -I. -I..   -I../include  -pipe -Os  -Wall -c
`test -f cgi-fcgi.c || echo './'`cgi-fcgi.c

                /bin/sh ../libtool --mode=link
/mnt/clfs/buildroot-2011.08/output/host/usr/bin/arm-unknown-linux-uclibcgnue
abi-gcc  -pipe -Os  -Wall   -o cgi-fcgi  cgi-fcgi.o ../libfcgi/libfcgi.la
-lnsl 

                mkdir .libs

 
/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'

                collect2: ld returned 1 exit status

                make[3]: *** [cgi-fcgi] Fehler 1

                make[3]: Leaving directory
`/mnt/clfs/buildroot-2011.08/output/build/libfcgi-2.4.0/cgi-fcgi'

                make[2]: *** [all-recursive] Fehler 1

                make[2]: Leaving directory
`/mnt/clfs/buildroot-2011.08/output/build/libfcgi-2.4.0'

                make[1]: *** [all] Fehler 2

                make[1]: Leaving directory
`/mnt/clfs/buildroot-2011.08/output/build/libfcgi-2.4.0'

                make: ***
[/mnt/clfs/buildroot-2011.08/output/build/libfcgi-2.4.0/.stamp_built] Fehler
2

 

if it would help i can upload the hole output from make.

 

I see that i need the 'frexp' but how do i link this? If I'm not wrong,
thats a function of math.h
And are there some other errors i don't see myself? I'm happy about every
hint.

 

greez bluefire

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110916/8713a057/attachment-0001.html>

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-09-28 13:55 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox