Closed shivshankardayal closed 7 years ago
Hi,
my understanding is that you have a old version of usp_compile.sh somewhere builded with a different version of g++, please check... The command line option inside usp_compile.sh are builded together with ULib configuration so it is not possible build of ULib go clean and usp_compile.sh instead not...
Bests Stefano
As Stefano was saying, when you built ULib, it checked your C++ compiler and it's version, and then generate certain USP compile time flags accordingly.
Those flags it's not finding are all warning type flags of one type or another, see how they start with "-W".
So there is a mismatch between the version of g++ you just tried compiling the USP wirh, and the version ULib found at compile time.
Check the output of your ./configure, that will say where it was found and what version. Also check your alias of g++ and see where that points.
You can also see the environment variable CXX before running ./configure, to point ULib at a specific version of g++
On a new Linux installation I downloaded ULib 1.4.2 release. Build and install went clean. However, I am still having problems with usp file compilation.
usp_compile.sh
is located in /usr/local/bin. userver_tcp works fine but I am unable to compile any usp file.