-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Description
Hello, as mentioned I'm getting the above error when compiling alsa-lib 1.2.10. Full error below.
In file included from ../../include/local.h:177,
from control_local.h:22,
from control.c:188:
control.c: In function 'snd_ctl_open_conf':
../../include/global.h:98:36: warning: implicit declaration of function '__STRING' [-Wimplicit-function-declaratio]
98 | #define SND_DLSYM_VERSION(version) __STRING(version)
| ^~~~~~~~
control.c:1541:25: note: in expansion of macro 'SND_DLSYM_VERSION'
1541 | SND_DLSYM_VERSION(SND_CONTROL_DLSYM_VERSION), 1);
| ^~~~~~~~~~~~~~~~~
../../include/control.h:43:41: error: '_dlsym_control_001' undeclared (first use in this function)
43 | #define SND_CONTROL_DLSYM_VERSION _dlsym_control_001
| ^~~~~~~~~~~~~~~~~~
../../include/global.h:98:45: note: in definition of macro 'SND_DLSYM_VERSION'
98 | #define SND_DLSYM_VERSION(version) __STRING(version)
| ^~~~~~~
control.c:1541:43: note: in expansion of macro 'SND_CONTROL_DLSYM_VERSION'
1541 | SND_DLSYM_VERSION(SND_CONTROL_DLSYM_VERSION), 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../../include/control.h:43:41: note: each undeclared identifier is reported only once for each function it appears in
43 | #define SND_CONTROL_DLSYM_VERSION _dlsym_control_001
| ^~~~~~~~~~~~~~~~~~
../../include/global.h:98:45: note: in definition of macro 'SND_DLSYM_VERSION'
98 | #define SND_DLSYM_VERSION(version) __STRING(version)
| ^~~~~~~
control.c:1541:43: note: in expansion of macro 'SND_CONTROL_DLSYM_VERSION'
1541 | SND_DLSYM_VERSION(SND_CONTROL_DLSYM_VERSION), 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:415: control.lo] Error 1
I have tried to understand the reason this occurs. This doesn't happen when compiling version 1.2.9, yet I also can't understand how and where the declaration is for that version.
Metadata
Metadata
Assignees
Labels
No labels