From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-la0-x22d.google.com ([2a00:1450:4010:c03::22d]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YE0rI-00026P-4P for ptxdist@pengutronix.de; Wed, 21 Jan 2015 20:22:32 +0100 Received: by mail-la0-f45.google.com with SMTP id gd6so18388372lab.4 for ; Wed, 21 Jan 2015 11:22:26 -0800 (PST) MIME-Version: 1.0 Date: Wed, 21 Jan 2015 14:22:26 -0500 Message-ID: From: Jon Ringle Subject: [ptxdist] Problems building libnl3 Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1858442731==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" --===============1858442731== Content-Type: multipart/alternative; boundary=001a11c3cb04c7aec0050d2e795e --001a11c3cb04c7aec0050d2e795e Content-Type: text/plain; charset=UTF-8 After updating to ptxdist-2015-01.0, I am having a problem build libnl3. I tried rebuilding host-flex, hoping this might do the trick, but it did not help. Any ideas? Jon ---------------------- target: libnl3.compile ---------------------- make[1]: Entering directory `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25' Making all in include make[2]: Entering directory `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/include' Making all in lib make[2]: Entering directory `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib' make all-am make[3]: Entering directory `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib' CC route/route_utils.lo CC route/route.lo CC route/rtnl.lo CC version.lo CC route/tc.lo CC route/route_obj.lo CC route/rule.lo CC route/classid.lo CC route/cls/fw.lo CC route/cls/basic.lo CC route/cls/cgroup.lo CC route/act/mirred.lo CC route/cls/ematch/container.lo CC route/cls/police.lo CC route/cls/u32.lo CC route/cls/ematch.lo CC route/cls/ematch/cmp.lo CC route/cls/ematch/nbyte.lo CC route/cls/ematch/meta.lo CC route/link/api.lo CC route/cls/ematch/text.lo route/cls/ematch.c: In function 'rtnl_ematch_parse_expr': route/cls/ematch.c:635:2: error: unknown type name 'YY_BUFFER_STATE' YY_BUFFER_STATE buf = NULL; ^ route/cls/ematch.c:635:24: warning: initialization makes integer from pointer without a cast [enabled by default] YY_BUFFER_STATE buf = NULL; ^ route/cls/ematch.c:636:2: error: unknown type name 'yyscan_t' yyscan_t scanner = NULL; ^ route/cls/ematch.c:636:21: warning: initialization makes integer from pointer without a cast [enabled by default] yyscan_t scanner = NULL; ^ route/cls/ematch.c:644:2: warning: implicit declaration of function 'ematch_lex_init' [-Wimplicit-function-declaration] if ((err = ematch_lex_init(&scanner)) < 0) { ^ route/cls/ematch.c:649:2: warning: implicit declaration of function 'ematch__scan_string' [-Wimplicit-function-declaration] buf = ematch__scan_string(expr, scanner); ^ route/cls/ematch.c:651:2: warning: passing argument 1 of 'ematch_parse' makes pointer from integer without a cast [enabled by default] if ((err = ematch_parse(scanner, errp, &tree->et_list)) != 0) { ^ route/cls/ematch.c:629:12: note: expected 'void *' but argument is of type 'int' extern int ematch_parse(void *, char **, struct nl_list_head *); ^ route/cls/ematch.c:652:3: warning: implicit declaration of function 'ematch__delete_buffer' [-Wimplicit-function-declaration] ematch__delete_buffer(buf, scanner); ^ route/cls/ematch.c:657:2: warning: implicit declaration of function 'ematch_lex_destroy' [-Wimplicit-function-declaration] ematch_lex_destroy(scanner); ^ make[3]: *** [route/cls/ematch.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... CC route/link/vlan.lo make[3]: Leaving directory `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25' make: *** [/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/state/libnl3.compile] Error 2 --001a11c3cb04c7aec0050d2e795e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
After updating to ptxdist-2015-01.0, I am having a problem= build libnl3. I tried rebuilding host-flex, hoping this might do the trick= , but it did not help.
Any ideas?

Jon
=
----------------------
target: libnl3.compile=
----------------------

make[1]: Enterin= g directory `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-E= C1K/build-target/libnl-3.2.25'
Making all in include
make[2]: Entering directory `/home/local/GRIDPOINT/jringle/code/gpec/ec1k= -rootfs/platform-EC1K/build-target/libnl-3.2.25/include'
make= [2]: Nothing to be done for `all'.
make[2]: Leaving directory= `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-t= arget/libnl-3.2.25/include'
Making all in lib
make[= 2]: Entering directory `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs= /platform-EC1K/build-target/libnl-3.2.25/lib'
make =C2=A0all-= am
make[3]: Entering directory `/home/local/GRIDPOINT/jringle/cod= e/gpec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 route/route_utils.lo
=C2=A0 CC = =C2=A0 =C2=A0 =C2=A0 route/route.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2= =A0 route/rtnl.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 version.lo
=
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 route/tc.lo
=C2=A0 CC =C2=A0 = =C2=A0 =C2=A0 route/route_obj.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 r= oute/rule.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 route/classid.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 route/cls/fw.lo
=C2=A0 CC = =C2=A0 =C2=A0 =C2=A0 route/cls/basic.lo
=C2=A0 CC =C2=A0 =C2=A0 = =C2=A0 route/cls/cgroup.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 route/a= ct/mirred.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 route/cls/ematch/cont= ainer.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 route/cls/police.lo
=
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 route/cls/u32.lo
=C2=A0 CC = =C2=A0 =C2=A0 =C2=A0 route/cls/ematch.lo
=C2=A0 CC =C2=A0 =C2=A0 = =C2=A0 route/cls/ematch/cmp.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 rou= te/cls/ematch/nbyte.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 route/cls/e= match/meta.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 route/link/api.lo
=C2=A0 CC =C2=A0 =C2=A0 =C2=A0 route/cls/ematch/text.lo
r= oute/cls/ematch.c: In function 'rtnl_ematch_parse_expr':
= route/cls/ematch.c:635:2: error: unknown type name 'YY_BUFFER_STATE'= ;
=C2=A0 YY_BUFFER_STATE buf =3D NULL;
=C2=A0 ^
route/cls/ematch.c:635:24: warning: initialization makes integer from po= inter without a cast [enabled by default]
=C2=A0 YY_BUFFER_STATE = buf =3D NULL;
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
route/cls/ematch.c:636:2: er= ror: unknown type name 'yyscan_t'
=C2=A0 yyscan_t scanner= =3D NULL;
=C2=A0 ^
route/cls/ematch.c:636:21: warning:= initialization makes integer from pointer without a cast [enabled by defau= lt]
=C2=A0 yyscan_t scanner =3D NULL;
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^
rout= e/cls/ematch.c:644:2: warning: implicit declaration of function 'ematch= _lex_init' [-Wimplicit-function-declaration]
=C2=A0 if ((err = =3D ematch_lex_init(&scanner)) < 0) {
=C2=A0 ^
r= oute/cls/ematch.c:649:2: warning: implicit declaration of function 'ema= tch__scan_string' [-Wimplicit-function-declaration]
=C2=A0 bu= f =3D ematch__scan_string(expr, scanner);
=C2=A0 ^
rout= e/cls/ematch.c:651:2: warning: passing argument 1 of 'ematch_parse'= makes pointer from integer without a cast [enabled by default]
= =C2=A0 if ((err =3D ematch_parse(scanner, errp, &tree->et_list)) != =3D 0) {
=C2=A0 ^
route/cls/ematch.c:629:12: note: expe= cted 'void *' but argument is of type 'int'
=C2= =A0extern int ematch_parse(void *, char **, struct nl_list_head *);
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^
route/cls/ematch.c= :652:3: warning: implicit declaration of function 'ematch__delete_buffe= r' [-Wimplicit-function-declaration]
=C2=A0 =C2=A0ematch__del= ete_buffer(buf, scanner);
=C2=A0 =C2=A0^
route/cls/emat= ch.c:657:2: warning: implicit declaration of function 'ematch_lex_destr= oy' [-Wimplicit-function-declaration]
=C2=A0 ematch_lex_destr= oy(scanner);
=C2=A0 ^
make[3]: *** [route/cls/ematch.lo= ] Error 1
make[3]: *** Waiting for unfinished jobs....
= =C2=A0 CC =C2=A0 =C2=A0 =C2=A0 route/link/vlan.lo
make[3]: Leavin= g directory `/home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-E= C1K/build-target/libnl-3.2.25/lib'
make[2]: *** [all] Error 2=
make[2]: Leaving directory `/home/local/GRIDPOINT/jringle/code/g= pec/ec1k-rootfs/platform-EC1K/build-target/libnl-3.2.25/lib'
= make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `= /home/local/GRIDPOINT/jringle/code/gpec/ec1k-rootfs/platform-EC1K/build-tar= get/libnl-3.2.25'
make: *** [/home/local/GRIDPOINT/jringle/co= de/gpec/ec1k-rootfs/platform-EC1K/state/libnl3.compile] Error 2
=

--001a11c3cb04c7aec0050d2e795e-- --===============1858442731== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1858442731==--