I've had -Illegal instruction- errors on my previous VIA mini-itx board
as well. The problem was caused by the C3 processor not implementing
certain optional i586 instructions. 

Could you compile the code yourself? This would be the default
procedure I guess:

    
-  Download the source code from sourceforge
  http://sourceforge.net/projects/softsqueeze/ . Look for file
  -squeezeslave-0.8-22-src.tar.bz2-
-  unpack with: -tar xvjf squeezeslave-0.8-22-src.tar.bz2-
-  Go into the unpacked directory: -cd squeezeslave-0.8-22-
-  Use the ALSA linux-2.6 based makefile: -cp makefile.linux26-alsa
  Makefile-
-  Build it: -make-
  

If everything goes well your executable is
-squeezeslave-0.8-22/bin/squeezeslave-alsa-

I hereby assume you have a linux2.6 kernel with ALSA running. The
procedure above didn't work flawless on my machine though (fedora core
10). The build script tries to link against the static libraries
-/usr/lib/libmad.a /usr/lib/libFLAC.a /usr/lib/libvorbisfile.a
/usr/lib/libvorbis.a /usr/lib/libogg.a-, but my system has shared
libraries (which I prefer).

So if your build script fails, try the following. First make sure you
have the required libraries. Use your package installer -apt-get- (on
Fedora I use -yum-).

    
-  -apt-get install libmad libmad-devel flac flac-devel libvorbis
  libvorbis-devel libogg libogg-devel-
  

Then, edit Makefile and change two things:

    
-  Change --march=i686- to --march=c3- (assuming you have the C3
  processor on your VIA board, for my C7 I use --march=c3-2-)
-  Change the .a files (-/usr/lib/libmad.a /usr/lib/libFLAC.a
  /usr/lib/libvorbisfile.a /usr/lib/libvorbis.a /usr/lib/libogg.a-) to
  .so (-/usr/lib/libmad.so /usr/lib/libFLAC.so
  /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so-)
  

Then do a clean recompile;

    
-  -make clean-
-  -make-
  

Good luck and let me know if it fails...

Many projects are a lot simpler to build because people provide a
-configure- script instead of different -Makefile-s. It would be nice
if somebody set up a better build procedure for this project (I've
never looked into this myself though).


-- 
ivy
------------------------------------------------------------------------
ivy's Profile: http://forums.slimdevices.com/member.php?userid=22914
View this thread: http://forums.slimdevices.com/showthread.php?t=57746

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/unix

Reply via email to