Модератор: Модераторы разделов
-
Pentium02
- Сообщения: 136
- ОС: Debian lenny
- Контактная информация:
Решено: C compiler cannot create executables
checking for C compiler default output file name… configure: error: C compiler cannot create executables
Ось Ubuntu 7.04
Вот такая ошибка вылазит при попытке что либо сконфигурировать, например apache
Код:
root@pentium02-desktop:/usr/src/httpd-2.2.4# ./configure
checking for chosen layout... Apache
checking for working mkdir -p... yes
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
Configuring Apache Portable Runtime library ...
checking for APR... reconfig
configuring package in srclib/apr now
checking build system type... i686-pc-linux-gnulibc1
checking host system type... i686-pc-linux-gnulibc1
checking target system type... i686-pc-linux-gnulibc1
Configuring APR library
Platform: i686-pc-linux-gnulibc1
checking for working mkdir -p... yes
APR Version:
checking for chosen layout... apr
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
configure failed for srclib/apr
- Вложения
-
- config.log
- (7.53 КБ) 80 скачиваний
Hear this voice from deep inside
It’s a call of your heart
Close your eyes and yo will find
Passage out of the dark
-
Pentium02
- Сообщения: 136
- ОС: Debian lenny
- Контактная информация:
Re: Решено: C compiler cannot create executables
Сообщение
Pentium02 » 03.06.2007 01:54
На си я не пишу, и хелло ворлда не могу написать, но всё что я пробовал компилить, не компилилось вобще нечего. В fstab к разделу noexec не написано
То что я это всё делаю по ssh под рутом роли не играет?
Hear this voice from deep inside
It’s a call of your heart
Close your eyes and yo will find
Passage out of the dark
-
Uncle_Theodore
- Сообщения: 3339
- ОС: Slackware 12.2, ArchLinux 64
Re: Решено: C compiler cannot create executables
Сообщение
Uncle_Theodore » 03.06.2007 02:06
Pentium02 писал(а): ↑
03.06.2007 01:54
На си я не пишу, и хелло ворлда не могу написать, но всё что я пробовал компилить, не компилилось вобще нечего. В fstab к разделу noexec не написано
Прогони вот эти команды
Код: Выделить всё
echo "#include<stdio.h>" > proba.c
echo "int main() {printf("Hello Worldn");}" >> proba.c
gcc proba.c
./a.out
Просто скопируй с экрана. Какие результаты?
То что я это всё делаю по ssh под рутом роли не играет?
Пока не знаю, может, и играет…
-
Pentium02
- Сообщения: 136
- ОС: Debian lenny
- Контактная информация:
Re: Решено: C compiler cannot create executables
Сообщение
Pentium02 » 03.06.2007 02:10
Код: Выделить всё
root@pentium02-desktop:/# echo "#include<stdio.h>" > proba.c
root@pentium02-desktop:/# echo "int main() {printf("Hello Worldn");}" >> proba.c
root@pentium02-desktop:/# gcc proba.c
proba.c:1:19: error: stdio.h: No such file or directory
proba.c: В функции ‘main’
proba.c:2: предупреждение: incompatible implicit declaration of built-in function ‘printf’
root@pentium02-desktop:/# ./a.out
-bash: ./a.out: No such file or directory
root@pentium02-desktop:/#
Hear this voice from deep inside
It’s a call of your heart
Close your eyes and yo will find
Passage out of the dark
-
Minton
- Сообщения: 1588
- Статус: openSUSE Localization Team
- ОС: openSUSE Tumbleweed x86-64
Re: Решено: C compiler cannot create executables
Сообщение
Minton » 03.06.2007 02:27
Сборка исходников под Убунтой — это весьма забавный процесс Поставь пакет automake и все его зависимости как минимум. Может быть, ещё что-то по шаблону *make* и *gcc* придётся поставить, но это уже потом посмотреть надо…
- Печать
Страницы: [1] Вниз
Тема: Ошибка при выполнении ./configure (Прочитано 4737 раз)
0 Пользователей и 1 Гость просматривают эту тему.
Shlepov
При выполнении ./configure выходит ошибка «configure: error: C compiler cannot create executables». Переустановил libc6-dev и все его зависимости. Система 14.04
Вылоп ./configure
config.log
Что еще можно попробовать?
ТС не появлялся на Форуме более полугода по состоянию на 09/09/2019 (последняя явка: 11/02/2019). Модератором раздела принято решение закрыть тему.
—zg_nico
« Последнее редактирование: 09 Сентября 2019, 18:26:04 от zg_nico »
hesoyamatogun
А о чем это вы сейчас, точнее что это за программа, что делает, что конфигурирует, с какой целью вы её запускаете и что xотите получить?
Shlepov
hesoyamatogun
Может ты не заметил, у тебя error’ы не только в конце но и в середине парочка, которые объясняют причину а не только извещают что «error: C compiler cannot create executables»
victor00000
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
что опять версии пропустили gcc пакеты в ubuntu?
a@a:~$
a@a:~$ cat 3.c
#include <stdio.h>
int main()
{
char *str; // [] = "hello";
printf ((const char*)str);
}
a@a:~$
a@a:~$
a@a:~$
a@a:~$ LANG=C gcc-4.9 -fstack-protector-strong -c 3.c || echo "Ошибка"
a@a:~$
a@a:~$ LANG=C gcc-4.8 -fstack-protector-strong -c 3.c || echo "Ошибка"
gcc-4.8: error: unrecognized command line option '-fstack-protector-strong'
Ошибка
a@a:~$
в шоке.
Shlepov
Нет, не заметил. Спасибо!
Насколько я понял требуется версия gcc >5?
configure:5032: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
Я обновил gcc до 5.4.1 20160904, и этот момент прошел успешно.
Теперь борюсь со следующей ошибкой:
configure: error: Basic auth helper getpwnam ... found but cannot be built
victor00000
gcc --version
Пользователь добавил сообщение 20 Июля 2017, 17:49:59:
Я обновил gcc до 5.4.1 20160904, и этот момент прошел успешно.
не а, плохо Ubuntu от сборки для пакеты gcc.
Пользователь добавил сообщение 21 Июля 2017, 02:51:08:
14.04
sudo apt-get install gccgo-4.9 g++-4.8
sudo rm -f /usr/local/bin/{gcc,g++}
sudo ln -s /usr/bin/gcc-4.9 /usr/local/bin/gcc
sudo ln -s /usr/bin/g++-4.8 /usr/local/bin/g++
exit
16.04
sudo apt-get install gccgo-6 g++-5
sudo rm -f /usr/local/bin/{gcc,g++}
sudo ln -s /usr/bin/gcc-6 /usr/local/bin/gcc
sudo ln -s /usr/bin/g++-5 /usr/local/bin/g++
exit
« Последнее редактирование: 21 Июля 2017, 02:51:08 от victor00000 »
Shlepov
shlepov@it:~$ gcc --version
gcc (Ubuntu 5.4.1-2ubuntu1~14.04) 5.4.1 20160904
Copyright (C) 2015 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.
обновлял по этой инструкции.
Не пойму что за ошибка вылетает:
getpwnam это вроде обращение к файлу с паролями. На кой вообще свиду пароли? Я что-то запутался.
« Последнее редактирование: 21 Июля 2017, 09:06:19 от Shlepov »
victor00000
смотри мою посту «16.04» и команды.
- Печать
Страницы: [1] Вверх
GCC doesn’t necessarily come with g++. Does which g++ show anything? If not, try: sudo apt-get install g++
Dave
From: thw1021 [mailto:notifications@github.com]
Sent: Monday, July 22, 2019 8:38 AM
To: su2code/SU2 <SU2@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Subject: [su2code/SU2] C++ compiler cannot create executables (#738)
Dear developers,
I am trying to install SU2 in docker ubuntu 18.04 container so that I can easily share with partner. But I failed to compile the code with following errors:
(base)
root@a5502ebdff64
:/home/SU2# ./configure —prefix=/home/SU2/SU2_Install CXXFLAGS=»-O3″ —enable-mpi —with-cc=/usr/bin/mpicc —with-cxx=/usr/bin/mpicxx
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 build environment is sane… yes
checking for a thread-safe mkdir -p… /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 for style of include used by make… GNU
checking whether the C++ compiler works… no
configure: error: in `/home/SU2′:
configure: error: C++ compiler cannot create executables
See `config.log’ for more details
I am sure that I have installed gcc/g++ successfully. You can see
(base)
root@a5502ebdff64
:/home# gcc —version
gcc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Copyright (C) 2017 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.
(base)
root@a5502ebdff64
:/home# g++ -o hello hello.cc
(base)
root@a5502ebdff64
:/home# ./hello
Hello, World!
I have uploaded the config.log file. Could you give me some suggestions, please?
config.log<https://github.com/su2code/SU2/files/3418183/config.log>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#738?email_source=notifications&email_token=AADV2HBFP42OXAJCIZGTH2DQAXH4ZA5CNFSM4IFZ52EKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HAVNCNA>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AADV2HFS5T4HH2MWIC4JR4TQAXH4ZANCNFSM4IFZ52EA>.
I am aware that there is already a thread on this here however it failed to solve my issue. I have installed the multilib-devel packages as the referenced post suggested, but I still receive the following error message when attempting to compile wine-mono package either with makepkg or with yaourt.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-w64-mingw32
checking target system type... x86_64-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for x86_64-w64-mingw32-strip... no
checking for strip... strip
configure: WARNING: using cross tools not prefixed with host triplet
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether ln -s works... yes
checking host platform characteristics... ok
checking for x86_64-w64-mingw32-gcc... no
checking for gcc... gcc
checking for x86_64-w64-mingw32-gcc... gcc
checking whether the C compiler works... no
configure: error: in `/tmp/yaourt-tmp-sensei/aur-wine-mono/src/wine-mono-0.0.4/build-cross-x86_64':
configure: error: C compiler cannot create executables
See `config.log' for more details
My config.log:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by mono configure 2.11.1, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ ../mono/configure --prefix=/home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/build-cross-x86_64-install --build=x86_64-unknown-linux-gnu --target=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --with-tls=none --disable-mcs-build --enable-win32-dllmain=yes --with-libgc-threads=win32 PKG_CONFIG=false mono_cv_clang=no
## --------- ##
## Platform. ##
## --------- ##
hostname = archmage
uname -m = x86_64
uname -r = 3.3.8-1-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Tue Jun 5 15:20:32 CEST 2012
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/bin/core_perl
PATH: /home/sensei/Documents/Scripts
## ----------- ##
## Core tests. ##
## ----------- ##
configure:2970: checking build system type
configure:2984: result: x86_64-unknown-linux-gnu
configure:3004: checking host system type
configure:3017: result: x86_64-w64-mingw32
configure:3037: checking target system type
configure:3050: result: x86_64-w64-mingw32
configure:3099: checking for a BSD-compatible install
configure:3167: result: /usr/bin/install -c
configure:3178: checking whether build environment is sane
configure:3233: result: yes
configure:3292: checking for x86_64-w64-mingw32-strip
configure:3322: result: no
configure:3332: checking for strip
configure:3348: found /usr/bin/strip
configure:3359: result: strip
configure:3371: WARNING: using cross tools not prefixed with host triplet
configure:3384: checking for a thread-safe mkdir -p
configure:3423: result: /bin/mkdir -p
configure:3430: checking for gawk
configure:3446: found /usr/bin/gawk
configure:3457: result: gawk
configure:3468: checking whether make sets $(MAKE)
configure:3490: result: yes
configure:3565: checking how to create a ustar tar archive
configure:3578: tar --version
tar (GNU tar) 1.26
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
configure:3581: $? = 0
configure:3621: tardir=conftest.dir && eval tar --format=ustar -chf - "$tardir" >conftest.tar
configure:3624: $? = 0
configure:3628: tar -xf - <conftest.tar
configure:3631: $? = 0
configure:3644: result: gnutar
configure:3654: checking whether to enable maintainer-specific portions of Makefiles
configure:3663: result: no
configure:3680: checking whether ln -s works
configure:3684: result: yes
configure:3737: checking host platform characteristics
configure:4029: result: ok
configure:4090: checking for x86_64-w64-mingw32-gcc
configure:4120: result: no
configure:4130: checking for gcc
configure:4146: found /usr/bin/gcc
configure:4157: result: gcc
configure:4187: checking for x86_64-w64-mingw32-gcc
configure:4214: result: gcc
configure:4483: checking for C compiler version
configure:4492: gcc --version >&5
gcc (GCC) 4.7.0 20120505 (prerelease)
Copyright (C) 2012 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.
configure:4503: $? = 0
configure:4492: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /build/src/gcc-4.7-20120505/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release
Thread model: posix
gcc version 4.7.0 20120505 (prerelease) (GCC)
configure:4503: $? = 0
configure:4492: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:4503: $? = 1
configure:4492: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:4503: $? = 1
configure:4523: checking whether the C compiler works
configure:4545: gcc -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024 -DGC_NOT_DLL -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lmswsock -lws2_32 -lole32 -loleaut32 -lpsapi -lversion -ladvapi32 -lwinmm -lkernel32 conftest.c >&5
/usr/bin/ld: cannot find -lmswsock
/usr/bin/ld: cannot find -lws2_32
/usr/bin/ld: cannot find -lole32
/usr/bin/ld: cannot find -loleaut32
/usr/bin/ld: cannot find -lpsapi
/usr/bin/ld: cannot find -lversion
/usr/bin/ld: cannot find -ladvapi32
/usr/bin/ld: cannot find -lwinmm
/usr/bin/ld: cannot find -lkernel32
collect2: error: ld returned 1 exit status
configure:4549: $? = 1
configure:4587: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "mono"
| #define PACKAGE_TARNAME "mono"
| #define PACKAGE_VERSION "2.11.1"
| #define PACKAGE_STRING "mono 2.11.1"
| #define PACKAGE_BUGREPORT "http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono"
| #define PACKAGE_URL ""
| #define PACKAGE "mono"
| #define VERSION "2.11.1"
| #define HOST_WIN32 1
| #define DISABLE_PORTABILITY 1
| #define PLATFORM_NO_SYMLINKS 1
| #define TARGET_WIN32 1
| #define MINGW_CROSS_COMPILE 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:4592: error: in `/home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/build-cross-x86_64':
configure:4594: error: C compiler cannot create executables
See `config.log' for more details
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=x86_64-unknown-linux-gnu
ac_cv_env_CCASFLAGS_set=
ac_cv_env_CCASFLAGS_value=
ac_cv_env_CCAS_set=
ac_cv_env_CCAS_value=
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_XMKMF_set=
ac_cv_env_XMKMF_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-unknown-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-w64-mingw32
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=x86_64-w64-mingw32
ac_cv_host=x86_64-w64-mingw32
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=gcc
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_make_make_set=yes
ac_cv_target=x86_64-w64-mingw32
am_cv_prog_tar_ustar=gnutar
mono_cv_clang=no
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run aclocal-1.12'
ALPHA_FALSE=''
ALPHA_TRUE=''
AMD64_FALSE=''
AMD64_TRUE=''
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
API_VER='2.0'
AR=''
ARM_FALSE=''
ARM_TRUE=''
AS=''
AUTOCONF='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run autoconf'
AUTOHEADER='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run autoheader'
AUTOMAKE='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run automake-1.12'
AWK='gawk'
BOEHM_DEFINES=''
BUILD_EXEEXT=''
BUILD_GLIB_CFLAGS=''
BUILD_GLIB_LIBS=''
BUILD_MCS_FALSE=''
BUILD_MCS_TRUE=''
CC='gcc'
CCAS=''
CCASDEPMODE=''
CCASFLAGS=''
CCDEPMODE=''
CC_FOR_BUILD=''
CFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
CFLAGS_FOR_BUILD=''
CPP=''
CPPFLAGS=' -DWINVER=0x0500 -D_WIN32_WINNT=0x0500 -D_WIN32_IE=0x0501 -D_UNICODE -DUNICODE -DWIN32_THREADS -DFD_SETSIZE=1024 -DGC_NOT_DLL'
CROSS_COMPILING_FALSE=''
CROSS_COMPILING_TRUE=''
CXX=''
CXXCPP=''
CXXDEPMODE=''
CXXFLAGS='-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DISABLE_EXECUTABLES_FALSE=''
DISABLE_EXECUTABLES_TRUE=''
DISABLE_JIT_FALSE=''
DISABLE_JIT_TRUE=''
DISABLE_PROFILER_FALSE=''
DISABLE_PROFILER_TRUE=''
DISABLE_SHARED_HANDLES=''
DLLTOOL=''
DOLT_BASH=''
DSYMUTIL=''
DTRACE=''
DTRACEFLAGS=''
DTRACE_G_REQUIRED_FALSE=''
DTRACE_G_REQUIRED_TRUE=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_DTRACE_FALSE=''
ENABLE_DTRACE_TRUE=''
ENABLE_LLVM_FALSE=''
ENABLE_LLVM_TRUE=''
ENABLE_NUNIT_TESTS_FALSE=''
ENABLE_NUNIT_TESTS_TRUE=''
EXEEXT=''
FGREP=''
GETTEXT_MACRO_VERSION=''
GLIB_CFLAGS=''
GLIB_LIBS=''
GMODULE_CFLAGS=''
GMODULE_LIBS=''
GMSGFMT=''
GMSGFMT_015=''
GREP=''
HAVE_MSGFMT=''
HAVE_OPROFILE_FALSE=''
HAVE_OPROFILE_TRUE=''
HAVE_ZLIB_FALSE=''
HAVE_ZLIB_TRUE=''
HOST_CC='gcc'
HOST_WIN32_FALSE='#'
HOST_WIN32_TRUE=''
HPPA_FALSE=''
HPPA_TRUE=''
IA64_FALSE=''
IA64_TRUE=''
INCLUDED_LIBGC_FALSE=''
INCLUDED_LIBGC_TRUE=''
INSTALL_4_0_FALSE=''
INSTALL_4_0_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_MOBILE_FALSE=''
INSTALL_MOBILE_TRUE=''
INSTALL_MONODROID_FALSE=''
INSTALL_MONODROID_TRUE=''
INSTALL_MONOTOUCH_FALSE=''
INSTALL_MONOTOUCH_TRUE=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
INTERP_SUPPORTED_FALSE=''
INTERP_SUPPORTED_TRUE=''
INTL=''
JIT_SUPPORTED_FALSE=''
JIT_SUPPORTED_TRUE=''
LD=''
LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -lmswsock -lws2_32 -lole32 -loleaut32 -lpsapi -lversion -ladvapi32 -lwinmm -lkernel32'
LIBC=''
LIBGC_CPPFLAGS=''
LIBGC_LIBS=''
LIBGC_STATIC_LIBS=''
LIBICONV=''
LIBMONO_LA=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LLVM_CFLAGS=''
LLVM_CONFIG=''
LLVM_CXXFLAGS=''
LLVM_LDFLAGS=''
LLVM_LIBS=''
LN_S='cp'
LOADED_LLVM_FALSE=''
LOADED_LLVM_TRUE=''
LTCOMPILE=''
LTCXXCOMPILE=''
LTLIBICONV=''
LTLIBOBJS=''
M68K_FALSE=''
M68K_TRUE=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/missing --run makeinfo'
MANIFEST_TOOL=''
MIPS_FALSE=''
MIPS_GCC_FALSE=''
MIPS_GCC_TRUE=''
MIPS_SGI_FALSE=''
MIPS_SGI_TRUE=''
MIPS_TRUE=''
MKDIR_P='/bin/mkdir -p'
MONO_DEBUGGER_SUPPORTED_FALSE=''
MONO_DEBUGGER_SUPPORTED_TRUE=''
MONO_DL_NEED_USCORE=''
MONO_NACL_ALIGN_MASK_OFF=''
MOONLIGHT_BOEHM_FALSE=''
MOONLIGHT_BOEHM_TRUE=''
MOONLIGHT_DEFINES=''
MOONLIGHT_FALSE=''
MOONLIGHT_SGEN_FALSE=''
MOONLIGHT_SGEN_TRUE=''
MOONLIGHT_TRUE=''
MSGFMT=''
MSGFMT_015=''
MSGMERGE=''
NACL_CODEGEN_FALSE=''
NACL_CODEGEN_TRUE=''
NM=''
NMEDIT=''
NO_VERSION_SCRIPT_FALSE=''
NO_VERSION_SCRIPT_TRUE=''
OBJDUMP=''
OBJEXT=''
ONLY_MOONLIGHT_FALSE=''
ONLY_MOONLIGHT_TRUE=''
OPROFILE_CFLAGS=''
OPROFILE_LIBS=''
OTOOL64=''
OTOOL=''
PACKAGE='mono'
PACKAGE_BUGREPORT='http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono'
PACKAGE_NAME='mono'
PACKAGE_STRING='mono 2.11.1'
PACKAGE_TARNAME='mono'
PACKAGE_URL=''
PACKAGE_VERSION='2.11.1'
PATH_SEPARATOR=':'
PKG_CONFIG='false'
PLATFORM_ANDROID_FALSE=''
PLATFORM_ANDROID_TRUE='#'
PLATFORM_DARWIN_FALSE=''
PLATFORM_DARWIN_TRUE='#'
PLATFORM_LINUX_FALSE=''
PLATFORM_LINUX_TRUE='#'
PLATFORM_SIGPOSIX_FALSE=''
PLATFORM_SIGPOSIX_TRUE='#'
POWERPC64_FALSE=''
POWERPC64_TRUE=''
POWERPC_FALSE=''
POWERPC_TRUE=''
RANLIB=''
S390_FALSE=''
S390_TRUE=''
S390x_FALSE=''
S390x_TRUE=''
SED=''
SET_MAKE=''
SGEN_DEFINES=''
SHARED_MONO_FALSE=''
SHARED_MONO_TRUE=''
SHELL='/bin/sh'
SPARC64_FALSE=''
SPARC64_TRUE=''
SPARC_FALSE=''
SPARC_TRUE=''
SQLITE3=''
SQLITE=''
STATIC_MONO_FALSE=''
STATIC_MONO_TRUE=''
STRIP='strip'
SUPPORT_BOEHM_FALSE=''
SUPPORT_BOEHM_TRUE=''
SUPPORT_SGEN_FALSE=''
SUPPORT_SGEN_TRUE=''
TARGET_WIN32_FALSE='#'
TARGET_WIN32_TRUE=''
USE_BATCH_FILES_FALSE=''
USE_BATCH_FILES_TRUE=''
USE_JIT_FALSE=''
USE_JIT_TRUE=''
USE_NLS=''
VERSION='2.11.1'
X11=''
X86_FALSE=''
X86_TRUE=''
XATTR_LIB=''
XGETTEXT=''
XGETTEXT_015=''
XGETTEXT_EXTRA_OPTIONS=''
XMKMF=''
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCCAS_FALSE=''
am__fastdepCCAS_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__fastdepCXX_FALSE=''
am__fastdepCXX_TRUE=''
am__include=''
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='tar --format=ustar -chf - "$$tardir"'
am__untar='tar -xf -'
arch_target=''
bindir='${exec_prefix}/bin'
build='x86_64-unknown-linux-gnu'
build_alias='x86_64-unknown-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='unknown'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
docs_dir=''
dvidir='${docdir}'
exec_prefix='NONE'
export_ldflags=''
host='x86_64-w64-mingw32'
host_alias='x86_64-w64-mingw32'
host_cpu='x86_64'
host_os='mingw32'
host_vendor='w64'
htmldir='${docdir}'
ikvm_native_dir=''
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/mono/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libgc_dir=''
libgdiplus_loc=''
libmono_cflags='-mno-cygwin -mms-bitfields -mwindows'
libmono_ldflags='-mno-cygwin -mms-bitfields -mwindows'
libsuffix=''
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mcs_topdir=''
mcs_topdir_from_srcdir=''
mkdir_p=''
mono_build_root=''
mono_cfg_dir=''
mono_runtime=''
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/sensei/Downloads/Builds/wine-mono/src/wine-mono-0.0.4/build-cross-x86_64-install'
program_transform_name='s&^&x86_64-w64-mingw32-&'
psdir='${docdir}'
reloc_libdir='lib'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=''
sysconfdir='${prefix}/etc'
target='x86_64-w64-mingw32'
target_alias='x86_64-w64-mingw32'
target_cpu='x86_64'
target_os='mingw32'
target_vendor='w64'
## ----------- ##
## confdefs.h. ##
## ----------- ##
/* confdefs.h */
#define PACKAGE_NAME "mono"
#define PACKAGE_TARNAME "mono"
#define PACKAGE_VERSION "2.11.1"
#define PACKAGE_STRING "mono 2.11.1"
#define PACKAGE_BUGREPORT "http://bugzilla.xamarin.com/enter_bug.cgi?classification=Mono"
#define PACKAGE_URL ""
#define PACKAGE "mono"
#define VERSION "2.11.1"
#define HOST_WIN32 1
#define DISABLE_PORTABILITY 1
#define PLATFORM_NO_SYMLINKS 1
#define TARGET_WIN32 1
#define MINGW_CROSS_COMPILE 1
configure: exit 77
My makepkg.conf:
#
# /etc/makepkg.conf
#
#########################################################################
# SOURCE ACQUISITION
#########################################################################
#
#-- The download utilities that makepkg should use to acquire sources
# Format: 'protocol::agent'
#DLAGENTS=('ftp::/usr/bin/wget -4 -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
# 'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
# 'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
#Curl as default DLAGENT
DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
'rsync::/usr/bin/rsync -z %u %o'
'scp::/usr/bin/scp -C %u %o')
# Other common tools:
# /usr/bin/snarf
# /usr/bin/lftpget -c
# /usr/bin/curl
#########################################################################
# ARCHITECTURE, COMPILE FLAGS
#########################################################################
#
CARCH="x86_64"
CHOST="x86_64-unknown-linux-gnu"
#-- Exclusive: will only run on x86_64
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu"
#-- Make Flags: change this for DistCC/SMP systems
#MAKEFLAGS="-j2"
I am running a x64 arch with multilib and multilib-testing enabled. This is the first time I have encountered this error. Thank you in advance for all advice and suggestions.
Edited: added makepkg.conf
Last edited by mynameisneo (2012-06-13 19:04:09)
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
Crojav
C compiler cannot create executables
I tried to install https://github.com/mansr/sox a Sox Audio Tool Fork on my LinuxMint 19, but got this error.
configure:3617: error: in `/home/crojav/sox’:
configure:3619: error: C compiler cannot create executables
See `config.log’ for more details
Should I include the «config.log»?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
ajgringo619
Re: C compiler cannot create executables
Post
by ajgringo619 » Thu Feb 14, 2019 7:42 pm
This program hasn’t been updated since 2015, so it may need libraries that you don’t have. Also, in the README file it talks about being a 32-bit program; that would explain your compiler error.
-
Hoser Rob
- Level 19
- Posts: 9586
- Joined: Sat Dec 15, 2012 8:57 am
Re: C compiler cannot create executables
Post
by Hoser Rob » Fri Feb 15, 2019 12:52 pm
Crojav wrote: ↑
Fri Feb 15, 2019 12:09 pm
Thanks for your reply, I will share this with the maintainer of the program.
When a program hasn’t been updated for that long it kind of means it’s very unlikely that any maintainer will read it. I’d look for something else with better support.
-
Crojav
Re: C compiler cannot create executables
Post
by Crojav » Fri Feb 15, 2019 1:36 pm
Hoser Rob wrote: ↑
Fri Feb 15, 2019 12:52 pm
Crojav wrote: ↑
Fri Feb 15, 2019 12:09 pm
Thanks for your reply, I will share this with the maintainer of the program.When a program hasn’t been updated for that long it kind of means it’s very unlikely that any maintainer will read it. I’d look for something else with better support.
I would do the same, but in this case there is no other program — with the help of Sox who can do this conversion to DSD
-
Crojav
Re: C compiler cannot create executables
Post
by Crojav » Sat Feb 16, 2019 4:07 pm
ajgringo619 wrote: ↑
Thu Feb 14, 2019 7:42 pm
This program hasn’t been updated since 2015, so it may need libraries that you don’t have. Also, in the README file it talks about being a 32-bit program; that would explain your compiler error.
I have send the config.log to the maintainer of the program.
Greeting Crojav
-
Crojav
Re: C compiler cannot create executables
Post
by Crojav » Sat Feb 16, 2019 6:01 pm
ajgringo619 wrote: ↑
Thu Feb 14, 2019 7:42 pm
This program hasn’t been updated since 2015, so it may need libraries that you don’t have. Also, in the README file it talks about being a 32-bit program; that would explain your compiler error.
This is the answer of the maintainer of the program:
This is the relevant part of the log:
configure:3548: checking whether the C compiler works
configure:3570: gcc conftest.c >&5
/usr/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/bin/ld: cannot find crti.o: No such file or directory
collect2: error: ld returned 1 exit status
configure:3574: $? = 1
configure:3612: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME «SoX»
| #define PACKAGE_TARNAME «sox»
| #define PACKAGE_VERSION «14.4.3git»
| #define PACKAGE_STRING «SoX 14.4.3git»
| #define PACKAGE_BUGREPORT «sox-devel@lists.sourceforge.net»
| #define PACKAGE_URL «»
| #define PACKAGE «sox»
| #define VERSION «14.4.3git»
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3617: error: in `/home/crojav/sox’:
configure:3619: error: C compiler cannot create executables
It is clear from this that your compiler is broken. Is it the official
distribution package? You need to take this to whoever provided the
compiler. I’m sorry, but there is nothing I can do to help here.
Any help would be welcom
Greeting Crojav
-
Crojav
Re: C compiler cannot create executables
Post
by Crojav » Sun Feb 17, 2019 3:07 am
ajgringo619 wrote: ↑
Sat Feb 16, 2019 6:08 pm
This still doesn’t explain if the software is 32-bit or not. Please install this package and try again:
crojav@crojav-hp:~/sox$ sudo apt install build-essential
[sudo] wachtwoord voor crojav:
Pakketlijsten worden ingelezen… Klaar
Boom van vereisten wordt opgebouwd
De statusinformatie wordt gelezen… Klaar
De volgende extra pakketten zullen geïnstalleerd worden:
g++ g++-7 libc-dev-bin libc6-dev libstdc++-7-dev
Voorgestelde pakketten:
g++-multilib g++-7-multilib gcc-7-doc libstdc++6-7-dbg glibc-doc libstdc++-7-doc
De volgende NIEUWE pakketten zullen geïnstalleerd worden:
build-essential g++ g++-7 libc-dev-bin libc6-dev libstdc++-7-dev
0 opgewaardeerd, 6 nieuw geïnstalleerd, 0 te verwijderen en 75 niet opgewaardeerd.
Er moeten 11,7 MB aan archieven opgehaald worden.
Na deze bewerking zal er 60,4 MB extra schijfruimte gebruikt worden.
Wilt u doorgaan? [J/n] j
Ophalen:1 http://archive.ubuntu.com/ubuntu bionic/main amd64 libc-dev-bin amd64 2.27-3ubuntu1 [71,8 kB]
Ophalen:2 http://archive.ubuntu.com/ubuntu bionic/main amd64 libc6-dev amd64 2.27-3ubuntu1 [2587 kB]
Ophalen:3 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libstdc++-7-dev amd64 7.3.0-27ubuntu1~18.04 [1463 kB]
Ophalen:4 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++-7 amd64 7.3.0-27ubuntu1~18.04 [7570 kB]
Ophalen:5 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 g++ amd64 4:7.3.0-3ubuntu2.1 [1572 B]
Ophalen:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 build-essential amd64 12.4ubuntu1 [4758 B]
11,7 MB opgehaald in 2s (4710 kB/s)
debconf: kan het frontend niet initialiseren: Dialog
debconf: (Het dialoog-frontend vereist een scherm dat tenminste 13 regels hoog en 31 kolommen breed is.)
debconf: er wordt teruggevallen op frontend: Readline
Voorheen niet geselecteerd pakket libc-dev-bin wordt geselecteerd.
(Database wordt ingelezen … 262858 bestanden en mappen momenteel geïnstalleerd.)
Uitpakken van …/0-libc-dev-bin_2.27-3ubuntu1_amd64.deb wordt voorbereid…
Bezig met uitpakken van libc-dev-bin (2.27-3ubuntu1) …
Voorheen niet geselecteerd pakket libc6-dev:amd64 wordt geselecteerd.
Uitpakken van …/1-libc6-dev_2.27-3ubuntu1_amd64.deb wordt voorbereid…
Bezig met uitpakken van libc6-dev:amd64 (2.27-3ubuntu1) …
Voorheen niet geselecteerd pakket libstdc++-7-dev:amd64 wordt geselecteerd.
Uitpakken van …/2-libstdc++-7-dev_7.3.0-27ubuntu1~18.04_amd64.deb wordt voorbereid…
Bezig met uitpakken van libstdc++-7-dev:amd64 (7.3.0-27ubuntu1~18.04) …
Voorheen niet geselecteerd pakket g++-7 wordt geselecteerd.
Uitpakken van …/3-g++-7_7.3.0-27ubuntu1~18.04_amd64.deb wordt voorbereid…
Bezig met uitpakken van g++-7 (7.3.0-27ubuntu1~18.04) …
Voorheen niet geselecteerd pakket g++ wordt geselecteerd.
Uitpakken van …/4-g++_4%3a7.3.0-3ubuntu2.1_amd64.deb wordt voorbereid…
Bezig met uitpakken van g++ (4:7.3.0-3ubuntu2.1) …
Voorheen niet geselecteerd pakket build-essential wordt geselecteerd.
Uitpakken van …/5-build-essential_12.4ubuntu1_amd64.deb wordt voorbereid…
Bezig met uitpakken van build-essential (12.4ubuntu1) …
Bezig met afhandelen van triggers voor man-db (2.8.3-2ubuntu0.1) …
Instellen van libc-dev-bin (2.27-3ubuntu1) …
Instellen van libc6-dev:amd64 (2.27-3ubuntu1) …
Instellen van libstdc++-7-dev:amd64 (7.3.0-27ubuntu1~18.04) …
Instellen van g++-7 (7.3.0-27ubuntu1~18.04) …
Instellen van g++ (4:7.3.0-3ubuntu2.1) …
update-alternatives: /usr/bin/g++ wordt gebruikt om in de automatische modus in /usr/bin/c++ (c++) te voorzien.
Instellen van build-essential (12.4ubuntu1) …
crojav@crojav-hp:~/sox$
crojav@crojav-hp:~/sox$ autoreconf -i
Prototype after ‘@’ for main::list_compare : address@hidden@ at /usr/bin/aclocal line 162.
Illegal character in prototype for main::list_compare : address@hidden@ at /usr/bin/aclocal line 162.
Prototype mismatch: sub main::list_compare (address@hidden@) vs (@@) at /usr/bin/aclocal line 340.
libgsm/Makefile.am:35: Libtool library used but `LIBTOOL’ is undefined
libgsm/Makefile.am:35: The usual way to define `LIBTOOL’ is to add `LT_INIT’
libgsm/Makefile.am:35: to `configure.ac’ and run `aclocal’ and `autoconf’ again.
libgsm/Makefile.am:35: If `LT_INIT’ is in `configure.ac’, make sure
libgsm/Makefile.am:35: its definition is in aclocal’s search path.
lpc10/Makefile.am:8: Libtool library used but `LIBTOOL’ is undefined
lpc10/Makefile.am:8: The usual way to define `LIBTOOL’ is to add `LT_INIT’
lpc10/Makefile.am:8: to `configure.ac’ and run `aclocal’ and `autoconf’ again.
lpc10/Makefile.am:8: If `LT_INIT’ is in `configure.ac’, make sure
lpc10/Makefile.am:8: its definition is in aclocal’s search path.
autoreconf: automake failed with exit status: 1
crojav@crojav-hp:~/sox$ ./configure
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 build environment is sane… yes
checking for a thread-safe mkdir -p… /bin/mkdir -p
checking for gawk… gawk
checking whether make sets $(MAKE)… yes
checking whether make supports nested variables… 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 style of include used by make… GNU
checking dependency style of gcc… gcc3
checking whether gcc and cc understand -c and -o together… yes
checking whether ln -s works… yes
./configure: line 4346: syntax error near unexpected token `dlopen’
./configure: line 4346: `LT_INIT(dlopen win32-dll)’
crojav@crojav-hp:~/sox$ make -s
make: *** Geen doelen opgegeven en geen Makefile gevonden. Gestopt. <<< EDIT — NO MAKE FILE FOUND
crojav@crojav-hp:~/sox$
-
ajgringo619
Re: C compiler cannot create executables
Post
by ajgringo619 » Sun Feb 17, 2019 12:40 pm
Based on the last line of the configure output, this definitely looks like a 32-bit issue. Hopefully someone with expertise in this will chime in as I’ve no experience building 32-bit binaries.
-
Crojav
Re: C compiler cannot create executables
Post
by Crojav » Sun Feb 17, 2019 1:03 pm
ajgringo619 wrote: ↑
Sun Feb 17, 2019 12:40 pm
Based on the last line of the configure output, this definitely looks like a 32-bit issue. Hopefully someone with expertise in this will chime in as I’ve no experience building 32-bit binaries.
Any way you did what you could do, thanks — hopefully someone else can bring more light on this. Should I bring it in a new topic under the attention?
There is a Arch Package of this Sox program https://aur.archlinux.org/packages/sox-dsd-git/ who know I can them about my problem
Greeting Crojav
-
ajgringo619
Re: C compiler cannot create executables
Post
by ajgringo619 » Sun Feb 17, 2019 1:12 pm
I found the Sox mailing list, and I couldn’t find your issue mentioned at all. I’ve got a test VM — I’ll give this build a try later today.
-
Crojav
Re: C compiler cannot create executables
Post
by Crojav » Sun Feb 17, 2019 1:21 pm
ajgringo619 wrote: ↑
Sun Feb 17, 2019 1:12 pm
I found the Sox mailing list, and I couldn’t find your issue mentioned at all. I’ve got a test VM — I’ll give this build a try later today.
Thanks ajgringo619 for helping me so far..
-
ajgringo619
Re: C compiler cannot create executables
Post
by ajgringo619 » Sun Feb 17, 2019 1:29 pm
OK, I got it to build; it was actually a fairly smooth process. Here are the steps & log files:
Code: Select all
$ autoreconf -i
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
configure.ac:22: installing './compile'
configure.ac:10: installing './config.guess'
configure.ac:10: installing './config.sub'
configure.ac:12: installing './install-sh'
configure.ac:12: installing './missing'
libgsm/Makefile.am: installing './depcomp'
Code: Select all
$ ./configure
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 build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) 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 whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %sn
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to make a debug build...
checking whether libssp exists... no
checking whether stack-smashing protection is available... yes
checking whether stack-smashing protection is buggy... no
checking whether gcc accepts -fstack-protector... yes
checking gcc version... 7
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/types.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for popen... yes
checking for vsnprintf... yes
checking for gettimeofday... yes
checking for mkstemp... yes
checking for fmemopen... yes
checking for aligned_alloc... yes
checking for library containing pow... -lm
checking for library containing lrint... none required
checking for lrint... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether libtool should be silenced... yes
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking for gcc option to support OpenMP... -fopenmp
checking for libtool version... 2.4.6, OK
checking magic.h usability... no
checking magic.h presence... no
checking for magic.h... no
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking libpng/png.h usability... yes
checking libpng/png.h presence... yes
checking for libpng/png.h... yes
checking for png_set_rows in -lpng... yes
checking mad.h usability... no
checking mad.h presence... no
checking for mad.h... no
checking whether to dlopen mad... no
checking for mad_stream_buffer in -lmad... no
checking id3tag.h usability... no
checking id3tag.h presence... no
checking for id3tag.h... no
checking whether to dlopen lame... no
checking lame/lame.h usability... no
checking lame/lame.h presence... no
checking for lame/lame.h... no
checking lame.h usability... no
checking lame.h presence... no
checking for lame.h... no
checking for lame_get_lametag_frame in -lmp3lame... no
checking for id3tag_set_fieldvalue in -lmp3lame... no
checking twolame.h usability... no
checking twolame.h presence... no
checking for twolame.h... no
checking whether to dlopen twolame... no
checking for twolame_init in -ltwolame... no
checking gsm/gsm.h usability... no
checking gsm/gsm.h presence... no
checking for gsm/gsm.h... no
checking gsm.h usability... no
checking gsm.h presence... no
checking for gsm.h... no
checking for gsm_create in -lgsm... no
checking lpc10.h usability... no
checking lpc10.h presence... no
checking for lpc10.h... no
checking for lpc10.h... (cached) no
checking for create_lpc10_encoder_state in -llpc10... no
checking vorbis/codec.h usability... no
checking vorbis/codec.h presence... no
checking for vorbis/codec.h... no
checking for OPUS... no
checking FLAC/all.h usability... no
checking FLAC/all.h presence... no
checking for FLAC/all.h... no
checking opencore-amrwb/dec_if.h usability... no
checking opencore-amrwb/dec_if.h presence... no
checking for opencore-amrwb/dec_if.h... no
checking amrwb/dec.h usability... no
checking amrwb/dec.h presence... no
checking for amrwb/dec.h... no
checking opencore-amrnb/interf_dec.h usability... no
checking opencore-amrnb/interf_dec.h presence... no
checking for opencore-amrnb/interf_dec.h... no
checking amrnb/sp_dec.h usability... no
checking amrnb/sp_dec.h presence... no
checking for amrnb/sp_dec.h... no
checking wavpack/wavpack.h usability... no
checking wavpack/wavpack.h presence... no
checking for wavpack/wavpack.h... no
checking sndio.h usability... no
checking sndio.h presence... no
checking for sndio.h... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking ao/ao.h usability... no
checking ao/ao.h presence... no
checking for ao/ao.h... no
checking pulse/simple.h usability... no
checking pulse/simple.h presence... no
checking for pulse/simple.h... no
checking for mmsystem.h... no
checking for SNDFILE... no
checking sndfile.h usability... no
checking sndfile.h presence... no
checking for sndfile.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking sun/audioio.h usability... no
checking sun/audioio.h presence... no
checking for sun/audioio.h... no
checking whether to enable symlinks... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating libgsm/Makefile
config.status: creating lpc10/Makefile
config.status: creating msvc9/Makefile
config.status: creating msvc10/Makefile
config.status: creating sox.pc
config.status: creating src/soxconfig.h
config.status: executing depfiles commands
config.status: executing libtool commands
BUILD OPTIONS
Debugging build............no
Distro name ...............not specified!
Dynamic loading support....no
Pkg-config location........$(libdir)/pkgconfig
Play and rec symlinks......yes
Symlinks enabled...........yes
OPTIONAL DEVICE DRIVERS
ao (Xiph)..................no
alsa (Linux)...............no
coreaudio (Mac OS X).......no
sndio (OpenBSD)............no
oss........................yes
pulseaudio.................no
sunaudio...................no
waveaudio (MS-Windows).....no
OPTIONAL FILE FORMATS
amrnb......................no
amrwb......................no
flac.......................no
gsm........................yes (in-tree)
lpc10......................yes (in-tree)
mp2/mp3....................no
id3tag....................no
lame......................no
mad.......................no
twolame...................no
oggvorbis..................no
opus.......................no
sndfile....................no
wavpack....................no
OTHER OPTIONS
ladspa effects.............no
magic support..............no
png support................yes
OpenMP support.............yes, -fopenmp
Configure finished. Do 'make -s && make install' to compile and install SoX.
Code: Select all
$ make -s
Making all in lpc10
CC analys.lo
CC bsynz.lo
CC chanwr.lo
CC dcbias.lo
CC decode.lo
CC deemp.lo
CC difmag.lo
CC dyptrk.lo
CC encode.lo
CC energy.lo
CC f2clib.lo
CC ham84.lo
CC hp100.lo
CC invert.lo
CC irc2pc.lo
CC ivfilt.lo
CC lpcdec.lo
CC lpcenc.lo
CC lpcini.lo
CC lpfilt.lo
CC median.lo
CC mload.lo
CC onset.lo
CC pitsyn.lo
CC placea.lo
CC placev.lo
CC preemp.lo
CC prepro.lo
CC random.lo
CC rcchk.lo
CC synths.lo
CC tbdm.lo
CC voicin.lo
CC vparms.lo
CCLD liblpc10.la
ar: `u' modifier ignored since `D' is the default (see `U')
Making all in libgsm
CC add.lo
CC code.lo
CC decode.lo
CC long_term.lo
CC lpc.lo
CC preprocess.lo
CC rpe.lo
rpe.c: In function ‘RPE_grid_positioning’:
rpe.c:404:31: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 3: *ep++ = 0;
~~~~~~^~~
rpe.c:405:17: note: here
case 2: do {
^~~~
rpe.c:406:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
*ep++ = 0;
~~~~~~^~~
rpe.c:407:17: note: here
case 1: *ep++ = 0;
^~~~
rpe.c:407:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 1: *ep++ = 0;
~~~~~~^~~
rpe.c:408:17: note: here
case 0: *ep++ = *xMp++;
^~~~
CC gsm_destroy.lo
CC gsm_decode.lo
CC gsm_encode.lo
CC gsm_create.lo
gsm_create.c:7:19: warning: ‘ident’ defined but not used [-Wunused-const-variable=]
static char const ident[] = "$Header: /cvsroot/sox/sox/libgsm/gsm_create.c,v 1.1 2007/09/06 16:50:55 cbagwell Exp $";
^~~~~
CC gsm_option.lo
CC short_term.lo
In file included from short_term.c:12:0:
short_term.c: In function ‘Decoding_of_the_coded_Log_Area_Ratios’:
short_term.c:55:32: warning: left shift of negative value [-Wshift-negative-value]
temp1 = GSM_SUB( temp1, B << 1 );
^
private.h:120:38: note: in definition of macro ‘GSM_SUB’
((ltmp = (longword)(a) - (longword)(b)) >= MAX_WORD
^
short_term.c:62:2: note: in expansion of macro ‘STEP’
STEP( -2560, -16, 13107 );
^~~~
short_term.c:55:32: warning: left shift of negative value [-Wshift-negative-value]
temp1 = GSM_SUB( temp1, B << 1 );
^
private.h:120:38: note: in definition of macro ‘GSM_SUB’
((ltmp = (longword)(a) - (longword)(b)) >= MAX_WORD
^
short_term.c:65:2: note: in expansion of macro ‘STEP’
STEP( -1792, -8, 17476 );
^~~~
short_term.c:55:32: warning: left shift of negative value [-Wshift-negative-value]
temp1 = GSM_SUB( temp1, B << 1 );
^
private.h:120:38: note: in definition of macro ‘GSM_SUB’
((ltmp = (longword)(a) - (longword)(b)) >= MAX_WORD
^
short_term.c:66:2: note: in expansion of macro ‘STEP’
STEP( -341, -4, 31454 );
^~~~
short_term.c:55:32: warning: left shift of negative value [-Wshift-negative-value]
temp1 = GSM_SUB( temp1, B << 1 );
^
private.h:120:38: note: in definition of macro ‘GSM_SUB’
((ltmp = (longword)(a) - (longword)(b)) >= MAX_WORD
^
short_term.c:67:2: note: in expansion of macro ‘STEP’
STEP( -1144, -4, 29708 );
^~~~
CC table.lo
CCLD libgsm.la
ar: `u' modifier ignored since `D' is the default (see `U')
Making all in src
CC sox.o
sox.c: In function ‘update_status’:
sox.c:1248:23: warning: ‘%u’ directive writing between 1 and 9 bytes into a region of size 7 [-Wformat-overflow=]
sprintf(buff, "Hd:%u.%u", h /10, h % 10);
^~
sox.c:1248:19: note: directive argument in the range [0, 429496729]
sprintf(buff, "Hd:%u.%u", h /10, h % 10);
^~~~~~~~~~
sox.c:1248:19: note: directive argument in the range [0, 9]
In file included from /usr/include/stdio.h:862:0,
from util.h:20,
from sox.c:26:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 7 and 15 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC libsox_la-adpcms.lo
CC libsox_la-aiff.lo
CC libsox_la-cvsd.lo
CC libsox_la-g711.lo
CC libsox_la-g721.lo
CC libsox_la-g723_24.lo
CC libsox_la-g723_40.lo
CC libsox_la-g72x.lo
CC libsox_la-vox.lo
CC libsox_la-raw.lo
CC libsox_la-formats.lo
CC libsox_la-formats_i.lo
CC libsox_la-skelform.lo
CC libsox_la-xmalloc.lo
CC libsox_la-getopt.lo
CC libsox_la-util.lo
util.c: In function ‘lsx_sigfigs3’:
util.c:124:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 2: if (b) return string[n]; /* Can fall through */
^
util.c:125:5: note: here
case 1: c = 2; break;
^~~~
CC libsox_la-libsox.lo
CC libsox_la-libsox_i.lo
CC libsox_la-sox-fmt.lo
CC libsox_la-bend.lo
CC libsox_la-biquad.lo
CC libsox_la-biquads.lo
CC libsox_la-chorus.lo
CC libsox_la-compand.lo
CC libsox_la-compandt.lo
CC libsox_la-contrast.lo
CC libsox_la-dcshift.lo
CC libsox_la-delay.lo
CC libsox_la-dft_filter.lo
CC libsox_la-dither.lo
In file included from dither.c:274:0:
dither.h: In function ‘flow_iir_4’:
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value]
if (i < (-1 << (p->prec-1)))
^~
In file included from dither.c:279:0:
dither.h: In function ‘flow_fir_5’:
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value]
if (i < (-1 << (p->prec-1)))
^~
In file included from dither.c:283:0:
dither.h: In function ‘flow_fir_9’:
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value]
if (i < (-1 << (p->prec-1)))
^~
In file included from dither.c:287:0:
dither.h: In function ‘flow_fir_15’:
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value]
if (i < (-1 << (p->prec-1)))
^~
In file included from dither.c:291:0:
dither.h: In function ‘flow_fir_16’:
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value]
if (i < (-1 << (p->prec-1)))
^~
In file included from dither.c:295:0:
dither.h: In function ‘flow_fir_20’:
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value]
if (i < (-1 << (p->prec-1)))
^~
dither.c: In function ‘flow_no_shape’:
dither.c:328:20: warning: left shift of negative value [-Wshift-negative-value]
if (i <= (-1 << (p->prec-1)))
^~
CC libsox_la-divide.lo
CC libsox_la-dop.lo
CC libsox_la-downsample.lo
CC libsox_la-earwax.lo
CC libsox_la-echo.lo
CC libsox_la-echos.lo
CC libsox_la-effects.lo
CC libsox_la-effects_i.lo
CC libsox_la-effects_i_dsp.lo
effects_i_dsp.c:583:0: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
effects_i_dsp.c: In function ‘lsx_save_samples’:
effects_i_dsp.c:582:41: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define _ dest[i] = lrint32(src[i]), ++i,
^
effects_i_dsp.c:604:19: note: in expansion of macro ‘_’
_ _ _ _ _ _ _ _ 0;
^
effects_i_dsp.c: At top level:
effects_i_dsp.c:621:0: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS OFF
CC libsox_la-fade.lo
CC libsox_la-fft4g.lo
CC libsox_la-fir.lo
CC libsox_la-firfit.lo
CC libsox_la-flanger.lo
CC libsox_la-gain.lo
CC libsox_la-hilbert.lo
CC libsox_la-input.lo
CC libsox_la-ladspa.lo
CC libsox_la-loudness.lo
CC libsox_la-mcompand.lo
CC libsox_la-noiseprof.lo
CC libsox_la-noisered.lo
CC libsox_la-output.lo
CC libsox_la-overdrive.lo
CC libsox_la-pad.lo
CC libsox_la-phaser.lo
CC libsox_la-rate.lo
CC libsox_la-remix.lo
CC libsox_la-repeat.lo
CC libsox_la-reverb.lo
CC libsox_la-reverse.lo
CC libsox_la-sdm.lo
CC libsox_la-silence.lo
silence.c: In function ‘aboveThreshold’:
silence.c:280:43: warning: left shift of negative value [-Wshift-negative-value]
sox_sample_t masked_value = value & (-1 << (32 - effp->in_signal.precision));
^~
CC libsox_la-sinc.lo
CC libsox_la-skeleff.lo
CC libsox_la-speed.lo
CC libsox_la-splice.lo
CC libsox_la-stat.lo
CC libsox_la-stats.lo
CC libsox_la-stretch.lo
CC libsox_la-swap.lo
CC libsox_la-synth.lo
CC libsox_la-tempo.lo
CC libsox_la-tremolo.lo
CC libsox_la-trim.lo
CC libsox_la-upsample.lo
CC libsox_la-vad.lo
CC libsox_la-vol.lo
CC libsox_la-spectrogram.lo
spectrogram.c: In function ‘rdft_p’:
spectrogram.c:202:51: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define _ re += in[i] * *q++, im += in[i++] * *q++,
^
spectrogram.c:208:46: note: in expansion of macro ‘_’
for (i = 0; i < (n & ~7);) _ _ _ _ _ _ _ _ 0;
^
spectrogram.c:202:51: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define _ re += in[i] * *q++, im += in[i++] * *q++,
^
spectrogram.c:209:19: note: in expansion of macro ‘_’
while (i < n) _ 0;
^
CC libsox_la-raw-fmt.lo
CC libsox_la-s1-fmt.lo
CC libsox_la-s2-fmt.lo
CC libsox_la-s3-fmt.lo
CC libsox_la-s4-fmt.lo
CC libsox_la-u1-fmt.lo
CC libsox_la-u2-fmt.lo
CC libsox_la-u3-fmt.lo
CC libsox_la-u4-fmt.lo
CC libsox_la-al-fmt.lo
CC libsox_la-la-fmt.lo
CC libsox_la-ul-fmt.lo
CC libsox_la-lu-fmt.lo
CC libsox_la-8svx.lo
CC libsox_la-aiff-fmt.lo
CC libsox_la-aifc-fmt.lo
CC libsox_la-au.lo
CC libsox_la-avr.lo
CC libsox_la-cdr.lo
CC libsox_la-cvsd-fmt.lo
CC libsox_la-dvms-fmt.lo
CC libsox_la-dat.lo
CC libsox_la-hcom.lo
CC libsox_la-htk.lo
CC libsox_la-maud.lo
CC libsox_la-prc.lo
CC libsox_la-sf.lo
CC libsox_la-smp.lo
CC libsox_la-sounder.lo
CC libsox_la-soundtool.lo
CC libsox_la-sphere.lo
CC libsox_la-tx16w.lo
CC libsox_la-voc.lo
voc.c: In function ‘getblock’:
voc.c:651:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
lsx_readb(ft, &uc);
^~~~~~~~~~~~~~~~~~
voc.c:653:7: note: here
case VOC_TEXT:
^~~~
CC libsox_la-vox-fmt.lo
CC libsox_la-ima-fmt.lo
CC libsox_la-adpcm.lo
CC libsox_la-ima_rw.lo
CC libsox_la-wav.lo
wav.c: In function ‘startwrite’:
wav.c:1272:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
lsx_ima_init_table();
^~~~~~~~~~~~~~~~~~~~
wav.c:1274:9: note: here
case WAVE_FORMAT_ADPCM:
^~~~
CC libsox_la-wve.lo
CC libsox_la-xa.lo
CC libsox_la-nulfile.lo
CC libsox_la-f4-fmt.lo
CC libsox_la-f8-fmt.lo
CC libsox_la-gsrt.lo
CC libsox_la-dsf.lo
CC libsox_la-dsdiff.lo
CC libsox_la-gsm.lo
CC libsox_la-lpc10.lo
CC libsox_la-oss.lo
CCLD libsox.la
copying selected object files to avoid basename conflicts...
ar: `u' modifier ignored since `D' is the default (see `U')
CCLD sox
CC sox_sample_test.o
In file included from sox_sample_test.h:21:0,
from sox_sample_test.c:18:
sox_sample_test.h: In function ‘main’:
sox_sample_test.h:39:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1));
^
sox_sample_test.h:39:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1));
^
sox_sample_test.h:39:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1));
^
sox_sample_test.h:96:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1));
^
sox_sample_test.h:96:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1));
^
sox_sample_test.h:96:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1));
^
CCLD sox_sample_test
CC example0.o
In file included from example0.c:27:0:
example0.c: In function ‘main’:
example0.c:46:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_read(argv[1], NULL, NULL, NULL));
^
example0.c:51:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(out = sox_open_write(argv[2], &in->signal, NULL, NULL, NULL, NULL));
^
CCLD example0
CC example1.o
In file included from example1.c:27:0:
example1.c: In function ‘main’:
example1.c:118:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_read(argv[1], NULL, NULL, NULL));
^
example1.c:123:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(out = sox_open_write(argv[2], &in->signal, NULL, NULL, NULL, NULL));
^
CCLD example1
CC example2.o
In file included from example2.c:28:0:
example2.c: In function ‘main’:
example2.c:53:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_read(*argv, NULL, NULL, NULL));
^
example2.c:78:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(buf = malloc(sizeof(sox_sample_t) * block_size));
^
CCLD example2
CC example3.o
In file included from example3.c:27:0:
example3.c: In function ‘main’:
example3.c:68:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_read(argv[1], NULL, NULL, NULL));
^
example3.c:70:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(out= sox_open_write("default", &in->signal, NULL, "alsa", NULL, NULL));
^
CCLD example3
CC example4.o
CCLD example4
CC example5.o
In file included from example5.c:27:0:
example5.c: In function ‘main’:
example5.c:60:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_read(argv[1], NULL, NULL, NULL));
^
example5.c:64:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(out = sox_open_memstream_write(&buffer, &buffer_size, &in->signal, NULL, "sox", NULL));
^
example5.c:71:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_mem_read(buffer, buffer_size, NULL, NULL, NULL));
^
example5.c:72:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(out = sox_open_write(argv[2], &in->signal, NULL, NULL, NULL, NULL));
^
CCLD example5
CC example6.o
In file included from example6.c:27:0:
example6.c: In function ‘main’:
example6.c:89:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_read(argv[1], NULL, NULL, NULL));
^
example6.c:90:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(out = sox_open_write(argv[2], &out_signal, &out_encoding, NULL, NULL, NULL));
^
CCLD example6
I know this is a lot to digest, but at least we know that it builds. I was able to make a .deb file of it — let me know if you’re interested.
-
ajgringo619
Re: C compiler cannot create executables
Post
by ajgringo619 » Sun Feb 17, 2019 1:33 pm
It’s obvious that the problem starts in your first command (autoreconf -i
). Do you have libtoolize installed (part of the libtool package)? What about m4?
-
Crojav
Re: C compiler cannot create executables
Post
by Crojav » Sun Feb 17, 2019 2:34 pm
ajgringo619 wrote: ↑
Sun Feb 17, 2019 1:33 pm
It’s obvious that the problem starts in your first command (autoreconf -i
). Do you have libtoolize installed (part of the libtool package)? What about m4?
No I did not had the libtool so install it. m4 was installed.
Now I am in your direction, but still one error.
Yes I am interested in the .deb
Code: Select all
crojav@crojav-hp:~/sox$ ./configure
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 build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... 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 style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %sn
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to make a debug build...
checking whether libssp exists... no
checking whether stack-smashing protection is available... yes
checking whether stack-smashing protection is buggy... no
checking whether gcc accepts -fstack-protector... yes
checking gcc version... 7
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for ANSI C header files... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking byteswap.h usability... yes
checking byteswap.h presence... yes
checking for byteswap.h... yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/timeb.h usability... yes
checking sys/timeb.h presence... yes
checking for sys/timeb.h... yes
checking for sys/types.h... (cached) yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for popen... yes
checking for vsnprintf... yes
checking for gettimeofday... yes
checking for mkstemp... yes
checking for fmemopen... yes
checking for aligned_alloc... yes
checking for library containing pow... -lm
checking for library containing lrint... none required
checking for lrint... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether libtool should be silenced... yes
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking for gcc option to support OpenMP... -fopenmp
checking for libtool version... 2.4.6, OK
checking magic.h usability... no
checking magic.h presence... no
checking for magic.h... no
checking png.h usability... no
checking png.h presence... no
checking for png.h... no
checking libpng/png.h usability... no
checking libpng/png.h presence... no
checking for libpng/png.h... no
checking mad.h usability... no
checking mad.h presence... no
checking for mad.h... no
checking whether to dlopen mad... no
checking for mad_stream_buffer in -lmad... no
checking id3tag.h usability... no
checking id3tag.h presence... no
checking for id3tag.h... no
checking whether to dlopen lame... no
checking lame/lame.h usability... no
checking lame/lame.h presence... no
checking for lame/lame.h... no
checking lame.h usability... no
checking lame.h presence... no
checking for lame.h... no
checking for lame_get_lametag_frame in -lmp3lame... no
checking for id3tag_set_fieldvalue in -lmp3lame... no
checking twolame.h usability... no
checking twolame.h presence... no
checking for twolame.h... no
checking whether to dlopen twolame... no
checking for twolame_init in -ltwolame... no
checking gsm/gsm.h usability... no
checking gsm/gsm.h presence... no
checking for gsm/gsm.h... no
checking gsm.h usability... no
checking gsm.h presence... no
checking for gsm.h... no
checking for gsm_create in -lgsm... no
checking lpc10.h usability... no
checking lpc10.h presence... no
checking for lpc10.h... no
checking for lpc10.h... (cached) no
checking for create_lpc10_encoder_state in -llpc10... no
checking vorbis/codec.h usability... no
checking vorbis/codec.h presence... no
checking for vorbis/codec.h... no
checking for OPUS... no
checking FLAC/all.h usability... no
checking FLAC/all.h presence... no
checking for FLAC/all.h... no
checking opencore-amrwb/dec_if.h usability... yes
checking opencore-amrwb/dec_if.h presence... yes
checking for opencore-amrwb/dec_if.h... yes
checking for D_IF_init in -lopencore-amrwb... yes
checking opencore-amrnb/interf_dec.h usability... yes
checking opencore-amrnb/interf_dec.h presence... yes
checking for opencore-amrnb/interf_dec.h... yes
checking for Decoder_Interface_init in -lopencore-amrnb... yes
checking wavpack/wavpack.h usability... no
checking wavpack/wavpack.h presence... no
checking for wavpack/wavpack.h... no
checking sndio.h usability... no
checking sndio.h presence... no
checking for sndio.h... no
checking CoreAudio/CoreAudio.h usability... no
checking CoreAudio/CoreAudio.h presence... no
checking for CoreAudio/CoreAudio.h... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking ao/ao.h usability... no
checking ao/ao.h presence... no
checking for ao/ao.h... no
checking pulse/simple.h usability... no
checking pulse/simple.h presence... no
checking for pulse/simple.h... no
checking for mmsystem.h... no
checking for SNDFILE... no
checking sndfile.h usability... no
checking sndfile.h presence... no
checking for sndfile.h... no
checking sys/soundcard.h usability... yes
checking sys/soundcard.h presence... yes
checking for sys/soundcard.h... yes
checking sys/audioio.h usability... no
checking sys/audioio.h presence... no
checking for sys/audioio.h... no
checking sun/audioio.h usability... no
checking sun/audioio.h presence... no
checking for sun/audioio.h... no
checking whether to enable symlinks... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating libgsm/Makefile
config.status: creating lpc10/Makefile
config.status: creating msvc9/Makefile
config.status: creating msvc10/Makefile
config.status: creating sox.pc
config.status: creating src/soxconfig.h
config.status: src/soxconfig.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
BUILD OPTIONS
Debugging build............no
Distro name ...............not specified!
Dynamic loading support....no
Pkg-config location........$(libdir)/pkgconfig
Play and rec symlinks......yes
Symlinks enabled...........yes
OPTIONAL DEVICE DRIVERS
ao (Xiph)..................no
alsa (Linux)...............no
coreaudio (Mac OS X).......no
sndio (OpenBSD)............no
oss........................yes
pulseaudio.................no
sunaudio...................no
waveaudio (MS-Windows).....no
OPTIONAL FILE FORMATS
amrnb......................yes
dlopen amrnb..............no
amrwb......................yes
dlopen amrwb..............no
flac.......................no
gsm........................yes (in-tree)
lpc10......................yes (in-tree)
mp2/mp3....................no
id3tag....................no
lame......................no
mad.......................no
twolame...................no
oggvorbis..................no
opus.......................no
sndfile....................no
wavpack....................no
OTHER OPTIONS
ladspa effects.............no
magic support..............no
png support................no
OpenMP support.............yes, -fopenmp
Configure finished. Do 'make -s && make install' to compile and install SoX.
Code: Select all
crojav@crojav-hp:~/sox$ sudo make -s && make install
[sudo] wachtwoord voor crojav:
Making all in lpc10
CC analys.lo
CC bsynz.lo
CC chanwr.lo
CC dcbias.lo
CC decode.lo
CC deemp.lo
CC difmag.lo
CC dyptrk.lo
CC encode.lo
CC energy.lo
CC f2clib.lo
CC ham84.lo
CC hp100.lo
CC invert.lo
CC irc2pc.lo
CC ivfilt.lo
CC lpcdec.lo
CC lpcenc.lo
CC lpcini.lo
CC lpfilt.lo
CC median.lo
CC mload.lo
CC onset.lo
CC pitsyn.lo
CC placea.lo
CC placev.lo
CC preemp.lo
CC prepro.lo
CC random.lo
CC rcchk.lo
CC synths.lo
CC tbdm.lo
CC voicin.lo
CC vparms.lo
CCLD liblpc10.la
ar: `u' modifier ignored since `D' is the default (see `U')
Making all in libgsm
CC add.lo
CC code.lo
CC decode.lo
CC long_term.lo
CC lpc.lo
CC preprocess.lo
CC rpe.lo
rpe.c: In function ‘RPE_grid_positioning’:
rpe.c:404:31: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 3: *ep++ = 0;
~~~~~~^~~
rpe.c:405:17: note: here
case 2: do {
^~~~
rpe.c:406:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
*ep++ = 0;
~~~~~~^~~
rpe.c:407:17: note: here
case 1: *ep++ = 0;
^~~~
rpe.c:407:39: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 1: *ep++ = 0;
~~~~~~^~~
rpe.c:408:17: note: here
case 0: *ep++ = *xMp++;
^~~~
CC gsm_destroy.lo
CC gsm_decode.lo
CC gsm_encode.lo
CC gsm_create.lo
gsm_create.c:7:19: warning: ‘ident’ defined but not used [-Wunused-const-variable=]
static char const ident[] = "$Header: /cvsroot/sox/sox/libgsm/gsm_create.c,v 1.1 2007/09/06 16:50:55 cbagwell Exp $";
^~~~~
CC gsm_option.lo
CC short_term.lo
In file included from short_term.c:12:0:
short_term.c: In function ‘Decoding_of_the_coded_Log_Area_Ratios’:
short_term.c:55:32: warning: left shift of negative value [-Wshift-negative-value]
temp1 = GSM_SUB( temp1, B << 1 );
^
private.h:120:38: note: in definition of macro ‘GSM_SUB’
((ltmp = (longword)(a) - (longword)(b)) >= MAX_WORD
^
short_term.c:62:2: note: in expansion of macro ‘STEP’
STEP( -2560, -16, 13107 );
^~~~
short_term.c:55:32: warning: left shift of negative value [-Wshift-negative-value]
temp1 = GSM_SUB( temp1, B << 1 );
^
private.h:120:38: note: in definition of macro ‘GSM_SUB’
((ltmp = (longword)(a) - (longword)(b)) >= MAX_WORD
^
short_term.c:65:2: note: in expansion of macro ‘STEP’
STEP( -1792, -8, 17476 );
^~~~
short_term.c:55:32: warning: left shift of negative value [-Wshift-negative-value]
temp1 = GSM_SUB( temp1, B << 1 );
^
private.h:120:38: note: in definition of macro ‘GSM_SUB’
((ltmp = (longword)(a) - (longword)(b)) >= MAX_WORD
^
short_term.c:66:2: note: in expansion of macro ‘STEP’
STEP( -341, -4, 31454 );
^~~~
short_term.c:55:32: warning: left shift of negative value [-Wshift-negative-value]
temp1 = GSM_SUB( temp1, B << 1 );
^
private.h:120:38: note: in definition of macro ‘GSM_SUB’
((ltmp = (longword)(a) - (longword)(b)) >= MAX_WORD
^
short_term.c:67:2: note: in expansion of macro ‘STEP’
STEP( -1144, -4, 29708 );
^~~~
CC table.lo
CCLD libgsm.la
ar: `u' modifier ignored since `D' is the default (see `U')
Making all in src
CC sox.o
sox.c: In function ‘update_status’:
sox.c:1248:23: warning: ‘%u’ directive writing between 1 and 9 bytes into a region of size 7 [-Wformat-overflow=]
sprintf(buff, "Hd:%u.%u", h /10, h % 10);
^~
sox.c:1248:19: note: directive argument in the range [0, 429496729]
sprintf(buff, "Hd:%u.%u", h /10, h % 10);
^~~~~~~~~~
sox.c:1248:19: note: directive argument in the range [0, 9]
In file included from /usr/include/stdio.h:862:0,
from util.h:20,
from sox.c:26:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 7 and 15 bytes into a destination of size 10
return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__bos (__s), __fmt, __va_arg_pack ());
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CC libsox_la-adpcms.lo
CC libsox_la-aiff.lo
CC libsox_la-cvsd.lo
CC libsox_la-g711.lo
CC libsox_la-g721.lo
CC libsox_la-g723_24.lo
CC libsox_la-g723_40.lo
CC libsox_la-g72x.lo
CC libsox_la-vox.lo
CC libsox_la-raw.lo
CC libsox_la-formats.lo
CC libsox_la-formats_i.lo
CC libsox_la-skelform.lo
CC libsox_la-xmalloc.lo
CC libsox_la-getopt.lo
CC libsox_la-util.lo
util.c: In function ‘lsx_sigfigs3’:
util.c:124:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
case 2: if (b) return string[n]; /* Can fall through */
^
util.c:125:5: note: here
case 1: c = 2; break;
^~~~
CC libsox_la-libsox.lo
CC libsox_la-libsox_i.lo
CC libsox_la-sox-fmt.lo
CC libsox_la-bend.lo
CC libsox_la-biquad.lo
CC libsox_la-biquads.lo
CC libsox_la-chorus.lo
CC libsox_la-compand.lo
CC libsox_la-compandt.lo
CC libsox_la-contrast.lo
CC libsox_la-dcshift.lo
CC libsox_la-delay.lo
CC libsox_la-dft_filter.lo
CC libsox_la-dither.lo
In file included from dither.c:274:0:
dither.h: In function ‘flow_iir_4’:
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value]
if (i < (-1 << (p->prec-1)))
^~
In file included from dither.c:279:0:
dither.h: In function ‘flow_fir_5’:
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value]
if (i < (-1 << (p->prec-1)))
^~
In file included from dither.c:283:0:
dither.h: In function ‘flow_fir_9’:
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value]
if (i < (-1 << (p->prec-1)))
^~
In file included from dither.c:287:0:
dither.h: In function ‘flow_fir_15’:
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value]
if (i < (-1 << (p->prec-1)))
^~
In file included from dither.c:291:0:
dither.h: In function ‘flow_fir_16’:
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value]
if (i < (-1 << (p->prec-1)))
^~
In file included from dither.c:295:0:
dither.h: In function ‘flow_fir_20’:
dither.h:47:19: warning: left shift of negative value [-Wshift-negative-value]
if (i < (-1 << (p->prec-1)))
^~
dither.c: In function ‘flow_no_shape’:
dither.c:328:20: warning: left shift of negative value [-Wshift-negative-value]
if (i <= (-1 << (p->prec-1)))
^~
CC libsox_la-divide.lo
CC libsox_la-dop.lo
CC libsox_la-downsample.lo
CC libsox_la-earwax.lo
CC libsox_la-echo.lo
CC libsox_la-echos.lo
CC libsox_la-effects.lo
CC libsox_la-effects_i.lo
CC libsox_la-effects_i_dsp.lo
effects_i_dsp.c:583:0: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS ON
effects_i_dsp.c: In function ‘lsx_save_samples’:
effects_i_dsp.c:582:41: warning: right-hand operand of comma expression has no effect [-Wunused-value]
#define _ dest[i] = lrint32(src[i]), ++i,
^
effects_i_dsp.c:604:19: note: in expansion of macro ‘_’
_ _ _ _ _ _ _ _ 0;
^
effects_i_dsp.c: At top level:
effects_i_dsp.c:621:0: warning: ignoring #pragma STDC FENV_ACCESS [-Wunknown-pragmas]
#pragma STDC FENV_ACCESS OFF
CC libsox_la-fade.lo
CC libsox_la-fft4g.lo
CC libsox_la-fir.lo
CC libsox_la-firfit.lo
CC libsox_la-flanger.lo
CC libsox_la-gain.lo
CC libsox_la-hilbert.lo
CC libsox_la-input.lo
CC libsox_la-ladspa.lo
CC libsox_la-loudness.lo
CC libsox_la-mcompand.lo
CC libsox_la-noiseprof.lo
CC libsox_la-noisered.lo
CC libsox_la-output.lo
CC libsox_la-overdrive.lo
CC libsox_la-pad.lo
CC libsox_la-phaser.lo
CC libsox_la-rate.lo
CC libsox_la-remix.lo
CC libsox_la-repeat.lo
CC libsox_la-reverb.lo
CC libsox_la-reverse.lo
CC libsox_la-sdm.lo
CC libsox_la-silence.lo
silence.c: In function ‘aboveThreshold’:
silence.c:280:43: warning: left shift of negative value [-Wshift-negative-value]
sox_sample_t masked_value = value & (-1 << (32 - effp->in_signal.precision));
^~
CC libsox_la-sinc.lo
CC libsox_la-skeleff.lo
CC libsox_la-speed.lo
CC libsox_la-splice.lo
CC libsox_la-stat.lo
CC libsox_la-stats.lo
CC libsox_la-stretch.lo
CC libsox_la-swap.lo
CC libsox_la-synth.lo
CC libsox_la-tempo.lo
CC libsox_la-tremolo.lo
CC libsox_la-trim.lo
CC libsox_la-upsample.lo
CC libsox_la-vad.lo
CC libsox_la-vol.lo
CC libsox_la-raw-fmt.lo
CC libsox_la-s1-fmt.lo
CC libsox_la-s2-fmt.lo
CC libsox_la-s3-fmt.lo
CC libsox_la-s4-fmt.lo
CC libsox_la-u1-fmt.lo
CC libsox_la-u2-fmt.lo
CC libsox_la-u3-fmt.lo
CC libsox_la-u4-fmt.lo
CC libsox_la-al-fmt.lo
CC libsox_la-la-fmt.lo
CC libsox_la-ul-fmt.lo
CC libsox_la-lu-fmt.lo
CC libsox_la-8svx.lo
CC libsox_la-aiff-fmt.lo
CC libsox_la-aifc-fmt.lo
CC libsox_la-au.lo
CC libsox_la-avr.lo
CC libsox_la-cdr.lo
CC libsox_la-cvsd-fmt.lo
CC libsox_la-dvms-fmt.lo
CC libsox_la-dat.lo
CC libsox_la-hcom.lo
CC libsox_la-htk.lo
CC libsox_la-maud.lo
CC libsox_la-prc.lo
CC libsox_la-sf.lo
CC libsox_la-smp.lo
CC libsox_la-sounder.lo
CC libsox_la-soundtool.lo
CC libsox_la-sphere.lo
CC libsox_la-tx16w.lo
CC libsox_la-voc.lo
voc.c: In function ‘getblock’:
voc.c:651:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
lsx_readb(ft, &uc);
^~~~~~~~~~~~~~~~~~
voc.c:653:7: note: here
case VOC_TEXT:
^~~~
CC libsox_la-vox-fmt.lo
CC libsox_la-ima-fmt.lo
CC libsox_la-adpcm.lo
CC libsox_la-ima_rw.lo
CC libsox_la-wav.lo
wav.c: In function ‘startwrite’:
wav.c:1272:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
lsx_ima_init_table();
^~~~~~~~~~~~~~~~~~~~
wav.c:1274:9: note: here
case WAVE_FORMAT_ADPCM:
^~~~
CC libsox_la-wve.lo
CC libsox_la-xa.lo
CC libsox_la-nulfile.lo
CC libsox_la-f4-fmt.lo
CC libsox_la-f8-fmt.lo
CC libsox_la-gsrt.lo
CC libsox_la-dsf.lo
CC libsox_la-dsdiff.lo
CC libsox_la-amr-nb.lo
amr-nb.c:127:26: warning: ‘amr_gp3_library_names’ defined but not used [-Wunused-const-variable=]
static const char* const amr_gp3_library_names[] =
^~~~~~~~~~~~~~~~~~~~~
CC libsox_la-amr-wb.lo
amr-wb.c:116:26: warning: ‘amr_gp3_library_names’ defined but not used [-Wunused-const-variable=]
static const char* const amr_gp3_library_names[] =
^~~~~~~~~~~~~~~~~~~~~
CC libsox_la-gsm.lo
CC libsox_la-lpc10.lo
CC libsox_la-oss.lo
CCLD libsox.la
copying selected object files to avoid basename conflicts...
ar: `u' modifier ignored since `D' is the default (see `U')
CCLD sox
CC sox_sample_test.o
In file included from sox_sample_test.h:21:0,
from sox_sample_test.c:18:
sox_sample_test.h: In function ‘main’:
sox_sample_test.h:39:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1));
^
sox_sample_test.h:39:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1));
^
sox_sample_test.h:39:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(sample * SOX_INT_MAX(bits) == SOX_UNSIGNED_TO_SAMPLE(bits,1));
^
sox_sample_test.h:96:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1));
^
sox_sample_test.h:96:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1));
^
sox_sample_test.h:96:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
assert(sample * SOX_INT_MAX(bits) == SOX_SIGNED_TO_SAMPLE(bits,SOX_INT_MIN(bits)+1));
^
CCLD sox_sample_test
CC example0.o
In file included from example0.c:27:0:
example0.c: In function ‘main’:
example0.c:46:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_read(argv[1], NULL, NULL, NULL));
^
example0.c:51:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(out = sox_open_write(argv[2], &in->signal, NULL, NULL, NULL, NULL));
^
CCLD example0
CC example1.o
In file included from example1.c:27:0:
example1.c: In function ‘main’:
example1.c:118:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_read(argv[1], NULL, NULL, NULL));
^
example1.c:123:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(out = sox_open_write(argv[2], &in->signal, NULL, NULL, NULL, NULL));
^
CCLD example1
CC example2.o
In file included from example2.c:28:0:
example2.c: In function ‘main’:
example2.c:53:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_read(*argv, NULL, NULL, NULL));
^
example2.c:78:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(buf = malloc(sizeof(sox_sample_t) * block_size));
^
CCLD example2
CC example3.o
In file included from example3.c:27:0:
example3.c: In function ‘main’:
example3.c:68:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_read(argv[1], NULL, NULL, NULL));
^
example3.c:70:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(out= sox_open_write("default", &in->signal, NULL, "alsa", NULL, NULL));
^
CCLD example3
CC example4.o
CCLD example4
CC example5.o
In file included from example5.c:27:0:
example5.c: In function ‘main’:
example5.c:60:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_read(argv[1], NULL, NULL, NULL));
^
example5.c:64:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(out = sox_open_memstream_write(&buffer, &buffer_size, &in->signal, NULL, "sox", NULL));
^
example5.c:71:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_mem_read(buffer, buffer_size, NULL, NULL, NULL));
^
example5.c:72:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(out = sox_open_write(argv[2], &in->signal, NULL, NULL, NULL, NULL));
^
CCLD example5
CC example6.o
In file included from example6.c:27:0:
example6.c: In function ‘main’:
example6.c:89:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(in = sox_open_read(argv[1], NULL, NULL, NULL));
^
example6.c:90:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
assert(out = sox_open_write(argv[2], &out_signal, &out_encoding, NULL, NULL, NULL));
^
CCLD example6
Making install in lpc10
make[1]: Map '/home/crojav/sox/lpc10' wordt binnengegaan
make[2]: Map '/home/crojav/sox/lpc10' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/crojav/sox/lpc10' wordt verlaten
make[1]: Map '/home/crojav/sox/lpc10' wordt verlaten
Making install in libgsm
make[1]: Map '/home/crojav/sox/libgsm' wordt binnengegaan
make[2]: Map '/home/crojav/sox/libgsm' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/crojav/sox/libgsm' wordt verlaten
make[1]: Map '/home/crojav/sox/libgsm' wordt verlaten
Making install in src
make[1]: Map '/home/crojav/sox/src' wordt binnengegaan
make[2]: Map '/home/crojav/sox/src' wordt binnengegaan
/bin/mkdir -p '/usr/local/lib'
/bin/bash ../libtool --silent --silent --mode=install /usr/bin/install -c libsox.la '/usr/local/lib'
/usr/bin/install: cannot create regular file '/usr/local/lib/libsox.so.3.0.0': Permission denied
Makefile:1132: recipe for target 'install-libLTLIBRARIES' failed
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Map '/home/crojav/sox/src' wordt verlaten
Makefile:2851: recipe for target 'install-am' failed
make[1]: *** [install-am] Error 2
make[1]: Map '/home/crojav/sox/src' wordt verlaten
Makefile:590: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1
-
ajgringo619
Re: C compiler cannot create executables
Post
by ajgringo619 » Sun Feb 17, 2019 2:43 pm
You’re right there — you need to run sudo make install
instead of make install
; that will fix your permissions issue. There’s no need to rerun anything else.
-
Crojav
Re: C compiler cannot create executables
Post
by Crojav » Mon Feb 18, 2019 12:15 am
ajgringo619 wrote: ↑
Sun Feb 17, 2019 2:43 pm
You’re right there — you need to runsudo make install
instead ofmake install
; that will fix your permissions issue. There’s no need to rerun anything else.
Still one error >>> symbol lookup error: undefined symbol: lsx_malloc
Code: Select all
crojav@crojav-hp:~/sox$ sudo make install
[sudo] wachtwoord voor crojav:
Making install in lpc10
make[1]: Map '/home/crojav/sox/lpc10' wordt binnengegaan
make[2]: Map '/home/crojav/sox/lpc10' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/crojav/sox/lpc10' wordt verlaten
make[1]: Map '/home/crojav/sox/lpc10' wordt verlaten
Making install in libgsm
make[1]: Map '/home/crojav/sox/libgsm' wordt binnengegaan
make[2]: Map '/home/crojav/sox/libgsm' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
make[2]: Er hoeft niets gedaan te worden voor 'install-data-am'.
make[2]: Map '/home/crojav/sox/libgsm' wordt verlaten
make[1]: Map '/home/crojav/sox/libgsm' wordt verlaten
Making install in src
make[1]: Map '/home/crojav/sox/src' wordt binnengegaan
make[2]: Map '/home/crojav/sox/src' wordt binnengegaan
/bin/mkdir -p '/usr/local/lib'
/bin/bash ../libtool --silent --silent --mode=install /usr/bin/install -c libsox.la '/usr/local/lib'
/bin/mkdir -p '/usr/local/bin'
/bin/bash ../libtool --silent --silent --mode=install /usr/bin/install -c sox '/usr/local/bin'
make install-exec-hook
make[3]: Map '/home/crojav/sox/src' wordt binnengegaan
if test "yes" = "yes"; then
cd /usr/local/bin; rm -f play rec; ln -s sox play; ln -s sox rec;
fi
if test "yes" = "yes"; then
cd /usr/local/bin; rm -f soxi; ln -s sox soxi;
fi
make[3]: Map '/home/crojav/sox/src' wordt verlaten
/bin/mkdir -p '/usr/local/include'
/usr/bin/install -c -m 644 sox.h '/usr/local/include'
make[2]: Map '/home/crojav/sox/src' wordt verlaten
make[1]: Map '/home/crojav/sox/src' wordt verlaten
make[1]: Map '/home/crojav/sox' wordt binnengegaan
make[2]: Map '/home/crojav/sox' wordt binnengegaan
make[2]: Er hoeft niets gedaan te worden voor 'install-exec-am'.
/bin/mkdir -p '/usr/local/share/man/man1'
/usr/bin/install -c -m 644 sox.1 soxi.1 '/usr/local/share/man/man1'
/bin/mkdir -p '/usr/local/share/man/man3'
/usr/bin/install -c -m 644 libsox.3 '/usr/local/share/man/man3'
/bin/mkdir -p '/usr/local/share/man/man7'
/usr/bin/install -c -m 644 soxformat.7 '/usr/local/share/man/man7'
/bin/mkdir -p '/usr/local/lib/pkgconfig'
/usr/bin/install -c -m 644 sox.pc '/usr/local/lib/pkgconfig'
make install-data-hook
make[3]: Map '/home/crojav/sox' wordt binnengegaan
cd /usr/local/share/man/man1 && rm -f play.1 && ln -s sox.1 play.1
cd /usr/local/share/man/man1 && rm -f rec.1 && ln -s sox.1 rec.1
cd /usr/local/share/man/man7 && rm -f soxeffect.7 && ln -s ../man1/sox.1 soxeffect.7
make[3]: Map '/home/crojav/sox' wordt verlaten
make[2]: Map '/home/crojav/sox' wordt verlaten
make[1]: Map '/home/crojav/sox' wordt verlaten
crojav@crojav-hp:~/sox$
Code: Select all
[code]crojav@crojav-hp:~/sox/wav$ sox steely-dan-josie.wav -r 2822400 -b 1 steely-dan-josie.dsf
sox: symbol lookup error: sox: undefined symbol: lsx_malloc
Ajgringo619 to see if your install also works — could you give this a try, with any wav or flac file?
Code: Select all
$ sox your-wav-or-flac-file.wav -r 2822400 -b 1 your-wav-or-flac-file.dsf
Or when I tried to play:
Code: Select all
[code]crojav@crojav-hp:~/sox/wav$ play 2L-45_stereo_01_DSF_11289k_1b.dsf
play: symbol lookup error: play: undefined symbol: lsx_malloc
Found info but I am not able to relate this to my error.
https://github.com/skratchdot/sox/blob/ … /xmalloc.h
https://sourceforge.net/p/sox/mailman/s … ansr.com/
I was able to make a .deb file of it — let me know if you’re interested.
If we can not fix my error — i would be interested to get your deb file
Thanks for all the hard work you do ajgringo619
Greeting Crojav
-
ajgringo619
Re: C compiler cannot create executables
Post
by ajgringo619 » Mon Feb 18, 2019 12:05 pm
I feel like a complete idiot! I had never heard of the play
command, so I checked to see where it came from…the sox package in the repos (same version we’ve been struggling with, too)!!! Try this:
-
Crojav
Re: C compiler cannot create executables
Post
by Crojav » Mon Feb 18, 2019 1:21 pm
ajgringo619 wrote: ↑
Mon Feb 18, 2019 12:05 pm
I feel like a complete idiot! I had never heard of theplay
command, so I checked to see where it came from…the sox package in the repos (same version we’ve been struggling with, too)!!! Try this:
No you are not a idiot. This Sox Package I like to install is not the regular Sox. I already have Sox installed. I use Sox on a daily basic. But I need the other Sox version witch comes from a fork https://github.com/mansr/sox. This Sox Fork has a special option witch you not will find in the regular Sox and that is that it is able to conversion wav or flac files to DSD.
Recap, we need to continue with the https://github.com/mansr/sox If you still have some mood and time I appreciate your help
And yes you have a
and
command for Sox
Greeting Crojav
Last edited by Crojav on Mon Feb 18, 2019 1:25 pm, edited 2 times in total.