From: Koichi S. <koi...@gm...> - 2012-04-12 00:43:32
|
It seems that you added CPP source file, not C source. Because Postgres-XC does not assume to have CPP source, it does not include rules to produce .o from .cpp. You may have to write these rules in Makefile manually. Also, you need to add $(OTHERS) files to be included in cc command argument to be included. If you're going to replace register_gtm.c with register_gtm.cpp, you may need some more tweaks of Makefile. Regards; ---------- Koichi Suzuki 2012年4月12日9:12 Tejeswar Mupparti <tej...@ho...>: > Hi, > > In my recent experiments with GTM, I made some changes to the file > > "gtm/recovery/register_gtm.cpp" > > and called > > gtm> make > > to build the "gtm binary" with my latest changes, but later realized it's > not picking up my chnages to any of the files made under "gtm/recovery" > directory. It looks like the depenedency > link in Makefile is missing > >> gtm:$(OBJS) <---- Original > --- > < gtm:$(OBJS) $(OTHERS) <-- works > > > p.s. I'm not a Makefile expert :), but just hacked it this way, please let > me know if I'm not setting up my codeline incorrect. > > Thanks > Teja > > ------------------------------------------------------------------------------ > For Developers, A Lot Can Happen In A Second. > Boundary is the first to Know...and Tell You. > Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! > http://p.sf.net/sfu/Boundary-d2dvs2 > _______________________________________________ > Postgres-xc-general mailing list > Pos...@li... > https://lists.sourceforge.net/lists/listinfo/postgres-xc-general > |