<div dir="ltr">Hi<div><br></div><div>Appears to be something with the probe for gethostbyname. It fails with this:</div><div><br></div><div>configure:19546: i386-rtems5-gcc -o conftest -qrtems -B/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/i386-rtems5/lib/ -B/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/i386-rtems5/pc686/lib/ --specs bsp_specs -mtune=pentiumpro -march=pentium -O2 -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -isystem /home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/i386-rtems5/pc686/lib/include -L/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/i386-rtems5/pc686/lib -mtune=pentiumpro -march=pentium  -L/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001/ftp/curl/home/joel/rtems-cron-5/tools/5/lib conftest.c -lbsd -lm -lz -lrtemsdefaultconfig >&5<br>/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/bin/../lib/gcc/i386-rtems5/7.5.0/../../../../i386-rtems5/bin/ld: /home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/i386-rtems5/pc686/lib/libbsd.a(rtems-bsd-init-dhcp.c.18.o):/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/rtems-libbsd-vd38dbbe18e5315bf69a7c3916d71ef3838d4c20d-x86_64-linux-gnu-1/rtems-libbsd-d38dbbe18e5315bf69a7c3916d71ef3838d4c20d/build/i386-rtems5-pc686-default/../../rtemsbsd/include/bsp/nexus-devices.h:157: undefined reference to `_bsd_lem_pcimodule_sys_init'<br>/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/bin/../lib/gcc/i386-rtems5/7.5.0/../../../../i386-rtems5/bin/ld: /home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/i386-rtems5/pc686/lib/libbsd.a(iflib.c.18.o): in function `iflib_pseudo_register':<br>/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/rtems-libbsd-vd38dbbe18e5315bf69a7c3916d71ef3838d4c20d-x86_64-linux-gnu-1/rtems-libbsd-d38dbbe18e5315bf69a7c3916d71ef3838d4c20d/build/i386-rtems5-pc686-default/../../freebsd/sys/net/iflib.c:4804: undefined reference to `iflib_gen_mac'<br>/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/bin/../lib/gcc/i386-rtems5/7.5.0/../../../../i386-rtems5/bin/ld: /home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/i386-rtems5/pc686/lib/libbsd.a(iflib.c.18.o):(.rodata.iflib_pseudo_methods+0x4): undefined reference to `noop_attach'<br>/home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/bin/../lib/gcc/i386-rtems5/7.5.0/../../../../i386-rtems5/bin/ld: /home/joel/rtems-cron-5/rtems-source-builder/rtems/build/tmp/sb-1001-staging/i386-rtems5/pc686/lib/libbsd.a(iflib.c.18.o):(.rodata.iflib_pseudo_methods+0xc): undefined reference to `iflib_pseudo_detach'<br>collect2: error: ld returned 1 exit status<br></div><div><br></div><div>What needs to be fixed in libbsd to correct this?</div><div><br></div><div>Filed as <a href="https://devel.rtems.org/ticket/3985#ticket">https://devel.rtems.org/ticket/3985#ticket</a></div><div><br></div><div>--joel</div></div>