Kodi Community Forum
[MAC] I waited my 24 and still no build lovin on OSX - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Kodi Application (https://forum.kodi.tv/forumdisplay.php?fid=93)
+--- Thread: [MAC] I waited my 24 and still no build lovin on OSX (/showthread.php?tid=54671)

Pages: 1 2


[MAC] I waited my 24 and still no build lovin on OSX - TheQuestor - 2009-07-15

make xcode_depends totally craps out on

bmp/bmp_cod.c:132: warning: incompatible implicit declaration of built-in function 'abort'
make[2]: *** [bmp/bmp_cod.o] Error 1
make[1]: *** [jasper/jasper.a] Error 2
make: *** [imagelib] Error 2

I even tried deleting the whole XBMC directory and download a clean copy from SVN but it still craps out in the exact same place. This stared more than 24 hours ago and I waited without posting, but now it is the 2nd day my OS X builds are not being posted Sad

http://pastebin.com/f3c745d2a

is the whole error and it says that there are missing files, but they are not missing.

xbmc/lib/cximage-6.0/jasper/include/jasper has all the missing files in it.


svn jas_debug.h jas_init.h jas_string.h jasper.h
jas_cm.h jas_fix.h jas_malloc.h jas_tmr.h
jas_config.h jas_getopt.h jas_math.h jas_tvp.h
jas_config.h.in jas_icc.h jas_seq.h jas_types.h
jas_config2.h jas_image.h jas_stream.h jas_version.h

And You guys all asked me never to muck with any of the code before building/relreasing so I did not nor will not so I have to ask you to help figure this mess out.

TIA

Craig


- davilla - 2009-07-15

Should be fixed by now (21693).


- TheQuestor - 2009-07-15

davilla Wrote:Should be fixed by now (21693).

awesome. I'll give it a shot here shortly. Sure my users will be happy too Smile


- TheQuestor - 2009-07-16

davilla Wrote:Should be fixed by now (21693).

it is still failing with the exact same error on 21711

bmp/bmp_cod.c:132: warning: implicit declaration of function 'abort'
bmp/bmp_cod.c:132: warning: incompatible implicit declaration of built-in function 'abort'
make[2]: *** [bmp/bmp_cod.o] Error 1
make[1]: *** [jasper/jasper.a] Error 2
make: *** [imagelib] Error 2

sigh Sad


- davilla - 2009-07-16

grrrr, checking again.

EDIT: Not sure what the problem might be. I "make reallyclean" to nuke my svn back to virgin. Then svn up to get to 21711. "configure", "make xcode_depends". That builds without error for me.


- TheQuestor - 2009-07-16

davilla Wrote:grrrr, checking again.

could it be my ccache causing this? and if so how do I flush the ccache cache Smile


- TheQuestor - 2009-07-16

TheQuestor Wrote:could it be my ccache causing this? and if so how do I flush the ccache cache Smile

Ok I just ran ccache -C and it is taking forever, and it didn't fix the issue Sad


- davilla - 2009-07-16

cd into xbmc/lib/cximage-6.0/jasper

make clean
make


do a search in the terminal window for "bmp_cod", post the compile line. For example, mine is;

Code:
gcc -MD -c -fPIC -fno-common -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/mysql5 -O2 -g -D_DEBUG -Wall -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_PCRE -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DHAVE_CONFIG_H  -I. -I/Users/Shared/xbmc/xbmc-display/xbmc -I/Users/Shared/xbmc/xbmc-display/xbmc/lib -I/Users/Shared/xbmc/xbmc-display/xbmc/osx -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/mysql5 -I/Users/Shared/xbmc/xbmc-display bmp/bmp_cod.c -o bmp/bmp_cod.o


Also, I don't run ccache at all, don't trust it.


- TheQuestor - 2009-07-16

Code:
/opt/local/bin/ccache gcc -MD -c -fPIC -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/mysql5 -O2 -g -D_DEBUG -Wall -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_PCRE -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DHAVE_CONFIG_H  -I. -I/Users/craig/xbmc/xbmc -I/Users/craig/xbmc/xbmc/lib -I/Users/craig/xbmc/xbmc/osx -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/mysql5 -I/Users/craig/xbmc bmp/bmp_cod.c -o bmp/bmp_cod.o



- davilla - 2009-07-16

and your error is after that line ?


- TheQuestor - 2009-07-16

davilla Wrote:and your error is after that line ?

http://pastebin.com/f1a24fb71


- TheQuestor - 2009-07-16

3.bmp/bmp_cod.c:76:30: error: jasper/jas_types.h: No such file or directory
4.bmp/bmp_cod.c:77:30: error: jasper/jas_image.h: No such file or directory
5.bmp/bmp_cod.c:78:31: error: jasper/jas_malloc.h: No such file or directory

but they ARE there

xbmc/lib/cximage-6.0/jasper/include/jasper/jas_types.h
xbmc/lib/cximage-6.0/jasper/include/jasper/jas_image.h
xbmc/lib/cximage-6.0/jasper/include/jasper/jas_malloc.h


- davilla - 2009-07-16

try that line without "/opt/local/bin/ccache". copy/paste it.


- TheQuestor - 2009-07-16

davilla Wrote:try that line without "/opt/local/bin/ccache". copy/paste it.

how do i do it without the ccache?

I tried just using

gcc -MD -c -fPIC -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/mysql5 -O2 -g -D_DEBUG -Wall -D_LINUX -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DINSTALL_PATH="\"/usr/local/share/xbmc\"" -DHAS_SDL_JOYSTICK -DHAS_PCRE -mmacosx-version-min=10.4 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DHAVE_CONFIG_H -I. -I/Users/craig/xbmc/xbmc -I/Users/craig/xbmc/xbmc/lib -I/Users/craig/xbmc/xbmc/osx -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/mysql5 -I/Users/craig/xbmc bmp/bmp_cod.c -o bmp/bmp_cod.o

and it had the same error


- davilla - 2009-07-16

svn up and try again. I've made a change.