LibBSD is not linking for the BBB BSP

Chris Johns chrisj at rtems.org
Tue Aug 27 06:32:26 UTC 2019


Hi,

Libcurl is not building for the BBB using HEAD on master. The config.log
fragment with the failure is below. It looks like something to do with the frame
buffer changes ... `_bsd_fb_fb_modmodule_sys_init` ?

Thanks
Chris

configure:19546: checking for gethostbyname
configure:19546: arm-rtems5-gcc -o conftest -qrtems
-B/opt/work/chris/rtems/rsb/rtems-source-builder.git/rtems/build/tmp/sb-chris-staging/arm-rtems5/lib/
-B/opt/work/chris/rtems/rsb/rtems-source-builder.git/rtems/build/tmp/sb-chris-staging/arm-rtems5/beagleboneblack/lib/
--specs bsp_specs -mcpu=cortex-a8 -O2 -ffunction-sections -fdata-sections
-Werror-implicit-function-declaration -Wno-system-headers -isy
stem
/opt/work/chris/rtems/rsb/rtems-source-builder.git/rtems/build/tmp/sb-chris-staging/arm-rtems5/beagleboneblack/lib/include
-L/opt/work/chris/rtems/rsb/rtems-source-builder.git/rtems/build/tmp/sb-chris-staging/arm-rtems5/beagleboneblack/lib
-L/opt/work/chris/rtems/rsb/rtems-source-builder.git/rtems/build/tmp/sb-chris/ftp/curl/opt/work/cs/water/bbb/lib
conftest.c -lbsd -lm -lz -lrtemsdefaultconfig >&5
/opt/work/chris/rtems/rsb/rtems-source-builder.git/rtems/build/tmp/sb-chris-staging/bin/../lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld:
/opt/work/chris/rtems/rsb/rtems-source-builder.git/rtems/build/tmp/sb-chris-staging/arm-rtems5/beagleboneblack/lib/libbsd.a(rtems-bsd-init-dhcp.c.18.o):/opt/work/chris/rtems/rsb/rtems-source-builder.git/rtems/build/rtems-libbsd-vabbce3f757340930a737f1e8da529443
ce88e9c6-x86_64-freebsd12.0-1/rtems-libbsd-abbce3f757340930a737f1e8da529443ce88e9c6/build/arm-rtems5-beagleboneblack-default/../../rtemsbsd/include/bsp/nexus-devices.h:73:
undefined reference to `_bsd_fb_fb_modmodule_sys_init'
/opt/work/chris/rtems/rsb/rtems-source-builder.git/rtems/build/tmp/sb-chris-staging/bin/../lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld:
/opt/work/chris/rtems/rsb/rtems-source-builder.git/rtems/build/tmp/sb-chris-staging/arm-rtems5/beagleboneblack/lib/libbsd.a(rtems-bsd-init-dhcp.c.18.o):/opt/work/chris/rtems/rsb/rtems-source-builder.git/rtems/build/rtems-libbsd-vabbce3f757340930a737f1e8da529443
ce88e9c6-x86_64-freebsd12.0-1/rtems-libbsd-abbce3f757340930a737f1e8da529443ce88e9c6/build/arm-rtems5-beagleboneblack-default/../../rtemsbsd/include/bsp/nexus-devices.h:74:
undefined reference to `_bsd_fb_modmodule_sys_init'
collect2: error: ld returned 1 exit status
configure:19546: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "curl"
| #define PACKAGE_TARNAME "curl"
| #define PACKAGE_VERSION "-"
| #define PACKAGE_STRING "curl -"
| #define PACKAGE_BUGREPORT "a suitable curl mailing list:
https://curl.haxx.se/mail/"
| #define PACKAGE_URL ""
| #define PACKAGE "curl"
| #define VERSION "-"
| #define OS "arm-unknown-rtems5"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LDAP_SSL 1
| /* end confdefs.h.  */
|
| #define gethostbyname innocuous_gethostbyname
| #ifdef __STDC__
| # include <limits.h>
| #else
| # include <assert.h>
| #endif
| #undef gethostbyname
| #ifdef __cplusplus
| extern "C"
| #endif
| char gethostbyname ();
| #if defined __stub_gethostbyname || defined __stub___gethostbyname
| choke me
| #endif
|
| int main (void)
| {
| return gethostbyname ();
|  ;
|  return 0;
| }
configure:19546: result: no


More information about the devel mailing list