Error when compiling libtiff-model
Hello
I met some errors when compiling libtiff-model
clang: error: unsupported option '-V -Xclang' configure:4132: $? = 1 configure:4121: /home/hunter/protest/NestFuzz/ipl-modeling/install/test-clang -qversion >&5 clang: error: unknown argument '-qversion'; did you mean '--version'?
Is this related to the clang version? (I use clang 10) How to fix these errors?
What is your libtiff version or commit? may be you need re autogen it.
Libtiff version is 4.6.0. Is this the same version you're testing?
I checked it on the latest version. Can you provide the config.log ?
OK, this is the config.log.
config.log
The logs show that the error is coming from clang, as shown in the top image.
Maybe it's a problem with the llvm installation. I installed it directly using apt-get install. I'm compiling and installing it from source code.
After compiling and installing clang-10 from source code, I still face the same error.
clang: error: unsupported option '-V -Xclang'
Does clang support the -V option?
Hello Mech0n:
I finally compiled the program by adding the --host=x86 option.
CC=/home/echo/NestFuzz/ipl-modeling/install/test-clang CXX=/home/echo/NestFuzz/ipl-modeling/install/test-clang++ ./configure --disable-shared --host=x86
But ,I don't know why.
This is the reason. configure will ignore the check for -qversion and -V .
configure is generated by autogen.sh. so mybe you need re run it.
I know why the --host option is needed, and I also get it from the logs. I'm just wondering, why do I need it while other people don't? Is it because of the development environment? I ran the whole experiment on ubuntu 20.04.
You can connect us : [email protected]