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

Build error while compiling on Fedora 40 #4

Open
ycollet opened this issue Mar 27, 2024 · 0 comments
Open

Build error while compiling on Fedora 40 #4

ycollet opened this issue Mar 27, 2024 · 0 comments

Comments

@ycollet
Copy link

ycollet commented Mar 27, 2024

I am trying to build alsacap on Fedora 40 and met a build error:

make[1]: Leaving directory '/builddir/build/BUILD/alsacap-master/src'
alsacap.c: In function ‘main’:
alsacap.c:129:23: error: implicit declaration of function ‘isdigit’ [-Wimplicit-function-declaration]
  129 |       if( !argpar || !isdigit(*argpar) ) errnumarg('C');
      |                       ^~~~~~~
alsacap.c:34:1: note: include ‘<ctype.h>’ or provide a declaration of ‘isdigit’
   33 | #include <alsa/asoundlib.h>
  +++ |+#include <ctype.h>
   34 | #include <errno.h>
alsacap.c:159:35: error: implicit declaration of function ‘parse_alsaformat’; did you mean ‘parse_alsaformats’? [-Wimplicit-function-declaration]
  159 |       options.hwparams[hwpind++]= parse_alsaformat(argpar);
      |                                   ^~~~~~~~~~~~~~~~
      |                                   parse_alsaformats
alsacap.c: At top level:
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