|
From: Pavan D. <pav...@gm...> - 2012-05-27 03:21:51
|
Apologies for top posting. I had recently got XC to compile and run on Mac OSX. I don't have access to my sources right now, but I believe I had to hack one makefile to get this running. Will try to send a patch later today. Thanks, Pavan Sent from my iPhone On 27-May-2012, at 8:45 AM, Koichi Suzuki <koi...@gm...> wrote: > The missing symbol is defined in gtm/main/main.c and > gtm/proxy/proxy_main.c. This is not defined in .o files contained in > libgtm.a. > > So we need to tweak ranlib to allow symbols to be solved at ld. Do > you know how to do it in Mac OS? > > Regards; > ---------- > Koichi Suzuki > > > 2012/5/27 Nicola Vitacolonna <nvi...@gm...>: >> Hi all, >> I have tried to build v1.0beta2 on OS X 10.7.4, using gmake 3.82 and gcc >> 4.2.1, but the process fails at an early stage with: >> >> ar crs libgtm.a gtm_opt_scanner.o aset.o mcxt.o gtm_utils.o elog.o assert.o >> stringinfo.o gtm_lock.o gtm_list.o gtm_serialize.o gtm_serialize_debug.o >> gtm_opt_handler.o >> ranlib libgtm.a >> Undefined symbols for architecture x86_64: >> "_threadinfo_key", referenced from: >> _AllocSetContextCreate in aset.o >> _AllocSetAlloc in aset.o >> _AllocSetRealloc in aset.o >> _current_memcontext in mcxt.o >> _MemoryContextSwitchTo in mcxt.o >> _MemoryContextCreate in mcxt.o >> _MemoryContextInit in mcxt.o >> etc... >> >> Since the architecture (x86_64) is supported, I am just wondering whether >> there is something so specific to Linux platforms that it is impossible or >> very hard to port Postgres-XC to other OSes, or whether I am just missing >> something. >> >> Thanks in advance, >> Nicola >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> Postgres-xc-general mailing list >> Pos...@li... >> https://lists.sourceforge.net/lists/listinfo/postgres-xc-general >> > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general |