<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Sprechblasentext Zchn";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.SprechblasentextZchn
        {mso-style-name:"Sprechblasentext Zchn";
        mso-style-priority:99;
        mso-style-link:Sprechblasentext;
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-CH link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi@all<br><br>I'm trying to add the fcgi-2.4.0 package to buildroot. I'm new in doing this.<o:p></o:p></p><p class=MsoNormal>For my advantage this package works already with automake/autoconfig.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I added the package with the help from this side: <a href="http://buildroot.uclibc.org/buildroot.html#autotools-tutorial">http://buildroot.uclibc.org/buildroot.html#autotools-tutorial</a> <o:p></o:p></p><p class=MsoNormal><br>Here is my libfcgi.mk file:<br><br>                ##############################################################################<o:p></o:p></p><p class=MsoNormal>                #<o:p></o:p></p><p class=MsoNormal>                # libfcgi<o:p></o:p></p><p class=MsoNormal>                #<o:p></o:p></p><p class=MsoNormal>                # makefile for automake/autoconf by Rico Bachmann<o:p></o:p></p><p class=MsoNormal>                #<o:p></o:p></p><p class=MsoNormal>                ##############################################################################<o:p></o:p></p><p class=MsoNormal>                LIBFCGI_VERSION = 2.4.0<o:p></o:p></p><p class=MsoNormal>                LIBFCGI_SOURCE = fcgi-$(LIBFCGI_VERSION).tar.gz<o:p></o:p></p><p class=MsoNormal>                LIBFCGI_SITE = http://www.fastcgi.com/dist<o:p></o:p></p><p class=MsoNormal>                LIBFCGI_INSTALL_STAGING = YES<o:p></o:p></p><p class=MsoNormal>                LIBFCGI_INSTALL_TARGET= YES<o:p></o:p></p><p class=MsoNormal>                LIBFCGI_CONF_OPT = --enable-shared<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>$(eval $(call AUTOTARGETS,package,libfcgi))<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>and here is my Config.in file:<br><br><o:p></o:p></p><p class=MsoNormal>                config BR2_PACKAGE_LIBFCGI<o:p></o:p></p><p class=MsoNormal>                                bool "libfcgi"<o:p></o:p></p><p class=MsoNormal>                                help<o:p></o:p></p><p class=MsoNormal>                                               This is a fcgi developer librarz to use in C.<o:p></o:p></p><p class=MsoNormal>                                               <a href="http://www.fastcgi.com/">http://www.fastcgi.com/</a><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>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.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Here is my output from the make (the last lines):<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>                Making all in cgi-fcgi<o:p></o:p></p><p class=MsoNormal>                make[3]: Entering directory `/mnt/clfs/buildroot-2011.08/output/build/libfcgi-2.4.0/cgi-fcgi'<o:p></o:p></p><p class=MsoNormal>                source='cgi-fcgi.c' object='cgi-fcgi.o' libtool=no \<o:p></o:p></p><p class=MsoNormal>                                depfile='.deps/cgi-fcgi.Po' tmpdepfile='.deps/cgi-fcgi.TPo' \<o:p></o:p></p><p class=MsoNormal>                                depmode=gcc3 /bin/sh ../depcomp \<o:p></o:p></p><p class=MsoNormal>                                /mnt/clfs/buildroot-2011.08/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -DHAVE_CONFIG_H -I. -I. -I..   -I../include  -pipe -Os  -Wall -c `test -f cgi-fcgi.c || echo './'`cgi-fcgi.c<o:p></o:p></p><p class=MsoNormal>                /bin/sh ../libtool --mode=link /mnt/clfs/buildroot-2011.08/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc  -pipe -Os  -Wall   -o cgi-fcgi  cgi-fcgi.o ../libfcgi/libfcgi.la -lnsl <o:p></o:p></p><p class=MsoNormal>                mkdir .libs<o:p></o:p></p><p class=MsoNormal>                /mnt/clfs/buildroot-2011.08/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc -pipe -Os -Wall -o .libs/cgi-fcgi cgi-fcgi.o  ../libfcgi/.libs/libfcgi.so -lnsl<o:p></o:p></p><p class=MsoNormal>                ../libfcgi/.libs/libfcgi.so: warning: gethostbyname is obsolescent, use getnameinfo() instead.<o:p></o:p></p><p class=MsoNormal>                ../libfcgi/.libs/libfcgi.so: undefined reference to `frexp'<o:p></o:p></p><p class=MsoNormal>                collect2: ld returned 1 exit status<o:p></o:p></p><p class=MsoNormal>                make[3]: *** [cgi-fcgi] Fehler 1<o:p></o:p></p><p class=MsoNormal>                make[3]: Leaving directory `/mnt/clfs/buildroot-2011.08/output/build/libfcgi-2.4.0/cgi-fcgi'<o:p></o:p></p><p class=MsoNormal>                make[2]: *** [all-recursive] Fehler 1<o:p></o:p></p><p class=MsoNormal>                make[2]: Leaving directory `/mnt/clfs/buildroot-2011.08/output/build/libfcgi-2.4.0'<o:p></o:p></p><p class=MsoNormal>                make[1]: *** [all] Fehler 2<o:p></o:p></p><p class=MsoNormal>                make[1]: Leaving directory `/mnt/clfs/buildroot-2011.08/output/build/libfcgi-2.4.0'<o:p></o:p></p><p class=MsoNormal>                make: *** [/mnt/clfs/buildroot-2011.08/output/build/libfcgi-2.4.0/.stamp_built] Fehler 2<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>if it would help i can upload the hole output from make.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I see that i need the 'frexp' but how do i link this? If I'm not wrong, thats a function of math.h<br>And are there some other errors i don't see myself? I'm happy about every hint.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>greez bluefire<o:p></o:p></p></div></body></html>