-
Notifications
You must be signed in to change notification settings - Fork 144
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
Linker error when compiling latest master #193
Comments
possible duplicate of #190 |
same as me |
Hi, there Today i tried to build ympd, too. $ LANG=C git status
On branch master
Your branch is up to date with 'origin/master'.
nothing to commit, working tree clean
$ git describe
v1.0.1-170-g612f8fc
|
I've just patched something and it is building fine for me diff --git a/src/mpd_client.h b/src/mpd_client.h
index 447dd56..9fc55eb 100644
--- a/src/mpd_client.h
+++ b/src/mpd_client.h
@@ -96,9 +96,11 @@ struct t_mpd {
int song_id;
unsigned queue_version;
-} mpd;
+};
+
+extern struct t_mpd mpd;
-char dirble_api_token[28];
+extern char dirble_api_token[];
struct t_mpd_client_session {
int song_id;
diff --git a/src/ympd.c b/src/ympd.c
index 3aed7e6..2e23746 100644
--- a/src/ympd.c
+++ b/src/ympd.c
@@ -29,6 +29,8 @@
#include "mpd_client.h"
#include "config.h"
+char dirble_api_token[28];
+struct t_mpd mpd;
extern char *optarg;
int force_exit = 0;
|
Professional answers. Thank you so much. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, I'm running on debian unstable and I've just tried to build ympd master. Unfortunately I got the following linker error:
The text was updated successfully, but these errors were encountered: