* mpg123 rpms, need testing
@ 1999-03-07 17:07 Peter Petrakis
1999-03-07 18:51 ` norvierk
0 siblings, 1 reply; 6+ messages in thread
From: Peter Petrakis @ 1999-03-07 17:07 UTC (permalink / raw)
To: axp-list@redhat.com
[-- Attachment #1: Type: text/plain, Size: 757 bytes --]
Hi All,
I've built two sets of rpms of mpg123-0.59q-1 built with the static
cpml
library, -mieee, and ev4 ev56 respectivly. First curiousity is the
player takes about 8% cpu usage but besides that everything was going
fine, until X crashed.
I also got internal compiler errors at the same time I was using the
mpg123 player too, odd no? I've attached the strace output from the
mpg123 core. Is this releated to using cpml or is the program not Alpha
friendly? I've uploaded these rpms to
ftp://ftp.alphalinux.org/pub/AXP/contrib/apps/ . Thanks.
Peter
--
www.alphalinux.org
Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org
http://math.stcc.mass.edu/petrakis
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."
[-- Attachment #2: mpg123.trace.bz2 --]
[-- Type: application/octet-stream, Size: 1705 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mpg123 rpms, need testing
1999-03-07 17:07 mpg123 rpms, need testing Peter Petrakis
@ 1999-03-07 18:51 ` norvierk
1999-03-07 19:55 ` mpg123 diff (Re: mpg123 rpms, need testing) Daniel J. Frasnelli
1999-03-07 20:05 ` mpg123 rpms, need testing Peter Petrakis
0 siblings, 2 replies; 6+ messages in thread
From: norvierk @ 1999-03-07 18:51 UTC (permalink / raw)
To: axp-list@redhat.com
On Sun, 7 Mar 1999, Peter Petrakis wrote:
> Hi All,
> I've built two sets of rpms of mpg123-0.59q-1 built with the static
> cpml
> library, -mieee, and ev4 ev56 respectivly. First curiousity is the
> player takes about 8% cpu usage but besides that everything was going
> fine, until X crashed.
> I also got internal compiler errors at the same time I was using the
> mpg123 player too, odd no? I've attached the strace output from the
> mpg123 core. Is this releated to using cpml or is the program not Alpha
> friendly? I've uploaded these rpms to
> ftp://ftp.alphalinux.org/pub/AXP/contrib/apps/ . Thanks.
Is it legal to distributed binaries compiled against a static library whose
license prevents redistribution?
Randall
^ permalink raw reply [flat|nested] 6+ messages in thread
* mpg123 diff (Re: mpg123 rpms, need testing)
1999-03-07 18:51 ` norvierk
@ 1999-03-07 19:55 ` Daniel J. Frasnelli
1999-03-08 1:53 ` Michal Jaegermann
1999-03-07 20:05 ` mpg123 rpms, need testing Peter Petrakis
1 sibling, 1 reply; 6+ messages in thread
From: Daniel J. Frasnelli @ 1999-03-07 19:55 UTC (permalink / raw)
To: axp-list
> Is it legal to distributed binaries compiled against a static library whose
> license prevents redistribution?
Chances are good, no. I'd have to spend time deciphering the legalese to
make a reasonable guess, though.
Here is the patch against mpg123-0.59o (with axp mods)
that I sent Peter. Simple modification of the Makefile, assumes static
libcpml installed under /usr/local/lib/.
Enjoy.
------------------------------------------------------------------
--- pristine/Makefile Sun Jul 12 17:56:03 1998
+++ mpg123-0.59o/Makefile Sun Mar 7 10:30:20 1999
@@ -84,7 +84,7 @@
CFLAGS='-DLINUX -DOSS -DREAL_IS_FLOAT -Wall -DREAD_MMAP \
-fomit-frame-pointer -funroll-loops \
-finline-functions -ffast-math \
- -Wall -O3' \
+ -Wall -O3 -mieee' \
mpg123-make
linux-ppc:
@@ -269,7 +269,7 @@
$(CC) $(CFLAGS) $(LDFLAGS) mpg123.o tabinit.o common.o layer1.o \
layer2.o layer3.o audio.o buffer.o decode_2to1.o equalizer.o \
decode_4to1.o getlopt.o httpget.o xfermem.o decode_ntom.o \
- $(OBJECTS) -o $(BINNAME) -lm $(AUDIO_LIB)
+ $(OBJECTS) -o $(BINNAME) /usr/local/lib/libcpml.a $(AUDIO_LIB)
mpg123.exe: mpg123.o common.o $(OBJECTS) decode_2to1.o decode_4to1.o \
tabinit.o audio.o layer1.o layer2.o layer3.o buffer.o \
--
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mpg123 rpms, need testing
1999-03-07 18:51 ` norvierk
1999-03-07 19:55 ` mpg123 diff (Re: mpg123 rpms, need testing) Daniel J. Frasnelli
@ 1999-03-07 20:05 ` Peter Petrakis
1 sibling, 0 replies; 6+ messages in thread
From: Peter Petrakis @ 1999-03-07 20:05 UTC (permalink / raw)
To: axp-list@redhat.com
> Is it legal to distributed binaries compiled against a static library whose
> license prevents redistribution?
http://www.unix.digital.com/linux/license.htm
Under clause 4 "restrictions" it say's "You may not rent, lease, or
otherwise transfer the Software. You may not make the Software available
over the internet or similar networking technology. You may not remove
any copyright, trademark, or other proprietary notices from the Software
or the media. You may not reverse engineer, decompile, or disassemble
the Software, except to the extent COMPAQ cannot prohibit such acts by
law."
This refers to the library and says nothing about staticly linked
binaries.
I can't find anything else in this document that say's otherwise. Under
clause 2
I can argue that this rpm is for testing purposes so I meet that
requirement. I really don't see a problem with it. I'll remove it if
requested to do so but I don't think that'll happen cuz everything is
legal. So try it out :)
Peter
--
www.alphalinux.org
Peter Petrakis Warrior/Engineer ppetrakis@alphalinux.org
http://math.stcc.mass.edu/petrakis
"<BLAM!!> Who the hell are you!? Name's Ash <click clock> Housewares..."
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mpg123 diff (Re: mpg123 rpms, need testing)
1999-03-07 19:55 ` mpg123 diff (Re: mpg123 rpms, need testing) Daniel J. Frasnelli
@ 1999-03-08 1:53 ` Michal Jaegermann
1999-03-08 2:08 ` Daniel J. Frasnelli
0 siblings, 1 reply; 6+ messages in thread
From: Michal Jaegermann @ 1999-03-08 1:53 UTC (permalink / raw)
To: axp-list
> - $(OBJECTS) -o $(BINNAME) -lm $(AUDIO_LIB)
> + $(OBJECTS) -o $(BINNAME) /usr/local/lib/libcpml.a $(AUDIO_LIB)
^^^^^
Shudder!!! Don't hardwire location of libraries that way in Makefiles.
This is **stupid**! You will find yourself why in not so distant
future.
First of all your compiler, nearly certainly, searches /usr/local/lib
so -lcpml would be just great. The second, if /usr/local/lib is
not searched by a compiler (not bloody likely) you can always ask
for that using -L option.
Michal
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: mpg123 diff (Re: mpg123 rpms, need testing)
1999-03-08 1:53 ` Michal Jaegermann
@ 1999-03-08 2:08 ` Daniel J. Frasnelli
0 siblings, 0 replies; 6+ messages in thread
From: Daniel J. Frasnelli @ 1999-03-08 2:08 UTC (permalink / raw)
To: axp-list; +Cc: Daniel J. Frasnelli
> Shudder!!! Don't hardwire location of libraries that way in Makefiles.
> This is **stupid**! You will find yourself why in not so distant
> future.
Uhm... there are instances where you want to specify the absolute
path of a static library, as you will find out in the not so distant future.
> First of all your compiler, nearly certainly, searches /usr/local/lib
> so -lcpml would be just great. The second, if /usr/local/lib is
> not searched by a compiler (not bloody likely) you can always ask
> for that using -L option.
I have two versions of libcpml on my system, one static and one
shared. Both are located in /usr/local/lib/. Peter also has the
same situation. The shared libcpml has some 'issues', as I'm sure you are
aware. As mentioned in my message, this patch was sent to Peter,
so he could compile mpg123 linked against a static libcpml. There
are some cflags/ldopt(?) parameters I could set to get around this,
but my assumption is that Pete does not have the same setup on his end.
You need to read closely and consider before jumping all
over someone. I've only been hacking around with Un*x since 1992, so
perhaps you may consider me a 'newbie' or something.
Regards,
Daniel
--
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-03-08 2:13 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-07 17:07 mpg123 rpms, need testing Peter Petrakis
1999-03-07 18:51 ` norvierk
1999-03-07 19:55 ` mpg123 diff (Re: mpg123 rpms, need testing) Daniel J. Frasnelli
1999-03-08 1:53 ` Michal Jaegermann
1999-03-08 2:08 ` Daniel J. Frasnelli
1999-03-07 20:05 ` mpg123 rpms, need testing Peter Petrakis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox