routerunner;686636 Wrote:
> Hi Ralph,
>
> I've updated with the latest code from the head of SVN and made a
> makefile to compile for Linux 2.4.26 armv4 with a quite old version of
> GCC 2.95.3 and I found a couple of bugs:
>
> 1) Vorbis v1.3.2 the "os.h" line 41 the conditional compilation should
> add a test for __GNUC__ as well.
>
> 2) ps_unix_oss.c at line 38 it doesn't compile with the version of
> compiler I'm using, so I changed in a more generic way as follow:
>
> #ifdef __FREEBSD__
> #include <sys/soundcard.h>
> #else
> #include <linux/soundcard.h> /* JH20010905 */
> #endif
>
> Also, I cannot daemonize the player in Linux 2.4.26, but works fine in
> Linux 2.6.30 and 2.6.33-5, any clues?
>
> thanks and keep up the good work
> Eddy
The empeg version of squeezeslave uses gcc 2.95.3 and we don't
encounter those errors.
For the ARM processor you should be using the tremor decoder instead of
vorbis.
contrib/makefile.linux26-armel-nofpu-oss-display should be the closest
to what will work. You should only need to change 2 lines.
Line 3
Code:
--------------------
OS=lnx26
to
OS=lnx24
--------------------
Line 11
Code:
--------------------
CFLAGS=-DRENICE -DSLIMPROTO_DEBUG -DDAEMONIZE -DUSE_SIGNALS_FOR_RESTART
-DNO_FPU -Wall -O2
to
CFLAGS=-DRENICE -DSLIMPROTO_DEBUG -DDAEMONIZE -DNO_FPU -Wall -O3 -march=armv4
--------------------
--
ralphy
Ralphy
*1*-Touch, *4*-Classics, *2*-Booms, *12*-Squeezeslaves
'Squeezeslave' (http://code.google.com/p/squeezeslave/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezeslave¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=83362
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss