Still no luck
I tried the following:
I removed the jack installed through the yum install and instead installed the jack obtained through the download from the digium site. It compiled fine.
I also compiled the libresample from the downloaded version from digium site and this also compiled fine.
Next, I compiled Asterisk and everything compiled fine with the app_jack.so file being saved in /usr/lib/asterisk/modules directory.
However, the application Jack still did not register.
Next I removed the complete installation of Asterisk and downloaded the latest version from Digium site and repeated the whole procedure. The app_jack.c is compiling without any error/warning whatsoever and the new .so file is getting saved in the modules directory but the application is still not registering.
Any clue as to what could be missing here?