[FFmpeg-user] Build ffmpeg on QNX

Felipe Santana felipe.santana at xmobots.com
Mon Dec 12 13:06:23 CET 2011


*Hi, *
*
*
*I solved that problem above, and was able to run confiure.*
*
*
*I also could build libavformat, libavutil and libswscale.*
*But I cannot build libavcodec. I keep getting errors like the following.*

options.c:133: error: initializer element is not constant
options.c:133: error: (near initialization for 'options[62].min')
options.c:133: error: initializer element is not constant
options.c:133: error: (near initialization for 'options[62].max')
options.c:134: error: initializer element is not constant
options.c:134: error: (near initialization for 'options[63].max')
options.c:139: error: initializer element is not constant

*The configure command was the following*

$ ./configure --enable-shared --disable-ffprobe --disable-ffplay
--disable-ffse
rver --disable-aandct --disable-dct --disable-golomb --disable-lpc
--disable-md
ct --disable-rdft --disable-fft --disable-asm --cc=qcc --targ
et-os=qnx --enable-cross-compile --arch=arm --enable-pic

*I am using ffmpeg-0.8.6*
*
*
*Thanks, for your help.*
*
*
*
*



On Fri, Dec 9, 2011 at 9:26 AM, Tim Nicholson <tim.nicholson at bbc.co.uk>wrote:

> On 09/12/11 10:36, Felipe Santana wrote:
>
>> Ok,
>> Sorry for the lack of information.
>>
>> My problem is that ./configure fails. I am trying the command bellow,
>> *./configure --target-os=QNX --enable-cross-compile --arch=armv7*
>> *
>>
>> *
>> Here is the tail of the config.log file.
>> *WARNING: pkg-config not found, library detection may fail.*
>>
>
> This can be fixed by setting your PKG_CONFIG_PATH to the correct location
> of your cross compile pc files.
>
>  *mktemp -u XXXXXX*
>> *./configure[1903]: mktemp: cannot execute - No such file or directory*
>>
>
> This is the test to see if ./configure needs to define its own version of
> mktemp so is not a problem in itself. However it is unusual not to have it
> on a system as its part of core-utils.
>
>  *WARNING: Unknown C compiler gcc, unable to select optimal CFLAGS*
>>
>
> What version of gcc are you running { try gcc -v)?
>
>  *check_ld*
>> *check_cc*
>> *BEGIN /tmp/ffconf..localhost..**10706973.c*
>> *    1   int main(void){ return 0; }*
>> *END /tmp/ffconf..localhost..**10706973.c*
>> *gcc -c -o /tmp/ffconf..localhost..**10706973.o
>> /tmp/ffconf..localhost..**10706973.c*
>> *./configure[2358]: gcc: cannot execute - No such file or directory*
>>
>
> The same error as the mktemp test, but this time its serious....
>
> It looks like gcc might not even be installed.
>
>
>
>>
>> Thank you, for your reply.
>>
>> Best regards.
>>
>>
>
> --
> Tim
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain personal
> views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in
> reliance on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
>
> ______________________________**_________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user<http://ffmpeg.org/mailman/listinfo/ffmpeg-user>
>



-- 
Felipe Santana

Software Developer
XMobots Robotic Systems


More information about the ffmpeg-user mailing list