Skip to content

fails to compile on ubuntu 18.04 #92

@ubuntupunk

Description

@ubuntupunk

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions