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

compile error in ubuntu 16.10 #63

Closed
dimovnike opened this issue Dec 8, 2017 · 0 comments
Closed

compile error in ubuntu 16.10 #63

dimovnike opened this issue Dec 8, 2017 · 0 comments

Comments

@dimovnike
Copy link

dimovnike commented Dec 8, 2017

when compiling in ubuntu 16.10 I get this error:

nbd-client.c: In function ‘usage’:
nbd-client.c:861:38: error: ‘PROG_NAME’ undeclared (first use in this function)
fprintf(stderr, "%s version %s\n", PROG_NAME, PACKAGE_VERSION);
^~~~~~~~~
nbd-client.c:861:38: note: each undeclared identifier is reported only once for each function it appears in
nbd-client.c: In function ‘main’:
nbd-client.c:1067:36: error: ‘PROG_NAME’ undeclared (first use in this function)
printf("This is %s, from %s\n", PROG_NAME, PACKAGE_STRING);
^~~~~~~~~
Makefile:737: recipe for target 'nbd_client-nbd-client.o' failed
make[2]: *** [nbd_client-nbd-client.o] Error 1
make[2]: Leaving directory '/home/nick/src/nbd'
Makefile:822: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/nick/src/nbd'
Makefile:472: recipe for target 'all' failed
make: *** [all] Error 2

@yoe yoe closed this as completed in 00cef30 Dec 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant