[FFmpeg-user] S
mvelanka
mvelanka at gmail.com
Mon Feb 29 20:24:09 CET 2016
I am trying to build ffmpeg on Sun Solaris
----------------------
uname -a shows:
SunOS xxx-xxxx-xx 5.10 Generic_150400-14 sun4v sparc sun4v
----------------------
I am able to build when I make following changes:
----------------------
edit version.sh and make it for bash
#! /usr/bin/bash
----------------------
export PATH=/opt/csw/bin:$PATH
... this enables gmake to be called instead of make
bash ./configure --prefix=/tmp --disable-protocol=udp,udplite
--disable-network && gmake
----------------------
ffmpeg as built above runs fine
However I need to enable network support and there is an issue there.
if I build
bash ./configure --prefix=/tmp --disable-protocol=udp,udplite && gmake
compilation fails for
libavformat/sctp.c
following three struct members are not recognized for struct msghdr
msg_control
msg_controllen
msg_flags
I looked in the file
/usr/include/sys/socket.h
and saw that above members are there for struct msghdr32 (instead of struct
msghdr)
This is the reason I had to disable network to proceed with compilation.
Please help me if I am making any wrong setting or anything else.
(currently I can work without network support; however it will soon be
required.)
Please let me know if I should provide more details.
Thanks in advance
-mvelanka
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/S-tp4674872.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list