[FFmpeg-user] Unable to install ffmpeg on Solaris 10

Prince Gupta Prince.Gupta at hcl.com
Wed Dec 5 06:32:19 CET 2012


I have done following changes to resolve some initial errors given by configure :

1. Fix the path of grep from /usr/bin/grep to /usr/xpg4/bin/grep before running the configure.
2. changes awk to nawk in scripts.
3. Run ./configure and got following output : 
	
bash-3.00# ./configure --extra-libs=/usr/lib/values-xpg6.o

Broken shell detected.  Trying alternatives.
Trying shell bash
install prefix            /usr/local
source path               .
C compiler                gcc
ARCH                      sun4v (generic)
big-endian                yes
runtime cpu detection     yes
debug symbols             yes
strip symbols             yes
optimize for size         no
optimizations             yes
static                    yes
shared                    no
postprocessing support    no
new filter support        yes
network support           yes
threading support         pthreads
safe bitstream reader     yes
SDL support               no
libdxva2 enabled          no
libva enabled             no
libvdpau enabled          no
AVISynth enabled          no
frei0r enabled            no
gnutls enabled            no
libaacplus enabled        no
libass enabled            no
libcaca enabled           no
libcdio support           no
libcelt enabled           no
libdc1394 support         no
libfaac enabled           no
libfdk-aac enabled        no
libgsm enabled            no
libiec61883 support       no
libilbc enabled           no
libmodplug enabled        no
libmp3lame enabled        no
libnut enabled            no
libopencore-amrnb support no
libopencore-amrwb support no
libopencv support         no
libopenjpeg enabled       no
libopus enabled           no
libpulse enabled          no
librtmp enabled           no
libschroedinger enabled   no
libspeex enabled          no
libstagefright-h264 enabled    no
libtheora enabled         no
libtwolame enabled        no
libutvideo enabled        no
libv4l2 enabled           no
libvo-aacenc support      no
libvo-amrwbenc support    no
libvorbis enabled         no
libvpx enabled            no
libx264 enabled           no
libxavs enabled           no
libxvid enabled           no
openal enabled            no
openssl enabled           no
zlib enabled              no
bzlib enabled             no
texi2html enabled         no
perl enabled              yes
pod2man enabled           no
makeinfo enabled          no

Enabled decoders:

Enabled encoders:

Enabled hwaccels:

Enabled parsers:

Enabled demuxers:

Enabled muxers:

Enabled protocols:

Enabled filters:

Enabled bsfs:

Enabled indevs:

Enabled outdevs:

License: LGPL version 2.1 or later
Creating config.mak and config.h...
libavutil/avconfig.h is unchanged

WARNING: unknown architecture sun4v

4. Run make and got following errors :
bash-3.00# make
./version.sh: syntax error at line 5: `revision=$' unexpected
CC      libavdevice/alldevices.o
In file included from /usr/include/sys/wait.h:24,
                 from /usr/include/stdlib.h:22,
                 from libavutil/common.h:35,
                 from libavutil/avutil.h:274,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
/usr/include/sys/siginfo.h:259: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:292: error: parse error before '}' token
/usr/include/sys/siginfo.h:294: error: parse error before '}' token
/usr/include/sys/siginfo.h:390: error: parse error before "ctid_t"
/usr/include/sys/siginfo.h:392: error: conflicting types for `__proc'
/usr/include/sys/siginfo.h:261: error: previous declaration of `__proc'
/usr/include/sys/siginfo.h:398: error: conflicting types for `__fault'
/usr/include/sys/siginfo.h:267: error: previous declaration of `__fault'
/usr/include/sys/siginfo.h:404: error: conflicting types for `__file'
/usr/include/sys/siginfo.h:273: error: previous declaration of `__file'
/usr/include/sys/siginfo.h:420: error: conflicting types for `__prof'
/usr/include/sys/siginfo.h:287: error: previous declaration of `__prof'
/usr/include/sys/siginfo.h:424: error: conflicting types for `__rctl'
/usr/include/sys/siginfo.h:291: error: previous declaration of `__rctl'
/usr/include/sys/siginfo.h:426: error: parse error before '}' token
/usr/include/sys/siginfo.h:428: error: parse error before '}' token
/usr/include/sys/siginfo.h:432: error: parse error before "k_siginfo_t"
/usr/include/sys/siginfo.h:437: error: parse error before '}' token
In file included from /usr/include/sys/procset.h:24,
                 from /usr/include/sys/wait.h:25,
                 from /usr/include/stdlib.h:22,
                 from libavutil/common.h:35,
                 from libavutil/avutil.h:274,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
/usr/include/sys/signal.h:85: error: parse error before "siginfo_t"
In file included from /usr/include/stdlib.h:22,
                 from libavutil/common.h:35,
                 from libavutil/avutil.h:274,
                 from libavdevice/version.h:28,
                 from libavdevice/avdevice.h:22,
                 from libavdevice/alldevices.c:22:
/usr/include/sys/wait.h:86: error: parse error before "siginfo_t"
libavdevice/alldevices.c: In function `avdevice_register_all':
libavdevice/alldevices.c:41: error: `CONFIG_ALSA_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:41: error: (Each undeclared identifier is reported only once
libavdevice/alldevices.c:41: error: for each function it appears in.)
libavdevice/alldevices.c:41: error: `CONFIG_ALSA_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:42: error: `CONFIG_BKTR_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:43: error: `CONFIG_CACA_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:44: error: `CONFIG_DSHOW_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:45: error: `CONFIG_DV1394_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:46: error: `CONFIG_FBDEV_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:47: error: `CONFIG_IEC61883_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:48: error: `CONFIG_JACK_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:49: error: `CONFIG_LAVFI_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:50: error: `CONFIG_OPENAL_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:51: error: `CONFIG_OSS_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:51: error: `CONFIG_OSS_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:52: error: `CONFIG_PULSE_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:53: error: `CONFIG_SDL_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:54: error: `CONFIG_SNDIO_OUTDEV' undeclared (first use in this function)
libavdevice/alldevices.c:54: error: `CONFIG_SNDIO_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:55: error: `CONFIG_V4L2_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:57: error: `CONFIG_VFWCAP_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:58: error: `CONFIG_X11GRAB_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:61: error: `CONFIG_LIBCDIO_INDEV' undeclared (first use in this function)
libavdevice/alldevices.c:62: error: `CONFIG_LIBDC1394_INDEV' undeclared (first use in this function)
make: *** [libavdevice/alldevices.o] Error 1

My gcc version is 3.3.2 .
Please help.

Prince



::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------



More information about the ffmpeg-user mailing list