irserver compile osx experience?

Software related support

Moderator: marcus

irserver compile osx experience?

Postby ihomeautomate » Sun 24. Dec 2017, 15:13

Does anyone have any experience compiling irserver from linux source (to be downloaded @ http://www.irtrans.de/de/download/linux.php) on osx?

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 :-).
www.iHomeAutomate.com
ihomeautomate
 
Posts: 2
Joined: Sun 17. Dec 2017, 17:01

Re: irserver compile osx experience?

Postby Barf » Tue 2. Jan 2018, 10:22

Code: Select all
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


This means that ccf.o is an object file for the wrong architecture.

IIRC, the file ccf.* is not available in source form. The irserver is not open source after all. If I am wrong, I will be happy to be corrected.
Barf
 
Posts: 12
Joined: Sat 26. Apr 2008, 09:15


Return to Software

Who is online

Users browsing this forum: No registered users and 1 guest

cron