From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerry Van Baren Date: Tue, 26 Aug 2008 22:04:30 -0400 Subject: [U-Boot] libfdt/fdt_ro.c build issues... In-Reply-To: <20080827001315.35445248C3@gemini.denx.de> References: <20080827001315.35445248C3@gemini.denx.de> Message-ID: <48B4B62E.5000301@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Wolfgang Denk wrote: > Dear Kumar, > > there are build problems with libfdt/fdt_ro.c : > > ... > tools/fdt_ro.c: In function 'fdt_path_offset': > tools/fdt_ro.c:158: warning: implicit declaration of function 'fdt_getprop_namelen' > tools/fdt_ro.c:158: warning: assignment makes pointer from integer without a cast > tools/fdt_ro.c: At top level: > tools/fdt_ro.c:281: error: conflicting types for 'fdt_getprop_namelen' > tools/fdt_ro.c:158: error: previous implicit declaration of 'fdt_getprop_namelen' was here > ... > > ...dor all boards. > > If you have time, could you please have a look? > > Best regards, > > Wolfgang Denk ??? I'm not seeing this, even with a fresh pull from the u-boot repository. The function is declared in include/libfdt.h, properly in my copy. libfdt/fdt_ro.c includes... #ifndef USE_HOSTCC #include #include #else #include "fdt_host.h" #endif and then fdt_host.h includes libfdt.h... /* Make sure to include u-boot version of libfdt include files */ #include "../include/fdt.h" #include "../include/libfdt.h" #include "../include/fdt_support.h" Best regards, gvb