OK. Downloaded and installed all the extensions and it's deps:
tc@box:~$ tce-load -wi compiletc git cmake Xorg-7.7-3d-dev pulseaudio-dev cups-dev ffmpeg-dev gst-plugins-base-dev
The zipfile sourcecode i was using on previous posts, I downloaded directly from FreeRDP github repo to avoid installing tons of software. This machine i'm using to build freerdp is a "Connec EZ 810" thinclient(Brazilian Thinclient manufacturer), and it have only 500MB of storage
Now, i'm using exactly the same building options as you, except that i added the "WITH_PCSC" to enable smartcard loggin(another "must have" on our infrastructure), but the error still reproduces(also, withouth WITH_PCSC):
tc@box:~$ git clone git://github.com/FreeRDP/FreeRDP.git
Cloning into 'FreeRDP'...
remote: Counting objects: 87619, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 87619 (delta 0), reused 0 (delta 0), pack-reused 87616
Receiving objects: 100% (87619/87619), 27.18 MiB | 340 KiB/s, done.
Resolving deltas: 100% (66314/66314), done.
Checking out files: 100% (2168/2168), done.
tc@box:~$ cd FreeRDP/
tc@box:~/FreeRDP$ mkdir build
tc@box:~/FreeRDP$ cd build
tc@box:~/FreeRDP/build$ cmake -DCMAKE_C_FLAGS="-march=i486 -mtune=i686 -Os -pipe" -DCMAKE_CXX_FLAGS="-march=i486 -mtune=i686 -Os -pipe" -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release -DWITH_LIBSYSTEMD=OFF -DWITH_WAYLAND=OFF -DWITH_PULSE=ON -DWITH_CUPS=ON -DWITH_JPEG=ON -DWITH_X264=ON -DWITH_GSTREAMER_1_0=ON -DWITH_FFMPEG=ON -DWI
TH_SSE2=ON -DWITH_PCSC=ON ../
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/local/bin/cc
-- Check for working C compiler: /usr/local/bin/cc -- broken
CMake Error at /tmp/tcloop/cmake/usr/local/share/cmake-3.2/Modules/CMakeTestCCompiler.cmake:61 (message):
The C compiler "/usr/local/bin/cc" is not able to compile a simple test
program.
IF i change the /usr/local/bin/cc from gcc to tcc(Tiny C Compiler), the cc verification passes, but the c++ crashes with the same problem that it is not able to compile a simple test program.