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:18:11 -0700

On Mon, May 17, 2010 at 7:10 PM, vikas gupta <vikas.iet_at_gmail.com> wrote:
> 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
>
Well, I modified the Makefile.test and now it compiles, fft-ffmpeg.c
as well, but it always gives errors as ICODE_ATTR.
Here is the compile log:-
fft-ffmpeg.c:408: parse error before `ICODE_ATTR'
fft-ffmpeg.c:408: warning: data definition has no type or storage class
make: *** [cooktest] Error 1
bash-2.05$ make -f Makefile.test
gcc -o cooktest main.o ffmpeg_bitstream.o cook.o rm.o mdct.c
fft-ffmpeg.c mdct2.o mdct_lookup.o
In file included from mdct.c:21:
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.
In file included from fft-ffmpeg.c:45:
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/cc5NReVh.o: In function `ff_imdct_half':
/var/tmp/cc5NReVh.o(.text+0xdc): undefined reference to `LIKELY'
/var/tmp/cc5NReVh.o(.text+0x294): undefined reference to `LIKELY'
/var/tmp/ccY1jPra.o: In function `pass':
/var/tmp/ccY1jPra.o(.text+0xc0): undefined reference to `LIKELY'
/var/tmp/ccY1jPra.o(.text+0xf8): undefined reference to `LIKELY'
collect2: ld returned 1 exit status
make: *** [cooktest] Error 1
bash-2.05$
Received on 2010-05-18

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy