I was having a similar problem. I am compiling v1.6 current.
I suspect you are missing some dependent modules. I have not found a good list and now that my copy is working, I will go back and see if I can id the required modules.
After ./config, you need make menuselect. That is where I was breaking down. If you don’t run that script then you get the defaults, not necessarily a bad thing. But by running it, you get a lot of info including some good debug info. That is where I found that I was missing GTK2.
The other point is you didn’t mention if you had already compiled dahdi and libpri.