OS/2, eCS & ArcaOS - Technical > Applications

Environment for building ffmpeg

(1/4) > >>

Igor:
Hi all!
Please write me a list of programs that need to be installed on the system to build the ffmpeg-os2-n4.2.2 package.
I have already compiled this package before, but due to reinstallation of the operating system I lost the list of all the programs needed for this.

Please help me.

Dave Yeo:
Depends on how many external libraries you want to link in.
You need the basic compiling setup, gcc, libc-dev, watcom-wlink-hll, kbuild-make. Unix utilities such as sh or bash, sed, tr, grep and whatever I'm forgetting. A run of simple configure should work or show missing utilities.
Always used libs, zlib-dev, bzip2-dev, sdl2-dev.
run configure --help > configure.hlp and examine the configure.hlp file for which ever libs you also want to compile in, build your configure line and use ANPM to find packages supplying the various libs-dev you need, or install ffmpeg with yum and pay close attention to the libs it pulls in and install the dev versions of those.
Ask questions if you have a problem

Igor:
Thank's!

I see:

--- Code: ---[I:\ffmpeg-os2-n2.8.17]sh
# make
SYS1086: The following character string is too long:

make: *** [common.mak:57: libavdevice/alldevices.o] Error 1
#

--- End code ---

I use Make 4.2.1.

I ran the configure first. It worked without errors.

Running sh make from the command line results in the error: sh: 0: Can't open make

At the same time running sh configure its works.

Any ideas are welcome!

Dave Yeo:
You need to do a "SET MAKESHELL=sh.exe" as make defaults to using cmd.exe or perhaps %COMSPEC% as its shell. I'd suggest setting it in config.sys as most things use sh as the make shell and if needed can always do a "SET MAKESHELL=cmd.exe"
Actually in my config.sys, I have,

--- Code: ---SET EMXOMFLD_LINKER=wl.exe
SET EMXOMFLD_TYPE=WLINK
SET EMXOMFLD_RC=wrc.exe
SET EMXOMFLD_RC_TYPE=WRC

--- End code ---
...

--- Code: ---SET MAKESHELL=sh.exe
REM [ Default shell values ]
SET SHELL=W:/usr/bin/sh.exe
SET EMXSHELL=W:/usr/bin/sh.exe
SET CONFIG_SHELL=W:/usr/bin/sh.exe
SET EXECSHELL=W:/usr/bin/sh.exe

--- End code ---

Adjust path as needed.
Most of these are for auto tools. You probably need the first 2 to set up wl.exe as the linker, though I thought installing the RPM would set this stuff up.

Igor:
Thank's, Dave!

It works! The make starts.
 
But I see next problem:

--- Code: ---[I:\ffmpeg-os2-n4.2.2-os2]sh
# make
CC      libavformat/adtsenc.o
./libavcodec/x86/mathops.h: Assembler messages:
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
./libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
make: *** [ffbuild/common.mak:59: libavformat/adtsenc.o] Error 1

--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version