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

Prince Gupta Prince.Gupta at hcl.com
Wed Dec 5 14:46:35 CET 2012


Hi Carl, 

Thanks for reply. 
I haven't change the configure script. I have just created a soft link in /usr/bin for grep to /usr/xpg4/bin/grep as follows :

bash-3.00# ls -l /usr/bin/grep
lrwxrwxrwx   1 root     root          18 Dec  3 15:54 /usr/bin/grep -> /usr/xpg4/bin/grep


As you suggested I have run following command to configure to force architecture as sparc as follows :
bash-3.00# ./configure --extra-libs=/usr/lib/values-xpg6.o --arch=sparc.

But still I am getting errors at make step as follows : 
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

If this is because I have old version of gcc ? then which version should I have to remove these errors and to compile ffmpeg properly ?


Thanks,
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