Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

** ./configure aborting #1321

Closed
naotenzzz opened this issue Jun 19, 2023 · 3 comments
Closed

** ./configure aborting #1321

naotenzzz opened this issue Jun 19, 2023 · 3 comments

Comments

@naotenzzz
Copy link

hello here.i am new to libafl, and when i am running example of qemu_arm_launcher with "cargo make run ", i get:

[cargo-make] INFO - cargo make 0.36.11
[cargo-make] INFO - Calling cargo metadata to extract project info
[cargo-make] INFO - Cargo metadata done
[cargo-make] INFO - Project: qemu_arm_launcher
[cargo-make] INFO - Build File: Makefile.toml
[cargo-make] INFO - Task: run
[cargo-make] INFO - Profile: development
[cargo-make] INFO - Running Task: legacy-migration
[cargo-make] INFO - Skipping Task: zlib_unix_wget
[cargo-make] INFO - Running Task: zlib
Compiler error reporting is too harsh for ./configure (perhaps remove -Werror).
** ./configure aborting.
[cargo-make] ERROR - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.

and it's fine when i run "cd zlib-1.2.13 && CC=$CROSS_CC ./configure --prefix=./zlib" alone:
➜ qemu_arm_launcher git:(main) ✗ cd zlib-1.2.13 && CC=$CROSS_CC ./configure --prefix=./zlib
Checking for gcc...
Checking for shared library support...
Building shared library libz.so.1.2.13 with gcc.
Checking for size_t... Yes.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for attribute(visibility) support... Yes.

any idea?please

@domenukk
Copy link
Member

There are not a lot of errors to understand what's going on (?)
More information would be needed, also what's your OS, etc?

@naotenzzz
Copy link
Author

naotenzzz commented Jun 20, 2023

thanks。and yes, there are not a lot of errors, that's also confused me.
here is the more detail of my system:
uname -a
Linux ubuntu 5.15.0-75-generic #82~20.04.1-Ubuntu SMP Wed Jun 7 19:37:37 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

clang --version
Ubuntu clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

clang++ --version
Ubuntu clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

gcc --version
gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

g++ --version
g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

cargo --version
cargo 1.70.0 (ec8a8a0ca 2023-04-25)

rustc --version
rustc 1.70.0 (90c541806 2023-05-31)

rustup toolchain list
stable-x86_64-unknown-linux-gnu (default)

i also tried
1."sudo apt install build-essential autoconf automake libtool"
2."export CC=gcc"
3.reinstall rust and cargo-make
4.reinstall gcc
and all not work.
"cargo build" is fine , so maybe there are some error on cargo-make?

@naotenzzz
Copy link
Author

thanks for your time @domenukk
I just figured out that i forgot to install “gcc-arm-linux-gnueabi g++-arm-linux-gnueabi”

@s1341 s1341 closed this as completed Jun 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants