Re: [FFmpeg-user] Cannot build ffmpeg 4.1 on Cygwin

2018-12-28 Thread Eric Thomas
Carl,

Thanks for your help! I have successfully built a set of shared libraries
on Cygwin.

My working configure command:
bash ./configure --prefix=/usr/tmp/ffmpeg-4.1 --enable-shared
--disable-indev=dshow --disable-dxva2
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Cannot build ffmpeg 4.1 on Cygwin

2018-12-28 Thread Eric Thomas
Reindl,

Thanks for taking the time to comment.

I work in a "sensitive" environment, and am limited to what corporate
system administrators are willing to provide.
I'm looking into upgrading the Cygwin they provided.

On Fri, Dec 28, 2018 at 8:05 AM Reindl Harald 
wrote:

>
>
> Am 28.12.18 um 13:54 schrieb Eric Thomas:
> > My Cygwin is probably old - the machine I am developing on has version
> > 1.7.17
>
> seriously: cygiwn is at version 2.11.2
>
> what is the point using horrible outdated base-software and then jump to
> the latest ffmpeg? common sense says if i try to build the latest stuff
> and it don't work i first try to get my environemnt up-to-date and after
> that try again
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] cannot build shared libraries on Solaris

2018-12-28 Thread Eric Thomas
 My results:

$ ffbuild/libversion.sh avutil libavutil/version.h
libavutil_VERSION=56.22.100
libavutil_VERSION_MAJOR=56
libavutil_VERSION_MINOR=22



On Fri, Dec 28, 2018 at 7:55 AM Carl Eugen Hoyos  wrote:

> 2018-12-28 12:19 GMT+01:00, Eric Thomas :
> > Here is an example of what I have. The other libraries are similar (no
> > version numbers)..
> > find . -name *.so* | xargs ls -l
> > ./libavcodec/libavcodec.so -> libavcodec.so.
> > 47462412 ./libavcodec/libavcodec.so.
>
> I suspect this is related to your shell, try:
> $ ffbuild/libversion.sh avutil libavutil/version.h
> libavutil_VERSION=56.25.100
> libavutil_VERSION_MAJOR=56
> libavutil_VERSION_MINOR=25
> This is my output, I expect your output will not show the numbers.
>
> This is a bug that could be fixed but given that sunos is a very
> unusual target and I cannot reproduce here, my guess is that
> you can somehow convince your build environment to use
> bash instead of the Solaris shell...
>
> If you need more support, please find out what top-posting
> means and avoid it here.
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Cannot build ffmpeg 4.1 on Cygwin

2018-12-28 Thread Eric Thomas
My Cygwin is probably old - the machine I am developing on has version
1.7.17.

The "--disable-indev=dshow" flag allowed the build process to get further,
but it still fails with multiple errors.
Here are the first few...

In file included from libavutil/hwcontext_dxva2.c:31:0:
libavutil/hwcontext_dxva2.h:40:5: error: expected specifier-qualifier-list
before 'IDirect3DDeviceManager9'
libavutil/hwcontext_dxva2.h:72:5: error: expected specifier-qualifier-list
before 'IDirectXVideoDecoder'
libavutil/hwcontext_dxva2.c:40:54: error: expected declaration specifiers
or '...' before 'IDirect3DDeviceManager9'
libavutil/hwcontext_dxva2.c:64:5: error: expected specifier-qualifier-list
before 'IDirectXVideoAccelerationService'

There are several others, all occurring in hwcontext_dxva2.c

On Thu, Dec 27, 2018 at 2:25 PM Carl Eugen Hoyos  wrote:

> 2018-12-27 19:27 GMT+01:00, Eric Thomas :
>
> > libavdevice/dshow.c: In function 'dshow_cycle_devices':
> > libavdevice/dshow.c:264:12: error: 'VARIANT' has no member named 'vt'
>
> The line exists since 2011, so I would not assume an issue that can /
> should be fixed in FFmpeg, is your Cygwin old?
>
> Work-around should be "--disable-indev=dshow".
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] cannot build shared libraries on Solaris

2018-12-28 Thread Eric Thomas
Carl,

"make distclean" does not remove the compat/atomics/pthread/stdatomic.o
file on my system.

Eric

On Thu, Dec 27, 2018 at 4:11 PM Carl Eugen Hoyos  wrote:

> 2018-12-24 14:20 GMT+01:00, Eric Thomas :
>
> > Removing the stdatomic.o file, and building with 'gmake' did
> > the trick for me.
>
> This may be a bug (did "make distclean" not remove the file?)
> but since I cannot reproduce, I'll not try to fix it.
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] cannot build shared libraries on Solaris

2018-12-28 Thread Eric Thomas
Here is an example of what I have. The other libraries are similar (no
version numbers)..
find . -name *.so* | xargs ls -l
./libavcodec/libavcodec.so -> libavcodec.so.
47462412 ./libavcodec/libavcodec.so.





On Thu, Dec 27, 2018 at 4:01 PM Carl Eugen Hoyos  wrote:

> 2018-12-24 14:20 GMT+01:00, Eric Thomas :
>
> > Next question: On my Centos VM, my shared library files have the library
> > version as the filename suffix.
> > For example, "*libavcodec.so.58*".
> > On my Solaris machine, the library filenames do not have the version
> > suffix. For example, "*libavcodec.so.*"
>
> I get version suffixes here:
> $ ls -l libavcodec/libavcodec.*
> lrwxrwxrwx   1 cehoyos  staff 16 Dec 27 21:58
> libavcodec/libavcodec.so -> libavcodec.so.58
> -rwxr-xr-x   1 cehoyos  staff66379668 Dec 27 21:58
> libavcodec/libavcodec.so.58
> -rw-r--r--   1 cehoyos  staff  25622 Dec 27 21:58
> libavcodec/libavcodec.ver
> -rw-r--r--   1 cehoyos  staff 85 Dec 27 21:48
> libavcodec/libavcodec.version
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] Cannot build ffmpeg 4.1 on Cygwin

2018-12-27 Thread Eric Thomas
Hello,



I have been trying to build a set of shared libraries in Cygwin.

Here is some system info:



uname –a

 CYGWIN_NT-6.1-WOW64 tvmf2p4-ea00063 1.7.17(0.262/5/3) 2012-10-19 14:39
i686 Cygwin


gcc -v

4.5.3 posix


make –-version***(no gmake)*

 GNU Make 3.82.90



sed –-version

GNU sed 4.2.1



bash --version

GNU bash 4.1.10(4)-release (i686-pc-cygwin)


nasm -v

version 2.10.05



Configure cmd

 bash ./configure –prefix=/usr/tmp/FFmpeg-4.1 -–enable-shared

make

 CC libavdevice/alldevices.o

 gcc: unrecognized option '-pthread'

 CC libavdevice/avdevice.o

 gcc: unrecognized option '-pthread'

 libavdevice/avdevice.c: In function 'device_next':

 libavdevice/avdevice.c:88:13: warning: 'av_oformat_next' is
deprecated (declared at ./libavformat/avformat.h:2088)
 libavdevice/avdevice.c:88:13: warning: 'av_iformat_next' is
deprecated (declared at ./libavformat/avformat.h:2080)

 CC libavdevice/dshow.o
 gcc: unrecognized option '-pthread'

 libavdevice/dshow.c: In function 'dshow_cycle_devices':

 libavdevice/dshow.c:264:12: error: 'VARIANT' has no member named 'vt'

 libavdevice/dshow.c:268:46: error: 'VARIANT' has no member named 'bstrVal'

 libavdevice/dshow.c: In function 'dshow_show_filter_properties':

 libavdevice/dshow.c:516:5: warning: missing braces around initializer

 libavdevice/dshow.c:516:5: warning: (near initialization for
'filter_info.achName')

 ffbuild/common.mak:60: recipe for target 'libavdevice/dshow.o' failed

 make: *** [libavdevice/dshow.o] Error 1

Can anyone help solve this problem?

Thanks,

Eric
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] cannot build shared libraries on Solaris

2018-12-24 Thread Eric Thomas
Carl,

Removing the stdatomic.o file, and building with 'gmake' did the trick for
me. I
have a set of shared libraries. Thanks for that info!

Next question: On my Centos VM, my shared library files have the library
version as the filename suffix.
For example, "*libavcodec.so.58*".
On my Solaris machine, the library filenames do not have the version
suffix. For example, "*libavcodec.so.*"
Should the Solaris libraries have the version suffix? What edits can I make
to get the version suffix?

Thanks!
Eric

On Fri, Dec 21, 2018 at 6:09 PM Carl Eugen Hoyos  wrote:

> 2018-12-20 15:24 GMT+01:00, Eric Thomas :
>
> > My system administrator downloaded the FFmpeg 4.1
> > source code this week,
>
> Sorry for being so nosy:
> Does the following command not work for you?
> $ curl -O http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
> $ tar xf ffmpeg-snapshot.tar.bz2
>
> (Above is a quick alternative to the more common
> "git clone https://git.ffmpeg.org/ffmpeg.git";)
>
> I tested on sunos 5.11 with (default?) gcc 5.5 both
> with your configure line and fate (our testing suite)
> passes without issues.
>
> --enable-shared --enable-gpl has an unrelated issue
> here on Solaris, I'll send a patch to fix / workaround
> this problem. (Sun ld doesn't understand -rpath-link
> and searches "libpostproc.so" in "-link=libpostproc"
> instead of "libpostproc".)
>
> [...]
>
> > Text relocation remains  referenced
> >
> > against symboloffset in file
> >
> > .data (section)   0x0
> > libavutil/../compat/atomics/pthread/stdatomic.o
>
> Did you try the following?
> $ rm compat/atomics/pthread/stdatomic.o && gmake ffmpeg
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] cannot build shared libraries on Solaris

2018-12-20 Thread Eric Thomas
Hello,



My system administrator downloaded the FFmpeg 4.1 source code this week,
and I have been trying to build a set of shared libraries in Solaris. I
have successfully

built the static libraries.



Here is some system info:



uname –a

 SunOS devm 5.10 Generic_150400-61 sun4u sparc SUNW,Sun-Fire-V490



make –v

 GNU Make 3.81



gcc –v

 Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs

 Configured with:
/sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
–prefix=/usr/sfw –with-as=/usr/ccs/bin/as –without-gnu-as
–with-ld=/usr/ccs/bin/ld –without-gnu-ld –enable-language=c,c++
--enable-shared

 Thread model: posix

 gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)



sed –version

GNU sed 4.5





Configure cmd

 bash ./configure –prefix=/home/ffmpeg/FFmpeg-4.1 -–enable-shared



Here is the console output, after running ‘make’, then ‘make V=1
ffmpeg’, then ‘make V=1 ffmpeg’ again:



gcc –shared –Wl,–h, libavutil.so. –Wl,-M,libavutil.ver –Llibavcodec
–Llibavdevice –Llibavfilter –Llibavformat –Llibavresample –Llibavutil
–Llibpostproc –Llibswscale –Llibswresample
–Wl,-rpath-link=libpostproc:libswresample:libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample
–o libavutil/libavutil.so.
libavutil/../compat/atomics/pthread/stdatomic.o libavutil/adler32.o
libavutil/aes.o libavutil/aes_ctr.o libavutil/audio_fifo.o
libavutil/avstring.o libavutil/base64.o libavutil/blowfish.o
libavutil/bprint.o libavutil/buffer.o libavutil/camellia.o
libavutil/cast5.o libavutil/channel_layout.o libavutil/color_utils.o
libavutil/cpu.o libavutil/crc.o libavutil/des.o libavutil/dict.o
libavutil/display.o libavutil/downmix_info.o
libavutil/encryption_info.o libavutil/error.o libavutil/eval.o
libavutil/fifo.o libavutil/file.o libavutil/file_open.o
libavutil/fixed_dsp.o libavutil/float_dsp.o libavutil/frame.o
libavutil/hash.o libavutil/hmac.o libavutil/hwcontext.o
libavutil/imgutils.o libavutil/integer.o libavutil/intmath.o
libavutil/lfg.o libavutil/lls.o libavutil/log.o libavutil/log2_tab.o
libavutil/lzo.o libavutil/mastering_display_metadata.o
libavutil/mathematics.o libavutil/md5.o libavutil/mem.o
libavutil/murmur3.o libavutil/opt.o libavutil/parseutils.o
libavutil/pixdesc.o libavutil/pixelutils.o libavutil/random_seed.o
libavutil/rational.o libavutil/rc4.o libavutil/reverse.o
libavutil/ripemd.o libavutil/samplefmt.o libavutil/sha.o
libavutil/sha512.o libavutil/slicethread.o libavutil/spherical.o
libavutil/stereo3d.o libavutil/tea.o libavutil/threadmessage.o
libavutil/time.o libavutil/timecode.o libavutil/tree.o
libavutil/twofish.o libavutil/utils.o libavutil/xga_font_data.o
libavutil/xtea.o –lrt –pthread –lrt –lm

gcc: unrecognized option `-pthread’

Text relocation remains  referenced

against symboloffset in file

.data (section)   0x0
libavutil/../compat/atomics/pthread/stdatomic.o

.data (section)   0xc
libavutil/../compat/atomics/pthread/stdatomic.o

.data (section)   0x14
libavutil/../compat/atomics/pthread/stdatomic.o

.data (section)   0x20
libavutil/../compat/atomics/pthread/stdatomic.o

pthread_mutex_lock0x4
libavutil/../compat/atomics/pthread/stdatomic.o

pthread_mutex_lock0x8
libavutil/../compat/atomics/pthread/stdatomic.o

pthread_mutex_unlock  0x18
libavutil/../compat/atomics/pthread/stdatomic.o

pthread_mutex_unlock  0x1c
libavutil/../compat/atomics/pthread/stdatomic.o

ld: fatal: relocations remain against allocatable but non-writable sections

collect2: ld returned 1 exit status

make: *** [libavutil/libavutil.so.] Error 1





Can someone identify the problem?



Thanks!

Eric
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] running configure on SPARC

2018-12-12 Thread Eric Thomas
Hey Carl,

I am trying to build a set of shared libraries. I have successfully run
these different configure commands:

bash ./configure --prefix=/myhome/ffmpeg/FFmpeg-4.0.3 --enable-shared
bash ./configure --prefix=/myhome/ffmpeg/FFmpeg-4.0.3 --enable-shared
--extra-cflags="-fPIC"
bash ./configure --prefix=/myhome/ffmpeg/FFmpeg-4.0.3 --enable-shared
--extra-cflags="-fPIC" --enable-pic

In each case, the subsequent 'make' call returns with this error:
[myhome/ffmpeg/FFmpeg-4.0.3]$ make
Text relocation remains   referenced
against symbol  offsetin file
.data(section)  0x0
libavutil/../compat/atomics/pthread/stdatomic.o
.data(section)  0xc
libavutil/../compat/atomics/pthread/stdatomic.o
.data(section)  0x14
libavutil/../compat/atomics/pthread/stdatomic.o
.data(section)  0x20
libavutil/../compat/atomics/pthread/stdatomic.o
pthread_mutex_lock  0x4
libavutil/../compat/atomics/pthread/stdatomic.o
pthread_mutex_lock  0x8
libavutil/../compat/atomics/pthread/stdatomic.o
pthread_mutex_lock  0x18
libavutil/../compat/atomics/pthread/stdatomic.o
pthread_mutex_lock  0x1c
libavutil/../compat/atomics/pthread/stdatomic.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make: *** [libavutil/libavutil.so.] Error 1

Can you point me in a right direction? I have not received any
responses to my SuperUser post..

Thanks!




On Wed, Dec 5, 2018 at 11:57 AM Carl Eugen Hoyos  wrote:

> 2018-12-05 17:54 GMT+01:00, Eric Thomas :
>
> > I had our sys-ad install gnu sed (v4.5), and I modified the 3 instances
> of
> > "sed -E" in the configure script.
>
> This is not necessary anymore, configure was fixed.
>
> > It now runs to completion - although it takes about 6 minutes to
> complete.
>
> Which version of FFmpeg is this?
> It took hours here before a recent fix, it is significantly faster now.
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] running configure on SPARC

2018-12-05 Thread Eric Thomas
I just verified that I have FFmpeg 4.0.3.

The version.h files have constants that match the version numbers of the
"Wu" release.

On Wed, Dec 5, 2018 at 12:01 PM Eric Thomas  wrote:

> I believe our sys-ad downloaded ffmpeg 4.0.2.
>
>
> On Wed, Dec 5, 2018 at 11:57 AM Carl Eugen Hoyos 
> wrote:
>
>> 2018-12-05 17:54 GMT+01:00, Eric Thomas :
>>
>> > I had our sys-ad install gnu sed (v4.5), and I modified the 3 instances
>> of
>> > "sed -E" in the configure script.
>>
>> This is not necessary anymore, configure was fixed.
>>
>> > It now runs to completion - although it takes about 6 minutes to
>> complete.
>>
>> Which version of FFmpeg is this?
>> It took hours here before a recent fix, it is significantly faster now.
>>
>> Carl Eugen
>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] running configure on SPARC

2018-12-05 Thread Eric Thomas
I believe our sys-ad downloaded ffmpeg 4.0.2.


On Wed, Dec 5, 2018 at 11:57 AM Carl Eugen Hoyos  wrote:

> 2018-12-05 17:54 GMT+01:00, Eric Thomas :
>
> > I had our sys-ad install gnu sed (v4.5), and I modified the 3 instances
> of
> > "sed -E" in the configure script.
>
> This is not necessary anymore, configure was fixed.
>
> > It now runs to completion - although it takes about 6 minutes to
> complete.
>
> Which version of FFmpeg is this?
> It took hours here before a recent fix, it is significantly faster now.
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] running configure on SPARC

2018-12-05 Thread Eric Thomas
Hello,

I had our sys-ad install gnu sed (v4.5), and I modified the 3 instances of
"sed -E" in the configure script.

It now runs to completion - although it takes about 6 minutes to complete.

When I run "make", I get this error message:

 ./ffbuild/version.sh: syntax error at line 8: `revision=$` unexpected
 GEN libavutil/ffversion.h
 ./ffbuild/version.sh: syntax error at line 8: `revision=$` unexpected
make: *** [libavutil/ffversion.h] Error 2

Do I need any arguments for 'make'? What am I missing?

Thanks for your help!

Eric

On Wed, Nov 21, 2018 at 4:55 PM Carl Eugen Hoyos  wrote:

> 2018-11-21 20:20 GMT+01:00, Eric Thomas :
>
> > uname –a
> >
> >  SunOS devm 5.10 Generic_150400-61 sun4u sparc SUNW,Sun-Fire-V490
>
> You unfortunately need GNU sed, configure fails without
> and you absolutely *have* to edit configure: Search for
> "sed -E" and replace it with "/path/to/your/gnu/sed -E".
> This is a requirement (and ticket #7310, a regression).
>
> > make –v
> >
> >  GNU Make 3.81
>
> This was good enough once upon a time, I don't remember
> if it still is.
>
> > gcc –v
> >
> >  Reading specs from
> /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
> >
> >  Configured with:
> > /sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
> > –prefix=/usr/sfw –with-as=/usr/ccs/bin/as
> >
> >–without-gnu-as
> > –with-ld=/usr/ccs/bin/ld –without-gnu-ld –enable-language=c,c++
> > --enable-shared
> >
> >  Thread model: posix
> >
> >  gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
>
> This is indeed old, I don't know if it works, feel free to try.
>
> > Configure cmd
> >
> >  bash ./configure –prefix=/home/eric/ffmpeg/FFmpeg-4.0.2
>
> > –extra-cflags=”fPIC” –arch=sparc –target-os=sun
>
> Remove everything from the second line, it is wrong.
>
> > The configure script does not run to completion – I have to kill it with
> > ‘Ctrl-z’, and I do not get a config.h file.
>
> (unlikely)
> This is unexpected, are you sure you waited long enough?
>
> Before trying again, remember that only current FFmpeg git head
> is supported here.
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-user] running configure on SPARC

2018-11-21 Thread Eric Thomas
Hello,

I'm not sure this email went through the first time. My apologies if this
is a repeat...


I cannot figure out what I am missing, to get the configure script to
generate the config.h file, which would then be used to build ffmpeg.



Here is some system info:



env


PATH=/usr/xpg6/bin:/usr/ccs/bin:/usr/sfw/bin:/usr/bin:/usr/local/bin:/usr/sbin:/sbin


LD_LIBRARY_PATH=/home/eric/ffmpeg/FFmpeg-4.0.2/lib:/usr/lib:/usr/local/lib



uname –a

 SunOS devm 5.10 Generic_150400-61 sun4u sparc SUNW,Sun-Fire-V490



make –v

 GNU Make 3.81



gcc –v

 Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs

 Configured with:
/sfw10/builds/build/sfw10-patch/usr/src/cmd/gcc/gcc-3.4.3/configure
–prefix=/usr/sfw –with-as=/usr/ccs/bin/as

   –without-gnu-as
–with-ld=/usr/ccs/bin/ld –without-gnu-ld –enable-language=c,c++
--enable-shared

 Thread model: posix

 gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)





Configure cmd

 bash ./configure –prefix=/home/eric/ffmpeg/FFmpeg-4.0.2
–extra-cflags=”fPIC” –arch=sparc –target-os=sun





The configure script does not run to completion – I have to kill it with
‘Ctrl-z’, and I do not get a config.h file.



I am not the administrator of this server, so I can only request upgrades.
I am planning to request a gcc upgrade to 8.2 (latest).



Can you help me identify what options I am missing to get ffmpeg to
configure, and then compile?



Thanks,

Eric
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".