Today I compiled freerdp (www.freerdp.com) from the latest sources to connect to a rdp connection through a rdp-gateway.
Durring compilation I get the following error:
[ 0%] Building C object winpr/libwinpr/CMakeFiles/winpr.dir/synch/address.c.o
In file included from /usr/include/stdio.h:28:0,
/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory
make: *** [winpr/libwinpr/CMakeFiles/winpr.dir/synch/address.c.o] Error 1
make: *** [winpr/libwinpr/CMakeFiles/winpr.dir/all] Error 2
make: *** [all] Error 2
It was clear that the problem must be anywhere around the libc6 libraries, but where 🙂
Remove and install of libc6-dev, build-essential and gcc-multilib doesn’t help. But after many hourse (no a joke after some minutes) I found it.
Here are the solution (yes it can be so easy):
apt-get install –reinstall libc6-dev
have a nice day
(This was all done under Ubuntu 14.04 amd64)