> From: "Cliff McDiarmid" <cliffhan...@gardener.com> > Date: Wed, 5 Oct 2016 20:35:36 +0200 > Subject: [blfs-support] Solid failure in Frameworks-5.25.0 > > Hi > > Does anyone know what's causing this when building Solid as part of > Frameworks? Or has anyone seen this before? > > > [ 40%] Building C object > src/solid/CMakeFiles/KF5Solid_static.dir/predicate_lexer.c.o > /mnt/home/cliffys/frameworks-5.26.0/solid-5.25.0/build/src/solid/predicate_lexer.c: > In function âSolidensure_buffer_stackâ: > /mnt/home/cliffys/frameworks-5.26.0/solid-5.25.0/build/src/solid/predicate_lexer.c:1587:21: > error: C++ style comments are not allowed in ISO C90 > num_to_alloc = 1; // After all that talk, this was set to 1 anyways... > ^
Dealing with the info 'in isolation' - haven't gone back and looked at book pages: either: ==== * change that line, in: /mnt/home/cliffys/frameworks-5.26.0/solid-5.25.0/build/src/solid/predicate_lexer.c , to: num_to_alloc = 1; /* After all that talk, this was set to 1 anyways... */ But you might hit similar issue in other files: so ref following option, below. * or: tell the compiler to use an appropriate C version later than 'ISO C90'; or at least to be relaxed about such '// ...' comment styles. ==== > /mnt/home/cliffys/frameworks-5.26.0/solid-5.25.0/build/src/solid/predicate_lexer.c:1587:21: > error: (this will be reported only once per input file) > At top level: > /mnt/home/cliffys/frameworks-5.26.0/solid-5.25.0/build/src/solid/predicate_lexer.c:1277:16: > warning: âinputâ defined but not used [-Wunused-function] > static int input (yyscan_t yyscanner) > ^~~~~ > src/solid/CMakeFiles/KF5Solid_static.dir/build.make:962: recipe for target > 'src/solid/CMakeFiles/KF5Solid_static.dir/predicate_lexer.c.o' failed > make[2]: *** [src/solid/CMakeFiles/KF5Solid_static.dir/predicate_lexer.c.o] > Error 1 > CMakeFiles/Makefile2:2456: recipe for target > 'src/solid/CMakeFiles/KF5Solid_static.dir/all' failed > make[1]: *** [src/solid/CMakeFiles/KF5Solid_static.dir/all] Error 2 > Makefile:127: recipe for target 'all' failed > make: *** [all] Error 2 > > It's part of another attempt at a working KF5. > hth, akh -- -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page