Already stumbled upon the MSG_NOSIGNAL errors, added below to each file having an error
- Code: Select all
#define MSG_NOSIGNAL 0
Within xbmc.c, fixed some return statements.
This is where I ended up:
gcc -DX64 x64/fileio.o x64/linuxserio.o x64/lowlevel.o x64/server.o x64/errormessage.o x64/flashrom.o x64/webserver.o x64/xap.o x64/lanio.o x64/ascii.o x64/mce.o x64/xbmc.o x64/ccf.o -m64 -o irserver64
ld: warning: ignoring file x64/ccf.o, file was built for unsupported file format ( 0x7F 0x45 0x4C 0x46 0x02 0x01 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ) which is not the architecture being linked (x86_64): x64/ccf.o
Undefined symbols for architecture x86_64:
"_DecodeCCF", referenced from:
_ASCIIStoreCCF in fileio.o
_DBStoreCCFCode in fileio.o
_DoExecuteNetCommand in server.o
_xAP_ProcessHeader in xap.o
"_getdirentries_is_not_available_when_64_bit_inodes_are_in_effect", referenced from:
_ReadIRTransDirectory in fileio.o
_ReadIRDatabase in server.o
_GetHTMLFileList in ascii.o
"_raw_repeat", referenced from:
_InitCommunicationEx in lowlevel.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [irserver64] Error 1
Any help would be appreciated
