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



Rockbox mail archive

Subject: RE: libcook not working on Solaris

RE: libcook not working on Solaris

From: Mike Giacomelli <giac2000_at_hotmail.com>
Date: Mon, 17 May 2010 20:48:29 -0700

> 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$

Did  you remove the "-D"ICODE_ATTR=" from makefile?  Unless you're using some strange compiler, LIKELY should work, though you can -D"LIKELY=" to the makefile to remove it too.
Mike
_________________________________________________________________
The New Busy think 9 to 5 is a cute idea. Combine multiple calendars with Hotmail.
http://www.windowslive.com/campaign/thenewbusy?tile=multicalendar&ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_5
Received on 2010-05-18

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