Comments (4)
Hi!
This is weird, since "LEX src/scan-code.c" was run before. Could you please run make V=1
, so that we get more details? And ls src
in your build dir.
TIA!
from bison.
So if I run make V=1:
/bin/bash ./build-aux/ylwrap src/scan-code.l .c src/scan-code.c -- :
/bin/bash ./build-aux/ylwrap src/scan-gram.l .c src/scan-gram.c -- :
/bin/bash ./build-aux/ylwrap src/scan-skel.l .c src/scan-skel.c -- :
/home/krablab/Documents/apps/anaconda3/bin/x86_64-conda_cos6-linux-gnu-cc -DEXEEXT=\"\" -I. -I./lib -I. -I./lib -DINSTALLDIR=\"/usr/local/bin\" -DNDEBUG -D_FORTIFY_SOURCE=2 -O2 -isystem /home/krablab/Documents/apps/anaconda3/include -I/home/krablab/Documents/apps/anaconda3/include -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/krablab/Documents/apps/anaconda3/include -MT src/bison-scan-code-c.o -MD -MP -MF src/.deps/bison-scan-code-c.Tpo -c -o src/bison-scan-code-c.o `test -f 'src/scan-code-c.c' || echo './'`src/scan-code-c.c
src/scan-code-c.c:3:10: fatal error: src/scan-code.c: No such file or directory
#include "src/scan-code.c"
^~~~~~~~~~~~~~~~~
compilation terminated.
and when I run ls src:
AnnotationList.c bison-print-xml.o InadequacyList.c reduce.c
AnnotationList.h bison-reader.o InadequacyList.h reduce.h
assoc.c bison-reduce.o lalr.c relation.c
assoc.h bison-relation.o lalr.h relation.h
bison-AnnotationList.o bison-Sbitset.o local.mk Sbitset.c
bison-assoc.o closure.c location.c Sbitset.h
bison-closure.o closure.h location.h scan-code-c.c
bison-complain.o complain.c lr0.c scan-code.h
bison-conflicts.o complain.h lr0.h scan-code.l
bison-counterexample.o conflicts.c lssi.c scan-gram-c.c
bison-derivation.o conflicts.h lssi.h scan-gram.h
bison-derives.o counterexample.c main.c scan-gram.l
bison-files.o counterexample.h muscle-tab.c scan-skel-c.c
bison-fixits.o derivation.c muscle-tab.h scan-skel.h
bison-getargs.o derivation.h named-ref.c scan-skel.l
bison-glyphs.o derives.c named-ref.h state.c
bison-gram.o derives.h nullable.c state.h
bison-graphviz.o files.c nullable.h state-item.c
bison-ielr.o files.h output.c state-item.h
bison-InadequacyList.o fixits.c output.h symlist.c
bison-lalr.o fixits.h parse-gram.c symlist.h
bison-location.o flex-scanner.h parse-gram.h symtab.c
bison-lr0.o getargs.c parse-gram.y symtab.h
bison-lssi.o getargs.h parse-simulation.c system.h
bison-main.o glyphs.c parse-simulation.h tables.c
bison-muscle-tab.o glyphs.h print.c tables.h
bison-named-ref.o gram.c print-graph.c uniqstr.c
bison-nullable.o gram.h print-graph.h uniqstr.h
bison-output.o graphviz.c print.h yacc
bison-parse-gram.o graphviz.h print-xml.c yacc.in
bison-parse-simulation.o i18n-strings.c print-xml.h
bison-print-graph.o ielr.c reader.c
bison-print.o ielr.h reader.h
Its looking like scan-code.c is not in the src but I directly downloaded it from this github using git clone.
from bison.
Your problem is:
/bin/bash ./build-aux/ylwrap src/scan-code.l .c src/scan-code.c -- :
/bin/bash ./build-aux/ylwrap src/scan-gram.l .c src/scan-gram.c -- :
/bin/bash ./build-aux/ylwrap src/scan-skel.l .c src/scan-skel.c -- :
The bad parts are .c
and :
. On my machine, I have:
/bin/sh /Users/akim/src/gnu/bison/build-aux/ylwrap /Users/akim/src/gnu/bison/src/scan-gram.l lex.yy.c src/scan-gram.c -- flex
So I guess configure did not find flex. Flex is not needed when you start from a tarball, but it is required if you start from git. Install it, and reconfigure.
Cheers!
from bison.
Worked great. Thank you!!
from bison.
Related Issues (20)
- Escaping dollar sign in a rule action
- Associating %prec with a rule without any occurrences of tokens
- [TC] Problem: Bad Variant Access errors are not explicit
- Request for latest release HOT 10
- Hello, if I want to print the full string content of the current child node, what do I need to do
- How to make the glr parser support multi-threading.
- question
- Cannot use C++ multiline raw strings in grammar file
- Compilation error: No rule to make target 'textstyle.h' HOT 2
- 3.8.2 testsuite segfault on armv6 HOT 3
- D skeleton file breaks recent D compilers with example code from manual HOT 6
- yynerrs unused-but-set-variable warning with Clang 15 HOT 2
- Can't build with conan, using clang compiler, having dependencies as shared libs HOT 4
- [BUG] reachable assertation in string_decode, bison HOT 1
- [BUG] abitset_set is reachable by crafted input, which cause the program abort HOT 1
- How to remove entries from the token list at runtime / from being passed to yysyntax_error? HOT 1
- [NonFetal Error]: use-of-uninitialized-value in bison(version 3.8.2.45, commit 25b3d0e1)
- No example code in the C++ examples HOT 2
- make fails HOT 9
- git shallow clone - error: Server does not allow request for unadvertised object - git.sv.gnu.org - git.savannah.gnu.org
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bison.