From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Thu, 29 Sep 2011 18:09:35 +0200 Subject: [U-Boot] [2011.09-rc2] Fix for compile error with gcc3 In-Reply-To: References: Message-ID: <201109291809.35494.marek.vasut@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 On Thursday, September 29, 2011 02:13:28 PM rhabarber1848 wrote: > Hi, > > compiling U-Boot 2011.09-rc2 with gcc-3.4.6 fails with this error: > > In file included from u-boot-2011.09-rc2/include/linux/compiler.h:40, > from serial.c:29: > u-boot-2011.09-rc2/include/linux/compiler-gcc.h:87:30: > linux/compiler-gcc3.h: No such file or directory > > Adding compiler-gcc3.h from Linux kernel source to > u-boot-2011.09-rc2/include/linux/ fixes this gcc3-only problem. Hi, why do you still use gcc3, do you have any special reason for that ? Can you update to gcc4? Cheers