I executed "sudo make -d" to see if I could determine if there were any errors during the make. Following are the last 23 lines. Note the errors for zlib.h:
Live child 0x00a22c20 (FileFactory.o) PID 18818
In file included from FileZip.h:29:0,
from FileFactory.cpp:61:
/usr/include/zlib.h:86:5: error: ‘z_const’ does not name a type
/usr/include/zlib.h:94:5: error: ‘z_const’ does not name a type
/usr/include/zlib.h:1324:29: error: ‘voidpc’ has not been declared
/usr/include/zlib.h:1332:32: error: expected initializer before ‘Z_ARG’
/usr/include/zlib.h:1656:5: error: ‘z_off64_t’ does not name a type
/usr/include/zlib.h:1731:15: error: ‘z_crc_t’ does not name a type
In file included from ../PlayList.h:23:0,
from FilePlaylist.h:6,
from FileFactory.cpp:70:
../FileItem.h: In constructor ‘MediaPart::MediaPart(int, const string&, int)’:
../FileItem.h:107:15: warning: ‘MediaPart::key’ will be initialized after [-Wreorder]
../FileItem.h:106:7: warning: ‘int MediaPart::duration’ [-Wreorder]
../FileItem.h:102:3: warning: when initialized here [-Wreorder]
Reaping losing child 0x00a22c20 PID 18818
typedef struct z_stream_s {
z_const Bytef *next_in; /* next input byte */
uInt avail_in; /* number of bytes available at next_in */
uLong total_in; /* total number of input bytes read so far */
Bytef *next_out; /* next output byte should be put there */
uInt avail_out; /* remaining free space at next_out */
uLong total_out; /* total number of bytes output so far */
z_const char *msg; /* last error message, NULL if no error */
struct internal_state FAR *state; /* not visible by applications */
alloc_func zalloc; /* used to allocate the internal state */
free_func zfree; /* used to free the internal state */
voidpf opaque; /* private data object passed to zalloc and zfree */
int data_type; /* best guess about the data type: binary or text */
uLong adler; /* adler32 value of the uncompressed data */
uLong reserved; /* reserved for future use */
} z_stream;
ZEXTERN int ZEXPORT gzwrite OF((gzFile file,
voidpc buf, unsigned len));
make[1]: *** [FileFactory.o] Error 1
Removing child 0x00a22c20 PID 18818 from chain.
make[1]: Leaving directory `/home/proteus/plex-linux/xbmc/FileSystem'
Reaping losing child 0x018b9220 PID 18808
make: *** [xbmc/FileSystem/filesystem.a] Error 2
Removing child 0x018b9220 PID 18808 from chain.
Here's the error lines from zlib.h highlighted in red:
typedef struct z_stream_s {
z_const Bytef *next_in; /* next input byte */ /* line 86 */
uInt avail_in; /* number of bytes available at next_in */
uLong total_in; /* total number of input bytes read so far */
Bytef *next_out; /* next output byte should be put there */
uInt avail_out; /* remaining free space at next_out */
uLong total_out; /* total number of bytes output so far */
z_const char *msg; /* last error message, NULL if no error */ /* line 94 */
struct internal_state FAR *state; /* not visible by applications */
alloc_func zalloc; /* used to allocate the internal state */
free_func zfree; /* used to free the internal state */
voidpf opaque; /* private data object passed to zalloc and zfree */
int data_type; /* best guess about the data type: binary or text */
uLong adler; /* adler32 value of the uncompressed data */
uLong reserved; /* reserved for future use */
} z_stream;
ZEXTERN int ZEXPORT gzwrite OF((gzFile file, /* line 1324 */
voidpc buf, unsigned len));
ZEXTERN int ZEXPORTVA gzprintf Z_ARG((gzFile file, const char *format, ...)); /* line 1332 */
#else
# define gzgetc(g) \
((g)->have ? ((g)->have--, (g)->pos++, *((g)->next)++) : gzgetc(g)) /* line 1656 */
#endif
/* undocumented functions */
ZEXTERN const char * ZEXPORT zError OF((int));
ZEXTERN int ZEXPORT inflateSyncPoint OF((z_streamp));
ZEXTERN const z_crc_t FAR * ZEXPORT get_crc_table OF((void)); /* line 1731 */
ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int));
Does anyone have any idea if this is what's causing xbmc.bin not to be built and, if so, can it be fixed?
Any help here is appreciated. Thanks.