On Tue, Sep 19, 2017 at 17:54:52 +0800, [email protected] wrote:
> arm-none-linux-gnueabi-gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC 
> -march=armv5te -std=c99 -fomit-frame-pointer -fPIC -marm -pthread -E -o 
> /tmp/ffconf.Lhn5rbJM.o /tmp/ffconf.Q2c8r4Tb.c
> /tmp/ffconf.Q2c8r4Tb.c:1:25: fatal error: openssl/ssl.h: No such file or 
> directory

You need to install not only the openssl library, but also the
development part of it (in a packaged system it's openssl-dev or
openssl-devel). And since you're cross compiling, these need to be for
the target platform.

If you built your own openssl for the target platform, this needs to be
found by pointing some configure flags at it:
$ ./configure [...] 
--extra-cflags="-I/my/path/were/i/keep/built/arm/stuff/include" 
--extra-ldflags="-L/my/path/were/i/keep/built/arm/stuff/lib"
approximately as described here:
https://trac.ffmpeg.org/wiki/CompilationGuide/RaspberryPi
(Consider Raspberry Pi as yet another ARM platform.)

Moritz
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to