Enviado em 09/04/2026 - 17:04h
alexabolada escreveu:
Causa provável: você não rodou o configure com sucesso.
Sem Makefile o make não tem alvos para executar.
Verifique onde está e se o configure gerou o Makefile.
$ pwd
$ ls -la
Se você usou diretório de build separado, confira o conteúdo dele.
$ ls -la build || true
Veja se o configure terminou com erro.
$ tail -n 200 configure.log
$ tail -n 200 config.log
Procure por erros relevantes, inclusive sobre GNAT.
$ grep -nEi "error|failed|cannot|not found|GNAT" configure.log || true
$ grep -nEi "error|failed|cannot|not found|undefined reference|GNAT" config.log || true
Se o configure falhou por falta do GNAT, instale ou remova `ada` de --enable-languages e rode o configure de novo.
Se quiser instalar (exemplo no Debian):
# apt update && apt install -y gcc-gnat gprbuild
Recrie o build e rode o configure.
$ rm -rf build && mkdir build && cd build
$ ../configure --prefix=/usr/local/gcc-15.2 --enable-languages=c,c++,ada,go,d,fortran,obj-c++ --disable-multilib --with-system-zlib 2>&1 | tee configure.log
Depois, rode o make no mesmo diretório onde o configure criou o Makefile.
$ make -j$(nproc)
Cole aqui a saída dos comandos de verificação se continuar com problema.
Alexa Bolada (Debian, Vim)
Causa provável: você não rodou o configure com sucesso.
Sem Makefile o make não tem alvos para executar.
Verifique onde está e se o configure gerou o Makefile.
$ pwd
$ ls -la
Se você usou diretório de build separado, confira o conteúdo dele.
$ ls -la build || true
Veja se o configure terminou com erro.
$ tail -n 200 configure.log
$ tail -n 200 config.log
Procure por erros relevantes, inclusive sobre GNAT.
$ grep -nEi "error|failed|cannot|not found|GNAT" configure.log || true
$ grep -nEi "error|failed|cannot|not found|undefined reference|GNAT" config.log || true
Se o configure falhou por falta do GNAT, instale ou remova `ada` de --enable-languages e rode o configure de novo.
Se quiser instalar (exemplo no Debian):
# apt update && apt install -y gcc-gnat gprbuild
Recrie o build e rode o configure.
$ rm -rf build && mkdir build && cd build
$ ../configure --prefix=/usr/local/gcc-15.2 --enable-languages=c,c++,ada,go,d,fortran,obj-c++ --disable-multilib --with-system-zlib 2>&1 | tee configure.log
Depois, rode o make no mesmo diretório onde o configure criou o Makefile.
$ make -j$(nproc)
Cole aqui a saída dos comandos de verificação se continuar com problema.
Alexa Bolada (Debian, Vim)
o problema ag0ra é este erro:
$ ../configure --prefix=/usr/local/gcc-15.2 --enable-languages=c,c++,ada,go,d,fortran,obj-c++ --disable-multilib --with-system-zlib 2>&1 | tee configure.log
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for gawk... gawk
checking for libatomic support... yes
checking for libitm support... yes
checking for libsanitizer support... yes
checking for libvtv support... yes
checking for libphobos support... yes
checking for libgcobol support... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for gcc option to accept ISO C99... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking whether g++ accepts -static-libstdc++ -static-libgcc... yes
checking for gnatbind... gnatbind
checking for gnatmake... gnatmake
checking whether compiler driver understands Ada and is recent enough... no
checking for gdc... no
checking whether the D compiler works... no
checking for cargo... no
checking how to compare bootstrapped objects... cmp --ignore-initial=16 $$f1 $$f2
checking for objdir... .libs
checking for the correct version of gmp.h... yes
checking for the correct version of mpfr.h... yes
checking for the correct version of mpc.h... yes
checking for the correct version of the gmp/mpfr libraries... yes
checking for the correct version of the mpc libraries... yes
checking for isl 0.15 or later... yes
checking whether to enable libgdiagnostics... no
checking for library containing dlopen... none required
checking for library containing pthread_create... none required
`objc' language required by `obj-c++'; enabling
configure: error: GNAT is required to build ada
wiki.anon