ok, should be #include <net/if.h> Works with both stacks. Heinz
> On 12. Jun 2024, at 22:12, Heinz Junkes <jun...@fhi-berlin.mpg.de> wrote: > > Hi, > > junkes@Zarquon RTEMS_FOR_EPICS % git clone \ > https://gitlab.rtems.org/rtems/pkg/rtems-net-services.git > Cloning into 'rtems-net-services'... > remote: Enumerating objects: 806, done. > remote: Counting objects: 100% (31/31), done. > remote: Compressing objects: 100% (26/26), done. > remote: Total 806 (delta 16), reused 6 (delta 5), pack-reused 775 (from 1) > Receiving objects: 100% (806/806), 1.29 MiB | 469.00 KiB/s, done. > Resolving deltas: 100% (250/250), done. > > cd rtems-net/services > > git submodule init > git submodule update > > ./waf configure --prefix=${RTEMS_ROOT} —rtems-bsps=xilinx_zynq_a9_qemu > > ./waf > > ... > [101/108] Compiling testsuites/ttcpshell01/test_main.c > [102/108] Compiling net/libbsd/net_adapter.c > [103/108] Compiling testsuites/telnetd01/init.c > ../../net/libbsd/net_adapter.c:48:10: fatal error: rtems/bsd/iface.h: No such > file or directory > 48 | #include <rtems/bsd/iface.h> > | ^~~~~~~~~~~~~~~~~~~ > compilation terminated. > > ../../net/libbsd/net_adapter.c:48:10: fatal error: rtems/bsd/iface.h: No such > file or directory > 48 | #include <rtems/bsd/iface.h> > | ^~~~~~~~~~~~~~~~~~~ > compilation terminated. > > ../../net/libbsd/net_adapter.c:48:10: fatal error: rtems/bsd/iface.h: No such > file or directory > 48 | #include <rtems/bsd/iface.h> > | ^~~~~~~~~~~~~~~~~~~ > compilation terminated. > > Waf: Leaving directory > `/Volumes/Epics/LONG_ISLAND/RTEMS_FOR_EPICS/rtems-net-services/build/arm-rtems6-beagleboneblack' > Build failed > -> task in 'ntp01.exe' failed with exit status 1 (run with -v to display more > information) > -> task in 'ttcpshell01.exe' failed with exit status 1 (run with -v to > display more information) > -> task in 'telnetd01.exe' failed with exit status 1 (run with -v to display > more information) > > The missing file is only defined in the legacy-stack, but not in den > libbsd-stack? > > With this configuration it works: > > ./waf configure --prefix=${RTEMS_ROOT} --rtems-bsps=powerpc/beatnik > > > Heinz_______________________________________________ > users mailing list > users@rtems.org > http://lists.rtems.org/mailman/listinfo/users
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ users mailing list users@rtems.org http://lists.rtems.org/mailman/listinfo/users