On 27/10/2017 19:00, Axel wrote:
Hello,


in step 5.17. Bison-3.0.4I got this error in make check:


make[3]: Entering directory '/mnt/lfs/sources/bison-3.0.4'
  YACC     examples/calc++/calc++-parser.stamp
  CXX      examples/calc++/examples_calc___calc__-calc++-driver.o
  LEX      examples/calc++/calc++-scanner.cc
  CXX      examples/calc++/examples_calc___calc__-calc++-scanner.o
g++: error: ./examples/calc++/calc++-scanner.cc: No such file or directory
g++: fatal error: no input files
compilation terminated.
Makefile:4081: recipe for target 'examples/calc++/examples_calc___calc__-calc++-scanner.o' failed make[3]: *** [examples/calc++/examples_calc___calc__-calc++-scanner.o] Error 1
make[3]: Leaving directory '/mnt/lfs/sources/bison-3.0.4'
Makefile:4974: recipe for target 'check-am' failed
make[2]: *** [check-am] Error 2
make[2]: Leaving directory '/mnt/lfs/sources/bison-3.0.4'
Makefile:4522: recipe for target 'check-recursive' failed
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory '/mnt/lfs/sources/bison-3.0.4'
Makefile:4977: recipe for target 'check' failed
make: *** [check] Error 2


Further a lot of errors in bison config.log


lfs@lfshost:/mnt/lfs/sources/bison-3.0.4$ cat config.log | grep error
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
[...]


Maybe you have a tipp?


Yes: tests results in chapter 5 are not to be taken seriously (read 4.6 "About the Test Suites" again).

Now let us come to supposedly errors in configure. Actually configure tests the various possible compilers, linkers, libraries, etc. While doing that, it may encounter non existent compilers, etc, which makes the system tell that there is an error, as it should. For example in the "error" above, configure tests whether the C compiler accept -V. since the gcc compiler does not know that switch, it is normal that it returns an error. This does not stop configure, it just prompt it to try another test.

Real errors in configure stop it. So you'll know when something is really wrong.

Pierre
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to