All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Regarding global.h
  2003-06-23 16:57 Regarding global.h Sundaranathan S
@ 2003-06-23  7:50 ` Jaroslav Kysela
  2003-06-23 19:04   ` Sundaranathan S
  2003-06-26 14:24   ` Sundaranathan S
  0 siblings, 2 replies; 4+ messages in thread
From: Jaroslav Kysela @ 2003-06-23  7:50 UTC (permalink / raw)
  To: Sundaranathan S; +Cc: alsa-devel@alsa-project.org

On Mon, 23 Jun 2003, Sundaranathan S wrote:

> 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 Apr 2003 12:41:55 -0000	1.19
+++ global.h	23 Jun 2003 07:50:24 -0000
@@ -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 <perex@suse.cz>
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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Regarding global.h
@ 2003-06-23 16:57 Sundaranathan S
  2003-06-23  7:50 ` Jaroslav Kysela
  0 siblings, 1 reply; 4+ messages in thread
From: Sundaranathan S @ 2003-06-23 16:57 UTC (permalink / raw)
  To: alsa-devel@alsa-project.org

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Regarding global.h
  2003-06-23  7:50 ` Jaroslav Kysela
@ 2003-06-23 19:04   ` Sundaranathan S
  2003-06-26 14:24   ` Sundaranathan S
  1 sibling, 0 replies; 4+ messages in thread
From: Sundaranathan S @ 2003-06-23 19:04 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: alsa-devel@alsa-project.org

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

thanks,
-Sundaranathan
SIP Technologies & Exports Ltd

Jaroslav Kysela wrote:

> On Mon, 23 Jun 2003, Sundaranathan S wrote:
>
> > 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 Apr 2003 12:41:55 -0000      1.19
> +++ global.h    23 Jun 2003 07:50:24 -0000
> @@ -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 <perex@suse.cz>
> 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
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Regarding global.h
  2003-06-23  7:50 ` Jaroslav Kysela
  2003-06-23 19:04   ` Sundaranathan S
@ 2003-06-26 14:24   ` Sundaranathan S
  1 sibling, 0 replies; 4+ messages in thread
From: Sundaranathan S @ 2003-06-26 14:24 UTC (permalink / raw)
  To: Jaroslav Kysela; +Cc: alsa-devel@alsa-project.org

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.


Jaroslav Kysela wrote:

> On Mon, 23 Jun 2003, Sundaranathan S wrote:
>
> > 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 Apr 2003 12:41:55 -0000      1.19
> +++ global.h    23 Jun 2003 07:50:24 -0000
> @@ -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 <perex@suse.cz>
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-06-26  3:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-23 16:57 Regarding global.h Sundaranathan S
2003-06-23  7:50 ` Jaroslav Kysela
2003-06-23 19:04   ` Sundaranathan S
2003-06-26 14:24   ` Sundaranathan S

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.