From: Koichi S. <ko...@in...> - 2012-04-12 04:42:11
|
If you mena register_gtm.c, not register_gtm.cpp, then you don't need to modify Makefile unless you're using another module. --- Koichi Suzuki On Thu, 12 Apr 2012 12:43:24 +0900 Michael Paquier <mic...@gm...> wrote: > On Thu, Apr 12, 2012 at 9:12 AM, Tejeswar Mupparti <tej...@ho...>wrote: > > > Hi, > > > > In my recent experiments with GTM, I made some changes to the file > > > > "gtm/recovery/register_gtm.cpp" > > > Neither PostgreSQL nor Postgres-XC have c++ files. I am sure you are > talking about register_gtm.c. > > > > > > > and called > > > > gtm> make > > > Is it a make done from the folder src/gtm, or the folder src/gtm/main. > In src/gtm/main, recovery library is referenced already so it should be > enough with the current structure, or I am missing smth. > > > > 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. > > > I am not sure what you are trying to achieve, if you can provide a patch > though... > -- > Michael Paquier > http://michael.otacoo.com |