-
Notifications
You must be signed in to change notification settings - Fork 43
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
fails to compile on ubuntu 18.04 #92
Comments
You can overcome the compilation error without editing the code if you have gcc6 installed by compiling with
(note this is with both optional libs on on 20.04) I haven't tried to investigate this yet, and I'll probably just throw a print in there to see what data we're trying to parse (or whatever is going wrong) and fail to fix it. I expect it's some kind of API change since it's a slightly different service to ye olde lastfm. |
Ok yup so
The first time it is called, it segfaults because the response it receives is not json. I've attached the XML content of the response. Now we find out, can we still get a json response, and if so, is it what we're expecting, and if not, how well can we patch this up? :) |
In file included from main.c:23:0:
./include/util.h:11:19: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier]
extern const char const * plain_md5(const char *);
^~~~~
main.c: In function ‘main’:
main.c:250:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
dup(null);
^~~~~~~~~
main.c:251:3: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
dup(null);
^~~~~~~~~
main.c:463:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write(np, output, strlen(output));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libshellfm.a(play.o): In function
output': play.c:(.text+0x156): undefined reference to
scale'play.c:(.text+0x185): undefined reference to `scale'
collect2: error: ld returned 1 exit status
Makefile:45: recipe for target 'shell-fm' failed
make[1]: *** [shell-fm] Error 1
make[1]: Leaving directory '/home/afropunk/Code/Radio/shell-fm/source'
Makefile:12: recipe for target
The text was updated successfully, but these errors were encountered: