[FFmpeg-user] build error at libavformat/udp.o
Hyoung Kim
hyoungtaik at yahoo.com
Tue Sep 1 02:14:33 EEST 2020
Hi,
Thank you very much for your response.
Upon your suggestion, I have done git clone the current git head, but I have faced different problem.
I will try to explain one step at a time.
1. my build environment :
a. Target Android OS : 7.1.2
b. Alexa AVS version : 1.18.0
c. cmake version : 3.6.4111459
d. Android NDK version : r16
e. Android Library : 6.0 (Api level 23)
f. CXX : android-ndk-r16/toolchain-armeabi-v7a/android-23/bin/arm-linux-androideabi-clang++
g. Build environment OS : ubuntu 18.0.1 under VirtualBox (host machine is Windows 10)
2. build error message, when I have used FFmpeg 4.3.1 :
src/libavformat/udp.c:296:28: error: member reference base type
'__be32' (aka 'unsigned int') is not a structure or union
mreqs.imr_multiaddr.s_addr = ((struct sockaddr_in *)add...
~~~~~~~~~~~~~~~~~~~^~~~~~~
src/libavformat/udp.c:298:32: error: assigning to '__be32'
(aka 'unsigned int') from incompatible type 'struct in_addr'
...= ((struct sockaddr_in *)local_addr)->sin_addr;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/libavformat/udp.c:300:32: error: member reference base type
'__be32' (aka 'unsigned int') is not a structure or union
mreqs.imr_interface.s_addr= INADDR_ANY;
~~~~~~~~~~~~~~~~~~~^~~~~~~
src/libavformat/udp.c:301:29: error: member reference base type
'__be32' (aka 'unsigned int') is not a structure or union
mreqs.imr_sourceaddr.s_addr = ((struct sockaddr_in *)&s...
~~~~~~~~~~~~~~~~~~~~^~~~~~~
4 errors generated.
3. build error message, when I have used git head :
/ffmpeg/configure: /bin/sh^M: bad interpreter: No such file or directory
Thank you very much in any case.
On Monday, August 31, 2020, 05:31:28 PM EDT, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
Am Fr., 28. Aug. 2020 um 18:38 Uhr schrieb Hyoung Kim via ffmpeg-user
<ffmpeg-user at ffmpeg.org>:
> I am a newbie about FFmpeg.
> I just need it for using Alexa AVS 1.18.0.
>
> While I try to build the FFmpeg for Android, I got a build error like
>
> src/libavformat/udp.c:290:28: error: member reference base type '__be32' (aka 'unsigned int') is not a structure or union
> mreqs.imr_multiaddr.s_add = ((structure sockaddr_in *)addr)...........
>
> The above problem has happened for FFmpeg 4.3.1 and 4.2.1 and 4.1.6.
Please test current FFmpeg git head and provide the configure line you tested.
Other build scripts than our configure script are not supported here.
Carl Eugen
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list