Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Re: libcook not working on Solaris

Re: libcook not working on Solaris

From: vikas gupta <vikas.iet_at_gmail.com>
Date: Mon, 17 May 2010 19:10:52 -0700

On Mon, May 17, 2010 at 7:01 PM, Mike Giacomelli <giac2000_at_hotmail.com> wrote:
>
>> 2) With latest svn r26016, standalone application couldn't be
>> compiled, so many undefined reference w.r.t mdct library. Did anyone
>> ever tried building standalone program with latest built.
>
> I can confirm it doesn't work.  Part of the problem is that it still tries to compile the old mdct lib, while we now use fft-ffmpeg.c and mdct.c in place of mdct2.c.  However it still fails on some #includes if I update the makefile.  I'm not really sure what the best way is to fix that, though I guess for your purposes you could just edit out the includes it doesn't like.

I tried doing it. Infact I copied all the files from lib and librm
together, and modified the makefile to include mdct.c as well, but it
doesn't work. It gives me the following errors.
codeclib.h:160: warning: `struct mp3entry' declared inside parameter list
codeclib.h:160: warning: its scope is only this definition or
declaration, which is probably not what you want.
/var/tmp/ccVjDSec.o: In function `ff_imdct_half':
/var/tmp/ccVjDSec.o(.text+0xdc): undefined reference to `LIKELY'
/var/tmp/ccVjDSec.o(.text+0x294): undefined reference to `LIKELY'
/var/tmp/ccVjDSec.o(.text+0x430): undefined reference to `ff_fft_calc_c'
collect2: ld returned 1 exit status
make: *** [cooktest] Error 1
Received on 2010-05-18


Page was last modified "Jan 10 2012" The Rockbox Crew
aaa