How should one compile the target tools like bareboxenv-target etc. I get the following error: ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make -C debian/build make: Entering directory '/home/user/MyProjects/oss/bootloaders/barebox-upstream/debian/build' make[3]: 'include/generated/mach-types.h' is up to date. Using /home/user/MyProjects/oss/bootloaders/barebox-upstream as source for kernel GEN /home/user/MyProjects/oss/bootloaders/barebox-upstream/debian/build/Makefile CHK include/generated/version.h CHK include/generated/utsrelease.h CREATE include/config.h CC scripts/bareboxenv-target /tmp/cc0VGmDE.o: In function `file_action': /home/user/MyProjects/oss/bootloaders/barebox-upstream/scripts/../common/environment.c:119: undefined reference to `xzalloc' /tmp/cc0VGmDE.o: In function `concat_path_file': /home/user/MyProjects/oss/bootloaders/barebox-upstream/scripts/bareboxenv.c:79: undefined reference to `xmalloc' /tmp/cc0VGmDE.o: In function `envfs_save': /home/user/MyProjects/oss/bootloaders/barebox-upstream/scripts/../common/environment.c:291: undefined reference to `xzalloc' /tmp/cc0VGmDE.o: In function `envfs_load': /home/user/MyProjects/oss/bootloaders/barebox-upstream/scripts/../common/environment.c:594: undefined reference to `xmalloc' collect2: error: ld returned 1 exit status /home/user/MyProjects/oss/bootloaders/barebox-upstream/scripts/Makefile:58: recipe for target 'scripts/bareboxenv-target' failed make[3]: *** [scripts/bareboxenv-target] Error 1 /home/user/MyProjects/oss/bootloaders/barebox-upstream/Makefile:426: recipe for target 'scripts' failed make[2]: *** [scripts] Error 2 Makefile:123: recipe for target '_all' failed make[1]: *** [_all] Error 2 Makefile:24: recipe for target '__sub-make' failed make: *** [__sub-make] Error 2 Yegor _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox