Unable to compile spu-medialib (svn r259)

"A collection of spu programs to accelerate media related applications for the CellBE ( PS3 ) platform" - unsolo

Moderator: unsolo

Post Reply
norox
Posts: 2
Joined: Sun Oct 26, 2008 5:43 am

Unable to compile spu-medialib (svn r259)

Post by norox »

Hi,

Having problem compiling spu-medialib from svn, out put from make:

make[1]: Leaving directory `/root/build/spu-medialib/src'
Making all in spu
make[1]: Entering directory `/root/build/spu-medialib/spu'
Making all in src
make[2]: Entering directory `/root/build/spu-medialib/spu/src'
make[2]: *** No rule to make target `spu_yuv2argb_scaler.', needed by `spu_yuv2argb_scaler'. Stop.
make[2]: Leaving directory `/root/build/spu-medialib/spu/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/build/spu-medialib/spu'
make: *** [all-recursive] Error 1

Any help would be appreciated.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

Sounds like the last person to edit the makefile used Windows/OSX. They seem to forget that only FAT/NTFS/HFS are case insensitive, so they don't check that the case used for paths or filenames matches the actual path or filename. Look in the makefile for the file indicated and alter the case to match.

Any time you see an error of the sort "no rule" or "can't find file" when you KNOW the file or rule is their is a sure sign that the case doesn't match. This is the only real problem when using BSD/linux to develop, and only an issue when working on projects that are originally done in Windows.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Post by J.F. »

J.F. wrote:Sounds like the last person to edit the makefile used Windows/OSX. They seem to forget that only FAT/NTFS/HFS are case insensitive, so they don't check that the case used for paths or filenames matches the actual path or filename. Look in the makefile for the file indicated and alter the case to match.

Any time you see an error of the sort "no rule" or "can't find file" when you KNOW the file or rule is there is a sure sign that the case doesn't match. This is the only real problem when using BSD/linux to develop, and only an issue when working on projects that are originally done in Windows.
norox
Posts: 2
Joined: Sun Oct 26, 2008 5:43 am

Post by norox »

Fixed
Makefile in spu/src has not set OBJEXT to anything
changed it to OBJEXT = o, and now it works.
unsolo
Posts: 155
Joined: Mon Apr 16, 2007 2:39 am
Location: OSLO Norway

Post by unsolo »

Makefile is created from configure and Makefile.in which is generated from Makefile.am..
there shouldnt be any formatting issues..
however your autotools may have parsed things wrong
Don't do it alone.
Post Reply