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

Pavel Vazharov pvazharov at abaltatech.com
Wed Jul 10 23:05:56 CEST 2013


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 if you know what cross compiling means.
C compiler test failed.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user at ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "config.log" produced by configure as this will help
solving the problem.

Here are the last lines from the config.log file
==============================================
zmbv_decoder_select=zlib
zmbv_encoder=yes
zmbv_encoder_select=zlib
zmq_filter=yes
zmq_filter_deps=libzmq
WARNING: pkg-config not found, library detection may fail.
mktemp -u XXXXXX
./configure[2610]: mktemp: cannot execute - No such file or directory
check_ld cc
check_cc
BEGIN /tmp/ffconf..localhost..516131.c
    1    int main(void){ return 0; }
END /tmp/ffconf..localhost..516131.c
gcc -c -o /tmp/ffconf..localhost..516131.o /tmp/ffconf..localhost..516131.c
gcc -o /tmp/ffconf..localhost..516131.o
gcc: no input files
C compiler test failed.


I suppose that the problem is similar and it is in the function check_ld
and the line 830
check_cmd $ld $LDFLAGS $flags $(ld_o $TMPE) $TMPO $libs $extralibs
should become
check_cmd $ld $LDFLAGS $flags -o $TMPE $TMPO $libs $extralibs.

Should I change it or the problem is different?


Thanks for the help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130710/01a84568/attachment.html>


More information about the Libav-user mailing list