Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-13 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: I started the whole build again and it gave the following error later in the build, on a different place: CC  ffserver.o ffserver.c: In function 'main': ffserver.c:4728: error: 'SA_RESTART' undeclared (first use in this function) This is now fixed

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-12 Thread Pavel Vazharov
Hi, Everything builds fine with --disable-ffserver switch. Thanks again. ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-12 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: Everything builds fine with --disable-ffserver switch. Consider running fate now, you need rsync installed, then run: $ make SAMPLES=fate-suite fate-rsync $ make SAMPLES=fate-suite fate Or, if you don't feel like downloading the samples: $ make fate Carl

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: # ./configure Memory fault (core dumped) What does the following command show? # sh --version Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/libav-user

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Pavel Vazharov
Hi, #sh --version sh: sh --: unknown option I think that the shell in QNX is in fact kshell because the /bin/sh file is a link to /bin/ksh and there is no bash on the system. #echo $BASH_VERSION #echo $KSH_VERSION @(#)PD KSH v5.2.14 99/07/13.2 I hope I'll find a little time today to do the

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: #sh --version sh: sh --: unknown option I think that the shell in QNX is in fact kshell because the /bin/sh file is a link to /bin/ksh and there is no bash on the system. #echo $BASH_VERSION #echo $KSH_VERSION @(#)PD KSH v5.2.14 99/07/13.2

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Pavel Vazharov
Hi, I did the debug with the echo commands but the results are probably not so important because, as you said, the problem is very likely to be a broken shell. I'll try to update it or to install bash. Thanks. On Thu, Jul 11, 2013 at 8:58 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Pavel

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Pavel Vazharov
Hi, You were right. Thanks very much. I managed to install a bash and then the ./configure ran fine. However, the make all command gave this error. (Here are the last lines from the console output). CC libavutil/timecode.o CC libavutil/tree.o CC libavutil/utils.o CC

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: I managed to install a bash and then the ./configure ran fine. Thank you for testing! CC  cmdutils.o cmdutils.c:51:21: error: version.h: No such file or directory What does make V=1 version.h show? I suspect you copied the git checkout together

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: CC  ffserver.o ffserver.c: In function 'main': ffserver.c:4728: error: 'SA_RESTART' undeclared /usr/include/signal.h includes /usr/include/bits/sigaction.h here which defines SA_RESTART. Is SA_RESTART defined somewhere in /usr/include/* ? (You can

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-11 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... writes: Is SA_RESTART defined somewhere in /usr/include/* ? It appears the definition was removed from qnx because it is not implemented. You will have to add --disable-ffserver until a configure check exists. Carl Eugen

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: Include the log file config.log produced by configure as this will help solving the problem The last 25 lines should be enough. Please stop top-posting, it is considered rude here, Carl Eugen ___ Libav-user

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Carl Eugen Hoyos
Carl Eugen Hoyos cehoyos@... writes: --arch=x86 --target-os=qnx Is this really needed? To rephrase this question: What do uname -m and uname -s report? Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Pavel Vazharov
Hi, Sorry about top posting. I didn't noticed that gmail does this by default. Is it ok in this way or I should do bottom posting? = # uname -m x86pc # uname -s QNX = Last 25 lines from the config.log.

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: check_ld cc check_cc BEGIN /tmp/ffconf..localhost..22065188.c     1    int main(void){ return 0; } END /tmp/ffconf..localhost..22065188.c gcc -c -o /tmp/ffconf..localhost..22065188.c gcc: no input files Please find the following line in the function

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: # uname -m x86pc # uname -s QNX Both are supported, so it should not be necessary to set --arch or --target-os Carl Eugen ___ Libav-user mailing list Libav-user@ffmpeg.org

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Pavel Vazharov
Hi, I understand the situation. No problem. I changed the line as you suggested. Here is the console output. == # ./configure gcc is unable to create an executable file. If gcc is a cross-compiler, use the --enable-cross-compile option. Only do this

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Pavel Vazharov
Hi, The big problem. I made the change and run configure = # ./configure Memory fault (core dumped) Last lines from the config log. = BEGIN /tmp/ffconf..localhost..16134179.c 1int x; END /tmp/ffconf..localhost..16134179.c

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-10 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: # ./configure Memory fault (core dumped) Is this the whole output? Or are you possibly not waiting for the rest to come? [...] -Werror=vla -c -o /tmp/ffconf..localhost..16134179.o /tmp/ffconf..localhost..16134179.c The reason I ask is that my

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-09 Thread Pavel Vazharov
Ok. I'm trying again as I was advised. Baby steps. I downloaded and built yasm on my QNX virtual machine. Then I make - git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg on my physical machine and then copied the whole ffmpeg folder to my QNX virtual machine (I don't want to build Git for QNX,

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-07 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: I don't think that the optimizations are disabled. You misunderstood: I did not ask you if you disabled optimizations, I asked you if you disabled them intentionally because you also disabled debugging and debugging normally is the only reason why

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-07 Thread Pavel Vazharov
Ok. Thanks. On Sun, Jul 7, 2013 at 10:33 AM, Carl Eugen Hoyos ceho...@ag.or.at wrote: Pavel Vazharov pvazharov@... writes: I don't think that the optimizations are disabled. You misunderstood: I did not ask you if you disabled optimizations, I asked you if you disabled them

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-05 Thread Pavel Vazharov
Hi Ramu, I'm pretty sure that the symbols aren't present in the static libraries. objdump and nm tools shows them as undefined: # nm libavcodec/libavcodec.a | grep ff_h264dsp_init U ff_h264dsp_init # objdump -t libavcodec/libavcodec.a | grep ff_h264dsp_init *UND*

Re: [Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-04 Thread Carl Eugen Hoyos
Pavel Vazharov pvazharov@... writes: ./configure A few unrelated comments (your explanations may help improving the configure script): --arch=x86 --target-os=qnx Is this really needed? --enable-static --disable-shared This is the default (unneeded). --disable-everything

[Libav-user] Build of ffmpeg library with libx264 support for QNX

2013-07-03 Thread Pavel Vazharov
Hello, I'm trying to build the ffmpege library with libx264 support for QNX. I'm using the following configure script: ./configure \ --arch=x86 \ --disable-debug \ --enable-static \ --disable-shared \ --target-os=qnx \ --disable-programs \ --disable-ffplay \