Hi, I am currently trying to add the fdt-shell commands to my application but rtems zlib won't link with -lz added to gcc.
My Output is as follows: """ (576) /home/nils/development/rtems/5/bin/arm-rtems5-gcc -qrtems -B/home/nils/development/rtems/5/arm-rtems5/lib/ -B/home/nils/development/rtems/5/arm-rtems5/beagleboneblack/lib/ --specs bsp_specs -mcpu=cortex-a8 -mcpu=cortex-a8 -ffunction-sections -ffunction-sections -fdata-sections -fdata-sections -Wl,--gc-sections main.c.2.o init.c.2.o pruss-shell.c.2.o ti/prussdrv.c.1.o -o/home/nils/development/rtems-pru/build/arm-rtems5-beagleboneblack/pru.exe -Wl,-Bstatic -Wl,-Bdynamic -L/home/nils/development/rtems/rtems-libbsd/arm-rtems5/beagleboneblack/lib -lbsd *-lz* -lm -ldebugger /home/nils/development/rtems/5/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: /home/nils/development/rtems/5/arm-rtems5/beagleboneblack/lib/librtemscpu.a(rtems-fdt.o): in function `rtems_fdt_load': /home/nils/development/src/rtems/c/src/../../cpukit/libmisc/rtems-fdt/rtems-fdt.c:555: undefined reference to `z_inflateInit_' /home/nils/development/rtems/5/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: /home/nils/development/src/rtems/c/src/../../cpukit/libmisc/rtems-fdt/rtems-fdt.c:557: undefined reference to `z_inflateReset2' /home/nils/development/rtems/5/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: /home/nils/development/src/rtems/c/src/../../cpukit/libmisc/rtems-fdt/rtems-fdt.c:559: undefined reference to `z_inflate' /home/nils/development/rtems/5/lib/gcc/arm-rtems5/7.4.1/../../../../arm-rtems5/bin/ld: /home/nils/development/src/rtems/c/src/../../cpukit/libmisc/rtems-fdt/rtems-fdt.c:561: undefined reference to `z_inflateEnd' collect2: error: ld returned 1 exit status """ Has anyone an idea why this won't build? Best, Nils Hölscher
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel