<div dir="ltr"><div dir="ltr"><br><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 27, 2019 at 11:59 AM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
Libcurl is not building for the BBB using HEAD on master. The config.log<br>
fragment with the failure is below. It looks like something to do with the frame<br>
buffer changes ... `_bsd_fb_fb_modmodule_sys_init` ?<br>
<br>
Thanks<br>
Chris</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> </blockquote><div>I'm getting the following error after trying a fix for the fb_modmodule error:</div><div>Am I missing something?</div><div><br></div><div> </div>configure:19828: checking for gethostbyname for eCos<br>configure:19847: arm-rtems5-gcc -o conftest -qrtems -B/home/lunatic/development/rtems/5/arm-rtems5/lib/ -B/home/lunatic/development/rtems/5/arm-rtems5/beagleboneblack/lib/ --specs bsp_specs -mcpu=cortex-a8 -O2 -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/lunatic/development/rtems/5/arm-rtems5/beagleboneblack/lib/include -L/home/lunatic/development/rtems/5/arm-rtems5/beagleboneblack/lib -L/home/lunatic/development/rtems/rsb/rtems/build/tmp/sb-lunatic/ftp/curl/home/lunatic/development/rtems/5/lib conftest.c -lrtemsdefaultconfig >&5<br>/home/lunatic/development/rtems/5/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: /tmp/ccXCcJLN.o: in function `main':<br>conftest.c:(.text.startup.main+0xc): undefined reference to `gethostbyname'<br>collect2: error: ld returned 1 exit status<br>configure:19847: $? = 1<br>configure: failed program was:<br>| /* confdefs.h */<br>| #define PACKAGE_NAME "curl"<br>| #define PACKAGE_TARNAME "curl"<br>| #define PACKAGE_VERSION "-"<br>| #define PACKAGE_STRING "curl -"<br>| #define PACKAGE_BUGREPORT "a suitable curl mailing list: <a href="https://curl.haxx.se/mail/">https://curl.haxx.se/mail/</a>"<br>| #define PACKAGE_URL ""<br>| #define PACKAGE "curl"<br>| #define VERSION "-"<br>| #define OS "arm-unknown-rtems5"<br>| #define STDC_HEADERS 1<br>| #define HAVE_SYS_TYPES_H 1<br>| #define HAVE_SYS_STAT_H 1<br>| #define HAVE_STDLIB_H 1<br>| #define HAVE_STRING_H 1<br>| #define HAVE_MEMORY_H 1<br>| #define HAVE_STRINGS_H 1<br>| #define HAVE_INTTYPES_H 1<br>| #define HAVE_STDINT_H 1<br>| #define HAVE_UNISTD_H 1<br>| #define HAVE_DLFCN_H 1<br>| #define LT_OBJDIR ".libs/"<br>| #define HAVE_LDAP_SSL 1<br>| /* end confdefs.h.  */<br>| <br>| <br>| #include <stdio.h><br>| #include <netdb.h><br>| <br>| int main (void)<br>| {<br>| <br>|       gethostbyname("<a href="http://www.dummysite.com">www.dummysite.com</a>");<br>| <br>|  ;<br>|  return 0;<br>| }<br>| <br>configure:19855: result: no<br>configure:19865: checking for gethostbyname for AmigaOS bsdsocket.library<br>configure:19884: arm-rtems5-gcc -o conftest -qrtems -B/home/lunatic/development/rtems/5/arm-rtems5/lib/ -B/home/lunatic/development/rtems/5/arm-rtems5/beagleboneblack/lib/ --specs bsp_specs -mcpu=cortex-a8 -O2 -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/lunatic/development/rtems/5/arm-rtems5/beagleboneblack/lib/include -L/home/lunatic/development/rtems/5/arm-rtems5/beagleboneblack/lib -L/home/lunatic/development/rtems/rsb/rtems/build/tmp/sb-lunatic/ftp/curl/home/lunatic/development/rtems/5/lib conftest.c -lrtemsdefaultconfig >&5<br>conftest.c:27:10: fatal error: proto/bsdsocket.h: No such file or directory<br> #include <proto/bsdsocket.h><br>          ^~~~~~~~~~~~~~~~~~~<br>compilation terminated.<br>configure:19884: $? = 1<br>configure: failed program was:<br>| /* confdefs.h */<br>| #define PACKAGE_NAME "curl"<br>| #define PACKAGE_TARNAME "curl"<br>| #define PACKAGE_VERSION "-"<br>| #define PACKAGE_STRING "curl -"<br>| #define PACKAGE_BUGREPORT "a suitable curl mailing list: <a href="https://curl.haxx.se/mail/">https://curl.haxx.se/mail/</a>"<br>| #define PACKAGE_URL ""<br>| #define PACKAGE "curl"<br>| #define VERSION "-"<br>| #define OS "arm-unknown-rtems5"<br>| #define STDC_HEADERS 1<br>| #define HAVE_SYS_TYPES_H 1<br>| #define HAVE_SYS_STAT_H 1<br>| #define HAVE_STDLIB_H 1<br>| #define HAVE_STRING_H 1<br>| #define HAVE_MEMORY_H 1<br>| #define HAVE_STRINGS_H 1<br>| #define HAVE_INTTYPES_H 1<br>| #define HAVE_STDINT_H 1<br>| #define HAVE_UNISTD_H 1<br>| #define HAVE_DLFCN_H 1<br>| #define LT_OBJDIR ".libs/"<br>| #define HAVE_LDAP_SSL 1<br>| /* end confdefs.h.  */<br>| <br>| <br>| #include <proto/bsdsocket.h><br>| struct Library *SocketBase = NULL;<br>| <br>| int main (void)<br>| {<br>| <br>|       gethostbyname("<a href="http://www.dummysite.com">www.dummysite.com</a>");<br>| <br>|  ;<br>|  return 0;<br>| }<br>| <br>configure:19898: result: no<br><div> </div></div></div>