Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754591Ab2BSQie (ORCPT ); Sun, 19 Feb 2012 11:38:34 -0500 Received: from mail-vw0-f46.google.com ([209.85.212.46]:49812 "EHLO mail-vw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754367Ab2BSQic convert rfc822-to-8bit (ORCPT ); Sun, 19 Feb 2012 11:38:32 -0500 MIME-Version: 1.0 Date: Sun, 19 Feb 2012 11:38:32 -0500 Message-ID: Subject: Buildroot compilation error From: Sri Ram Vemulpali To: linux-kernel-mail , linux-newbie@vger.kernel.org Cc: dhylands@gmail.com Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1450 Lines: 41 Hello All, I am using BuildRoot to compile my embedded linux and tool-chain. After compiling most of the packages and tool-chain I am getting following error. This occurs when compiling libnl-3.0 make[3]: Entering directory `/home/sriram/buildroot/buildroot-2011.11/output/build/libnl-3.0/lib' CC route/pktloc.lo route/pktloc.c: In function ?read_pktlocs?: route/pktloc.c:127:34: error: ?YY_BUF_SIZE? undeclared (first use in this function) route/pktloc.c:127:34: note: each undeclared identifier is reported only once for each function it appears in make[3]: *** [route/pktloc.lo] Error 1 make[3]: Leaving directory `/home/sriram/buildroot/buildroot-2011.11/output/build/libnl-3.0/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/sriram/buildroot/buildroot-2011.11/output/build/libnl-3.0/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/sriram/buildroot/buildroot-2011.11/output/build/libnl-3.0' make: *** [/home/sriram/buildroot/buildroot-2011.11/output/build/libnl-3.0/.stamp_built] Error 2 Can anyone please help me what is going on in compilation. Do I need to specify sysroot or path to lib. Thanks in advance for the help. -- Regards, Sri. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/