lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CALyraePxucQS2YvPc=+D+W6kX0sbY-C1ZsYZ+K6Q2QhuHaZvLQ@mail.gmail.com>
Date:	Sun, 19 Feb 2012 16:17:43 -0500
From:	Sri Ram Vemulpali <sri.ram.gmu06@...il.com>
To:	linux-kernel-mail <linux-kernel@...r.kernel.org>,
	linux-newbie@...r.kernel.org
Cc:	dhylands@...il.com
Subject: Re: Buildroot compilation error

found solution by doing this.

I added following lines of code in
libnl-3.0/lib/route/pktloc_grammer.h

#ifndef YY_BUF_SIZE
#define YY_BUF_SIZE 16384
#endif

#ifndef YY_STATE_BUF_SIZE
#define YY_STATE_BUF_SIZE ((YY_BUF_SIZE + 2) * sizeof(yy_state_type))
#endif

Thanks,
Sri

On 2/19/12, Sri Ram Vemulpali <sri.ram.gmu06@...il.com> wrote:
> 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.
>


-- 
Regards,
Sri.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ