./configure: 1434: shift: can't shift that many

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

./configure: 1434: shift: can't shift that many

Pei Jia

Hi, all:

I'm just trying to build *FFmpeg 4.2 release* from source, on Ubuntu
19.04, with gcc 8.3.0:

/% lsb_release -a//
//No LSB modules are available.//
//Distributor ID:    Ubuntu//
//Description:    Ubuntu 19.04//
//Release:    19.04//
//Codename:    disco//
//% gcc --version//
//gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0//
//Copyright (C) 2018 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./



However, failed with this *ERROR* message:

/./configure: 1434: shift: can't shift that many/

*Line 1434* of file *configure* is *shift 4* in function *test_pkg_config()*

/test_pkg_config(){//
//    log test_pkg_config "$@"//
//    name="$1"//
//    pkg_version="$2"//
//    pkg="${2%% *}"//
//    headers="$3"//
//    funcs="$4"//
//    shift 4//
//    disable $name//
//    test_cmd $pkg_config --exists --print-errors $pkg_version || return//
//    pkg_cflags=$($pkg_config --cflags $pkg_config_flags $pkg)//
//    pkg_libs=$($pkg_config --libs $pkg_config_flags $pkg)//
//    check_func_headers "$headers" "$funcs" $pkg_cflags $pkg_libs "$@" &&//
//        enable $name &&//
//        set_sanitized "${name}_cflags"    $pkg_cflags &&//
//        set_sanitized "${name}_extralibs" $pkg_libs//
//}/


Any suggestions?
Pei
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ./configure: 1434: shift: can't shift that many

Carl Eugen Hoyos-2



> Am 12.08.2019 um 09:54 schrieb Pei Jia <[hidden email]>:
>
>
> Hi, all:
>
> I'm just trying to build *FFmpeg 4.2 release* from source, on Ubuntu 19.04, with gcc 8.3.0:

Please test current FFmpeg git head and provide the configure line you tested.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: ./configure: 1434: shift: can't shift that many

Reindl Harald
In reply to this post by Pei Jia


Am 12.08.19 um 09:54 schrieb Pei Jia:

> Hi, all:
>
> I'm just trying to build *FFmpeg 4.2 release* from source, on Ubuntu
> 19.04, with gcc 8.3.0:
>
> However, failed with this *ERROR* message:
>
> /./configure: 1434: shift: can't shift that many/
>
> *Line 1434* of file *configure* is *shift 4* in function
> *test_pkg_config()*

what about post your configure line?
obviously not a general problem


[harry@srv-rhsoft:~]$ ffmpeg
ffmpeg version 4.2 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 8 (GCC)
  configuration: --prefix=/usr/local --bindir=/usr/local/bin
--mandir=/usr/local/man
--extra-cflags='-I/rpmbuild/BUILD/ffmpeg-20180810/x264-static -m64 -O2
-g0 -mfpmath=sse -mavx -msse2avx -march=sandybridge -mtune=sandybridge
-ftree-slp-vectorize -fopt-info-vec-optimized -fopenmp -pipe
-fno-strict-aliasing -fomit-frame-pointer -fexceptions
-fno-asynchronous-unwind-tables -fstack-protector-strong
--param=ssp-buffer-size=6 -Wp,-D_FORTIFY_SOURCE=2 -Wstack-protector
-Wformat -Werror=format-security -O3 -fno-strict-aliasing
-fno-tree-vectorize -ftree-slp-vectorize -fno-gcse-after-reload
-fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops
-fno-predictive-commoning -fno-tree-loop-distribute-patterns
-fno-unswitch-loops -Os -fno-strict-aliasing -fno-tree-vectorize
-ftree-slp-vectorize -falign-functions -falign-jumps -falign-loops
-fno-align-labels -fexpensive-optimizations -fmove-loop-invariants
-foptimize-strlen -fexpensive-optimizations -foptimize-strlen -fdce
-fdse -ftree-ch -ftree-dce -ftree-dse -fsplit-paths -fpeel-loops -fPIC
-flto=10 -ffat-lto-objects -fwhole-program -Wno-pointer-sign
-Wno-array-bounds -Wno-format-truncation -Wno-deprecated-declarations
-Wno-strict-overflow -Wno-discarded-qualifiers -Wno-address
-Wno-unused-variable -Wno-unused-function -Wno-unused-result
-Wno-misleading-indentation -fuse-ld=gold -fuse-linker-plugin
-Wa,--noexecstack'
--extra-ldflags='-I/rpmbuild/BUILD/ffmpeg-20180810/x264-static
-L/rpmbuild/BUILD/ffmpeg-20180810/x264-static -ldl -Wl,--as-needed
-Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -m64 -O2 -g0 -mfpmath=sse
-mavx -msse2avx -march=sandybridge -mtune=sandybridge
-ftree-slp-vectorize -fopt-info-vec-optimized -fopenmp -pipe
-fno-strict-aliasing -fomit-frame-pointer -fexceptions
-fno-asynchronous-unwind-tables -fstack-protector-strong
--param=ssp-buffer-size=6 -Wp,-D_FORTIFY_SOURCE=2 -Wstack-protector
-Wformat -Werror=format-security -O3 -fno-strict-aliasing
-fno-tree-vectorize -ftree-slp-vectorize -fno-gcse-after-reload
-fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops
-fno-predictive-commoning -fno-tree-loop-distribute-patterns
-fno-unswitch-loops -Os -fno-strict-aliasing -fno-tree-vectorize
-ftree-slp-vectorize -falign-functions -falign-jumps -falign-loops
-fno-align-labels -fexpensive-optimizations -fmove-loop-invariants
-foptimize-strlen -fexpensive-optimizations -foptimize-strlen -fdce
-fdse -ftree-ch -ftree-dce -ftree-dse -fsplit-paths -fpeel-loops -fPIC
-flto=10 -ffat-lto-objects -fwhole-program -Wno-pointer-sign
-Wno-array-bounds -Wno-format-truncation -Wno-deprecated-declarations
-Wno-strict-overflow -Wno-discarded-qualifiers -Wno-address
-Wno-unused-variable -Wno-unused-function -Wno-unused-result
-Wno-misleading-indentation -pie -fPIE -fuse-ld=gold -fuse-linker-plugin
-Wa,--noexecstack' --ar=gcc-ar --ranlib=true --enable-lto --enable-gpl
--enable-libmp3lame --enable-libtheora --enable-libvpx --enable-libx264
--enable-libx265 --enable-nonfree --enable-openssl --enable-pic
--enable-runtime-cpudetect --enable-static --enable-version3
--disable-amd3dnow --disable-amd3dnowext --disable-avdevice
--disable-debug --disable-devices --disable-ffplay --disable-ffprobe
--disable-htmlpages --disable-hwaccels --disable-iconv
--disable-libdc1394 --disable-libfreetype --disable-libgsm
--disable-libopencore-amrnb --disable-libopencore-amrwb
--disable-libopencv --disable-libopenjpeg --disable-libopus
--disable-librtmp --disable-libspeex --disable-libvorbis
--disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes
--disable-libxcb-shape --disable-libxvid --disable-podpages
--disable-postproc --disable-protocol=gopher --disable-shared
--disable-txtpages --disable-xlib
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile
options] outfile}...
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".