Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nbee compilation failure on gramm.y #218

Closed
basus opened this issue Apr 14, 2016 · 3 comments
Closed

Nbee compilation failure on gramm.y #218

basus opened this issue Apr 14, 2016 · 3 comments

Comments

@basus
Copy link

@basus basus commented Apr 14, 2016

I'm trying to compile Netbee and I run into a compilation error when trying to compile gramm.y. I'm getting following error multiple times:

gramm.y: In function ‘int pfl_parse(ParserInfo*)’:
gramm.y:282:69: error: ‘pfl_lloc’ was not declared in this scope
gramm.y:300:85: error: ‘pfl_lloc’ was not declared in this scope
          SymbolField *field = CheckField(parserInfo, (char*)field_no_star.c_str(), &pfl_lloc);

It seems like pfl_lloc is undefined. Is this something that should be defined in the Netbee source, or does it come from a library somewhere?

@Lineson

This comment has been minimized.

Copy link

@Lineson Lineson commented May 27, 2016

Because you have missed the following steps before you compiling in nbee/src: Just launch scripts in the following order in nbee directroy:
$ createbin.sh
$ createdoc.sh
$ createdevpack.sh
$ createsrc.sh

@basus

This comment has been minimized.

Copy link
Author

@basus basus commented May 27, 2016

Thanks, that suggestion worked. Perhaps that should be put in the README under the section about building NetBee?

@basus basus closed this May 27, 2016
@fredericoschardong

This comment has been minimized.

Copy link

@fredericoschardong fredericoschardong commented Sep 8, 2016

If anyone is having the same problem and Lineson's steps didn't do any good, try this: https://wiki.onosproject.org/display/ONOS/CPqD+1.3+switch+on+recent+Ubuntu+versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.