Hi Jerry, in libfdt_env.h there is fdt defined as: struct fdt_header *fdt; /* Pointer to the working fdt */ I think it should be declared "extern", because the file is included by more than one file. Or the declaration should be moved to cmd_fdt.c, because it's the only file actually using it. Wolfgang.