* Flash 9
@ 2006-10-24 20:07 Lee Revell
2006-10-24 21:38 ` Juergen Hennerich
0 siblings, 1 reply; 6+ messages in thread
From: Lee Revell @ 2006-10-24 20:07 UTC (permalink / raw)
To: alsa-devel
Is it legal for a proprietary application to incorporate alsa-lib by
static linking? I thought this required an LGPL exception.
Because contrary to what Adobe says, this is what the new Flash 9 beta
does:
$ ldd .mozilla/plugins/libflashplayer.so | grep asound
$
$ strings .mozilla/plugins/libflashplayer.so | grep snd_
snd_pcm_open
snd_pcm_close
snd_pcm_start
snd_pcm_drop
snd_pcm_prepare
snd_pcm_resume
snd_pcm_hw_params_sizeof
snd_pcm_sw_params_sizeof
snd_pcm_status_sizeof
snd_pcm_info
snd_pcm_info_get_id
snd_pcm_info_get_name
snd_pcm_hw_params_any
snd_pcm_hw_params_set_access
snd_pcm_hw_params_set_format
snd_pcm_hw_params
snd_pcm_sw_params_current
snd_pcm_sw_params
Etc.
Lee
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Flash 9
2006-10-24 20:07 Flash 9 Lee Revell
@ 2006-10-24 21:38 ` Juergen Hennerich
2006-10-24 22:32 ` Lee Revell
2006-10-26 1:03 ` Måns Rullgård
0 siblings, 2 replies; 6+ messages in thread
From: Juergen Hennerich @ 2006-10-24 21:38 UTC (permalink / raw)
To: alsa-devel
Lee Revell schrieb:
> Is it legal for a proprietary application to incorporate alsa-lib by
> static linking? I thought this required an LGPL exception.
>
They'd have to provide the object files and a linker script to relink
the lib.
> Because contrary to what Adobe says, this is what the new Flash 9 beta
> does:
>
> $ ldd .mozilla/plugins/libflashplayer.so | grep asound
> $
>
> $ strings .mozilla/plugins/libflashplayer.so | grep snd_
> snd_pcm_open
> snd_pcm_close
> snd_pcm_start
> snd_pcm_drop
> snd_pcm_prepare
> snd_pcm_resume
> snd_pcm_hw_params_sizeof
> snd_pcm_sw_params_sizeof
> snd_pcm_status_sizeof
> snd_pcm_info
> snd_pcm_info_get_id
> snd_pcm_info_get_name
> snd_pcm_hw_params_any
> snd_pcm_hw_params_set_access
> snd_pcm_hw_params_set_format
> snd_pcm_hw_params
> snd_pcm_sw_params_current
> snd_pcm_sw_params
>
> Etc.
>
> Lee
>
Because you find those strings in the library, doesn't necessarily mean,
that there is code from libasound in this library.
-> man dlopen
Juergen
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Flash 9
2006-10-24 21:38 ` Juergen Hennerich
@ 2006-10-24 22:32 ` Lee Revell
2006-10-24 22:36 ` Prakash Punnoor
2006-10-26 1:03 ` Måns Rullgård
1 sibling, 1 reply; 6+ messages in thread
From: Lee Revell @ 2006-10-24 22:32 UTC (permalink / raw)
To: Juergen Hennerich; +Cc: alsa-devel
On Tue, 2006-10-24 at 23:38 +0200, Juergen Hennerich wrote:
> Because you find those strings in the library, doesn't necessarily
> mean, that there is code from libasound in this library.
>
> -> man dlopen
Ah, I see. Why would one use dlopen() for some libraries but regular
dynamic linking for others?
Lee
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Flash 9
2006-10-24 22:32 ` Lee Revell
@ 2006-10-24 22:36 ` Prakash Punnoor
2006-10-24 23:38 ` Juergen Hennerich
0 siblings, 1 reply; 6+ messages in thread
From: Prakash Punnoor @ 2006-10-24 22:36 UTC (permalink / raw)
To: alsa-devel; +Cc: Juergen Hennerich, Lee Revell
[-- Attachment #1.1: Type: text/plain, Size: 539 bytes --]
Am Mittwoch 25 Oktober 2006 00:32 schrieb Lee Revell:
> On Tue, 2006-10-24 at 23:38 +0200, Juergen Hennerich wrote:
> > Because you find those strings in the library, doesn't necessarily
> > mean, that there is code from libasound in this library.
> >
> > -> man dlopen
>
> Ah, I see. Why would one use dlopen() for some libraries but regular
> dynamic linking for others?
To not be dependant on the lib. The prog will still work in dlopen case.
--
(°= =°)
//\ Prakash Punnoor /\\
V_/ \_V
[-- Attachment #1.2: Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 373 bytes --]
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
[-- Attachment #3: Type: text/plain, Size: 161 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Flash 9
2006-10-24 22:36 ` Prakash Punnoor
@ 2006-10-24 23:38 ` Juergen Hennerich
0 siblings, 0 replies; 6+ messages in thread
From: Juergen Hennerich @ 2006-10-24 23:38 UTC (permalink / raw)
To: alsa-devel; +Cc: Lee Revell
Prakash Punnoor schrieb:
> Am Mittwoch 25 Oktober 2006 00:32 schrieb Lee Revell:
>> On Tue, 2006-10-24 at 23:38 +0200, Juergen Hennerich wrote:
>>> Because you find those strings in the library, doesn't necessarily
>>> mean, that there is code from libasound in this library.
>>>
>>> -> man dlopen
>> Ah, I see. Why would one use dlopen() for some libraries but regular
>> dynamic linking for others?
>
> To not be dependant on the lib. The prog will still work in dlopen case.
>
I guess, they could have achieved the same with weak linking. I don't
know if there are really any technical reasons to prefer dlopen/dlsym
over weak linking, or if that is just a matter of taste.
Juergen
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Flash 9
2006-10-24 21:38 ` Juergen Hennerich
2006-10-24 22:32 ` Lee Revell
@ 2006-10-26 1:03 ` Måns Rullgård
1 sibling, 0 replies; 6+ messages in thread
From: Måns Rullgård @ 2006-10-26 1:03 UTC (permalink / raw)
To: alsa-devel
Juergen Hennerich <juergen@hennerich.eu> writes:
> Lee Revell schrieb:
>> Is it legal for a proprietary application to incorporate alsa-lib by
>> static linking? I thought this required an LGPL exception.
>>
> They'd have to provide the object files and a linker script to relink
> the lib.
>
>> Because contrary to what Adobe says, this is what the new Flash 9 beta
>> does:
>>
>> $ ldd .mozilla/plugins/libflashplayer.so | grep asound
>> $
>>
>> $ strings .mozilla/plugins/libflashplayer.so | grep snd_
>> snd_pcm_open
>> snd_pcm_close
>> snd_pcm_start
>> snd_pcm_drop
>> snd_pcm_prepare
>> snd_pcm_resume
>> snd_pcm_hw_params_sizeof
>> snd_pcm_sw_params_sizeof
>> snd_pcm_status_sizeof
>> snd_pcm_info
>> snd_pcm_info_get_id
>> snd_pcm_info_get_name
>> snd_pcm_hw_params_any
>> snd_pcm_hw_params_set_access
>> snd_pcm_hw_params_set_format
>> snd_pcm_hw_params
>> snd_pcm_sw_params_current
>> snd_pcm_sw_params
>>
>> Etc.
>>
>> Lee
>>
> Because you find those strings in the library, doesn't necessarily mean,
> that there is code from libasound in this library.
>
> -> man dlopen
Flash player does use dlopen() so everything is fine.
--
Måns Rullgård
mru@inprovide.com
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2006-10-26 1:03 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-24 20:07 Flash 9 Lee Revell
2006-10-24 21:38 ` Juergen Hennerich
2006-10-24 22:32 ` Lee Revell
2006-10-24 22:36 ` Prakash Punnoor
2006-10-24 23:38 ` Juergen Hennerich
2006-10-26 1:03 ` Måns Rullgård
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.