[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#998779: bs1770gain: bashism in configure script



[Peter Belkner]
> Hi Petter,
> 
> I've tested it with all '=' replaced by '==' and it seemed to be ok.

Very good.  While these changes in the latest version of bs1770gain kept
the script working with bash, it was not enough to get it working with dash.

This is the output I get when trying 'dash ./configure':

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 the include directive... yes (GNU style)
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 dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for ranlib... ranlib
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
no
/usr/bin/ld: /tmp/user/1000/cctFYkiC.o: in function `main':
:(.text+0x5): undefined reference to `avutil_version'
collect2: error: ld returned 1 exit status
./configure: line 5754: /tmp/user/1000/tmp.xKhoNsmK13: No such file or directory
/usr/bin/ld: /tmp/user/1000/ccwi8v3m.o: in function `main':
:(.text+0x5): undefined reference to `avcodec_version'
collect2: error: ld returned 1 exit status
./configure: line 5774: /tmp/user/1000/tmp.fQaq5bsCgh: No such file or directory
/usr/bin/ld: /tmp/user/1000/ccbh40N8.o: in function `main':
:(.text+0x5): undefined reference to `avformat_version'
collect2: error: ld returned 1 exit status
./configure: line 5794: /tmp/user/1000/tmp.b0doz3j5GV: No such file or directory
/usr/bin/ld: /tmp/user/1000/ccfWZHiU.o: in function `main':
:(.text+0x5): undefined reference to `swresample_version'
collect2: error: ld returned 1 exit status
./configure: line 5814: /tmp/user/1000/tmp.nNEWDzzPrk: No such file or directory
/usr/bin/ld: /tmp/user/1000/cc0Noh1B.o: in function `main':
:(.text+0x5): undefined reference to `swscale_version'
collect2: error: ld returned 1 exit status
./configure: line 5834: /tmp/user/1000/tmp.D8Ug6LetJU: No such file or directory
/usr/bin/ld: /tmp/user/1000/ccVL8tbm.o: in function `main':
:(.text+0x5): undefined reference to `postproc_version'
collect2: error: ld returned 1 exit status
./configure: line 5854: /tmp/user/1000/tmp.LDKuGtXYra: No such file or directory
/usr/bin/ld: /tmp/user/1000/cc9Q27V7.o: in function `main':
:(.text+0x5): undefined reference to `avfilter_version'
collect2: error: ld returned 1 exit status
./configure: line 5874: /tmp/user/1000/tmp.WBZPnAaQZk: No such file or directory
configure: linking FFmpeg
checking pthread.h usability... yes
checking pthread.h presence... no
configure: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: pthread.h: proceeding with the compiler's result
checking for pthread.h... yes
checking for pthread_create in -lpthread... ./configure: line 6201: ac_fn_c_try_link: command not found
no
configure: *******************************************************************
configure: * pthread not found.                                              *
configure: * bs10gain will be build without support for parallel processing. *
configure: *******************************************************************
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libpbutil/Makefile
config.status: creating lib1770-2/Makefile
config.status: creating libff/Makefile
config.status: creating libbg/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

Because of this I keep this bug report open.
-- 
Happy hacking
Petter Reinholdtsen


Reply to: