Skip to contentSkip to conversation

Regarding global.h

DISCUSSION Sundaranathan S 2 participants 4 messages Jun 23, 2003 – Jun 26, 2003

lore
Share & tools
lore
#0 lore raw

Hi All,

While compiling ALSA libraries i am getting an error which is
stated below

control.c: In function `snd_ctl_open_conf':
control.c:581: `_dlsym_control_001' undeclared
(first use in this function)
control.c:581: (Each undeclared identifier is
reported only once

Can anyone let me know how to solve this problem and also please explain what does __STRING(version) in global.h means.

thanks in advance,
Sundaranathan
SIP Technologies & Exports Ltd.

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

#1 lore raw
Quoted 10 lines · Sundaranathan S

Hi All,

While compiling ALSA libraries i am getting an error which is
stated below

control.c: In function `snd_ctl_open_conf':
control.c:581: `_dlsym_control_001' undeclared
(first use in this function)
control.c:581: (Each undeclared identifier is
reported only once

Could you try this patch?

Index: global.h
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/include/global.h,v retrieving revision 1.19

global.h +5 -0
diff -u -r1.19 global.h
@@ -84,6 +84,11 @@
 
 #endif
 
+#ifndef __STRING
+/** \brief Return 'x' argument as string */
+#define __STRING(x)     #x
+#endif
+
 /** \brief Returns the version of a dynamic symbol as a string. */
 #define SND_DLSYM_VERSION(version) __STRING(version)
 

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

#2 lore raw

thanks .... I will try that and let you know ....

thanks,
-Sundaranathan
SIP Technologies & Exports Ltd

Quoted 42 lines · Jaroslav Kysela
Quoted 10 lines · Sundaranathan S

Hi All,

While compiling ALSA libraries i am getting an error which is
stated below

control.c: In function `snd_ctl_open_conf':
control.c:581: `_dlsym_control_001' undeclared
(first use in this function)
control.c:581: (Each undeclared identifier is
reported only once

Could you try this patch?

Index: global.h
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/include/global.h,v retrieving revision 1.19
diff -u -r1.19 global.h

global.h 23 Jun 2003 07:50:24 -0000 renamed from global.h 23 Apr 2003 12:41:55 -0000 1.19 +5 -0
@@ -84,6 +84,11 @@
 
 #endif
 
+#ifndef __STRING
+/** \brief Return 'x' argument as string */
+#define __STRING(x)     #x
+#endif
+
 /** \brief Returns the version of a dynamic symbol as a string. */
 #define SND_DLSYM_VERSION(version) __STRING(version)
 

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

Quoted 9 lines

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Alsa-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php

#3 lore raw
In reply to Jaroslav Kysela

Hi Jaroslav Kysela,

thanks a lot for your reply. Now i am able to get rid of the errors
and installed. Can you please tell me how do i test the libraries. I went through the documentation in the site but i was not able to get. Please can you tell me how do i test these installed libraries.

thanks in advance,
Sundaranathan S
SIP Technologies & Exports Ltd.

Quoted 35 lines · Jaroslav Kysela
Quoted 10 lines · Sundaranathan S

Hi All,

While compiling ALSA libraries i am getting an error which is
stated below

control.c: In function `snd_ctl_open_conf':
control.c:581: `_dlsym_control_001' undeclared
(first use in this function)
control.c:581: (Each undeclared identifier is
reported only once

Could you try this patch?

Index: global.h
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/include/global.h,v retrieving revision 1.19
diff -u -r1.19 global.h

global.h 23 Jun 2003 07:50:24 -0000 renamed from global.h 23 Apr 2003 12:41:55 -0000 1.19 +5 -0
@@ -84,6 +84,11 @@
 
 #endif
 
+#ifndef __STRING
+/** \brief Return 'x' argument as string */
+#define __STRING(x)     #x
+#endif
+
 /** \brief Returns the version of a dynamic symbol as a string. */
 #define SND_DLSYM_VERSION(version) __STRING(version)
 
Quoted 6 lines

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php