-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hi.
I'm trying to compile libjpeg, but I had following error.
I also tried in tcpdump, and it produced same error.
How to solve this problem?
error message when compiling libjpeg
$ CC=/home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-clang-fast ./configure && make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for gcc... /home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-clang-fast
checking whether the C compiler works... no
configure: error: in `/home/seclab0070/fuzzer/target/libjpeg-turbo':
configure: error: C compiler cannot create executables
See `config.log' for more details
config.log in libjpeg
his file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libjpeg-turbo configure 1.5.2, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = iitp2227
uname -m = x86_64
uname -r = 5.15.0-58-generic
uname -s = Linux
uname -v = #64~20.04.1-Ubuntu SMP Fri Jan 6 16:42:31 UTC 2023
/usr/bin/uname -p = x86_64
/bin/uname -X = unknown
/bin/arch = x86_64
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /home/seclab0070/.vscode-server/bin/b3e4e68a0bc097f0ae7907b217c1119af9e03435/bin/remote-cli
PATH: /home/seclab0070/.local/bin
PATH: /home/seclab0070/.local/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/games
PATH: /usr/local/games
PATH: /snap/bin
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2685: checking for a BSD-compatible install
configure:2753: result: /usr/bin/install -c
configure:2764: checking whether build environment is sane
configure:2819: result: yes
configure:2968: checking for a thread-safe mkdir -p
configure:3007: result: /usr/bin/mkdir -p
configure:3014: checking for gawk
configure:3044: result: no
configure:3014: checking for mawk
configure:3030: found /usr/bin/mawk
configure:3041: result: mawk
configure:3052: checking whether make sets $(MAKE)
configure:3074: result: yes
configure:3103: checking whether make supports nested variables
configure:3120: result: yes
configure:3259: checking whether make supports nested variables
configure:3276: result: yes
configure:3295: checking whether make supports the include directive
configure:3310: make -f confmf.GNU && cat confinc.out
this is the am__doit target
configure:3313: $? = 0
configure:3332: result: yes (GNU style)
configure:3402: checking for gcc
configure:3429: result: /home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-clang-fast
configure:3658: checking for C compiler version
configure:3667: /home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-clang-fast --version >&5
clang version 10.0.0-4ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
configure:3678: $? = 0
configure:3667: /home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-clang-fast -v >&5
clang version 10.0.0-4ubuntu1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/11
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-linux-gnu/9
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/11
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/8
Found candidate GCC installation: /usr/lib/gcc/x86_64-linux-gnu/9
... rest of stderr output deleted ...
configure:3678: $? = 1
configure:3667: /home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-clang-fast -V >&5
clang: error: unsupported option '-V -D__AFL_HAVE_MANUAL_CONTROL=1'
configure:3678: $? = 1
configure:3667: /home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-clang-fast -qversion >&5
clang: error: unknown argument '-qversion'; did you mean '--version'?
configure:3678: $? = 1
configure:3698: checking whether the C compiler works
configure:3720: /home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-clang-fast conftest.c >&5
error: unable to load plugin '/home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-llvm-pass.so': '/home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-llvm-pass.so: undefined symbol: _ZN4llvm23EnableABIBreakingChecksE'
configure:3724: $? = 1
configure:3762: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libjpeg-turbo"
| #define PACKAGE_TARNAME "libjpeg-turbo"
| #define PACKAGE_VERSION "1.5.2"
| #define PACKAGE_STRING "libjpeg-turbo 1.5.2"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "libjpeg-turbo"
| #define VERSION "1.5.2"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3767: error: in `/home/seclab0070/fuzzer/target/libjpeg-turbo':
configure:3769: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-clang-fast
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_JAR_set=
ac_cv_env_JAR_value=
ac_cv_env_JAVACFLAGS_set=
ac_cv_env_JAVACFLAGS_value=
ac_cv_env_JAVAC_set=
ac_cv_env_JAVAC_value=
ac_cv_env_JAVA_set=
ac_cv_env_JAVA_value=
ac_cv_env_JNI_CFLAGS_set=
ac_cv_env_JNI_CFLAGS_value=
ac_cv_env_JPEG_LIB_VERSION_set=
ac_cv_env_JPEG_LIB_VERSION_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_NASM_set=
ac_cv_env_NASM_value=
ac_cv_env_PKGNAME_set=
ac_cv_env_PKGNAME_value=
ac_cv_env_PKG_CONFIG_LIBDIR_set=
ac_cv_env_PKG_CONFIG_LIBDIR_value=
ac_cv_env_PKG_CONFIG_PATH_set=
ac_cv_env_PKG_CONFIG_PATH_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_SO_MAJOR_VERSION_set=
ac_cv_env_SO_MAJOR_VERSION_value=
ac_cv_env_SO_MINOR_VERSION_set=
ac_cv_env_SO_MINOR_VERSION_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=mawk
ac_cv_prog_ac_ct_CC=/home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-clang-fast
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/seclab0070/fuzzer/target/libjpeg-turbo/missing aclocal-1.16'
AMDEPBACKSLASH='\'
AMDEP_FALSE='#'
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='0'
AM_V='$(V)'
AR=''
AUTOCONF='${SHELL} /home/seclab0070/fuzzer/target/libjpeg-turbo/missing autoconf'
AUTOHEADER='${SHELL} /home/seclab0070/fuzzer/target/libjpeg-turbo/missing autoheader'
AUTOMAKE='${SHELL} /home/seclab0070/fuzzer/target/libjpeg-turbo/missing automake-1.16'
AWK='mawk'
BUILD=''
CC='/home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-clang-fast'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CYGPATH_W='echo'
DEBARCH=''
DEFS=''
DEPDIR='.deps'
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
JAR=''
JAVA=''
JAVAC=''
JAVACFLAGS=''
JAVA_RPM_CONTENTS_1=''
JAVA_RPM_CONTENTS_2=''
JNI_CFLAGS=''
JPEG_LIB_VERSION=''
JPEG_LIB_VERSION_DECIMAL=''
LD=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_CURRENT=''
LIPO=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /home/seclab0070/fuzzer/target/libjpeg-turbo/missing makeinfo'
MANIFEST_TOOL=''
MEM_SRCDST_FUNCTIONS=''
MKDIR_P='/usr/bin/mkdir -p'
NAFLAGS=''
NASM=''
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libjpeg-turbo'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='libjpeg-turbo'
PACKAGE_STRING='libjpeg-turbo 1.5.2'
PACKAGE_TARNAME='libjpeg-turbo'
PACKAGE_URL=''
PACKAGE_VERSION='1.5.2'
PATH_SEPARATOR=':'
PKGNAME=''
PKG_CONFIG=''
PKG_CONFIG_LIBDIR=''
PKG_CONFIG_PATH=''
RANLIB=''
RPMARCH=''
RPM_CONFIG_ARGS=''
SED=''
SET_MAKE=''
SHELL='/bin/bash'
SIMD_ARM_64_FALSE=''
SIMD_ARM_64_TRUE=''
SIMD_ARM_FALSE=''
SIMD_ARM_TRUE=''
SIMD_I386_FALSE=''
SIMD_I386_TRUE=''
SIMD_MIPS_FALSE=''
SIMD_MIPS_TRUE=''
SIMD_POWERPC_FALSE=''
SIMD_POWERPC_TRUE=''
SIMD_X86_64_FALSE=''
SIMD_X86_64_TRUE=''
SO_AGE=''
SO_MAJOR_VERSION=''
SO_MINOR_VERSION=''
STRIP=''
VERSION='1.5.2'
VERSION_SCRIPT_FALSE=''
VERSION_SCRIPT_FLAG=''
VERSION_SCRIPT_TRUE=''
WITH_12BIT_FALSE=''
WITH_12BIT_TRUE=''
WITH_ARITH_DEC_FALSE=''
WITH_ARITH_DEC_TRUE=''
WITH_ARITH_ENC_FALSE=''
WITH_ARITH_ENC_TRUE=''
WITH_ARITH_FALSE=''
WITH_ARITH_TRUE=''
WITH_JAVA=''
WITH_JAVA_FALSE=''
WITH_JAVA_TRUE=''
WITH_SIMD_FALSE=''
WITH_SIMD_TRUE=''
WITH_SSE_FLOAT_DCT_FALSE=''
WITH_SSE_FLOAT_DCT_TRUE=''
WITH_TURBOJPEG_FALSE=''
WITH_TURBOJPEG_TRUE=''
X86_64_FALSE=''
X86_64_TRUE=''
ac_ct_AR=''
ac_ct_CC='/home/seclab0070/fuzzer/MTFuzz/ec_pass/afl-clang-fast'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include='include'
am__isrc=''
am__leading_dot='.'
am__nodep='_no'
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/seclab0070/fuzzer/target/libjpeg-turbo/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
runstatedir='${localstatedir}/run'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "libjpeg-turbo"
#define PACKAGE_TARNAME "libjpeg-turbo"
#define PACKAGE_VERSION "1.5.2"
#define PACKAGE_STRING "libjpeg-turbo 1.5.2"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_URL ""
#define PACKAGE "libjpeg-turbo"
#define VERSION "1.5.2"
configure: exit 77
System I'm using is Ubuntu 20.04, and I also tried in Ubuntu 18.04.
I'm testing fuzzers with seleted target program(libjpeg, tcpdump and more.), so I can't use pre-compiled program that you provided in programs.
Could you help me with this problem?
Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels