This one happened when trying to compile the NX libs on my ubuntu server. Was was missing? The multilibs for gcc... sigh.
This resolves the issue:
sudo apt-get install gcc-multilib
Thanks a lot! I had the same problem and now it works! Cheers from Brazil.
Superb :-) It worked for me too. Thank you so much. It took 1 day looking at other sollution. finally got answer. :-)