Well , I have figured it out myself this time ...
I was building pine with the wrong option ... also I had to do ./build clean firts ..and then ./build
slx .. not lnx ...however ..now everything is working great ....
Thanks anyway ..I hope I helped someone