.rodata can not be used when making a PIE object

It solves my problem, except that I also followed the solution of makedev problem in this post: Building failure on Ubuntu. Thank you a lot.