Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling Segmenter on linux m/c #23

Open
ashaashish opened this issue Jul 17, 2012 · 0 comments
Open

Compiling Segmenter on linux m/c #23

ashaashish opened this issue Jul 17, 2012 · 0 comments

Comments

@ashaashish
Copy link

Hi,

I have ffmpeg 0.9.1 version install on my red hat m/c.
But I am getting so many errors for comilation
could u plz let me know wat went wrong ????

Please actaully even m not able to get error

Error

segmenter-cardson.c:1: warning: return type defaults to âintâ
segmenter-cardson.c: In function âopyrightâ:
segmenter-cardson.c:1: error: expected declaration specifiers before numeric constant
segmenter-cardson.c:3: error: expected declaration specifiers before âyouâ
segmenter-cardson.c:8: error: expected declaration specifiers before âwithoutâ
segmenter-cardson.c:13: error: expected declaration specifiers before âifâ
In file included from /usr/include/stdio.h:36,
from segmenter-cardson.c:19:
/usr/include/bits/types.h:34: error: storage class specified for parameter â__u_charâ
/usr/include/bits/types.h:35: error: storage class specified for parameter â__u_shortâ
/usr/include/bits/types.h:36: error: storage class specified for parameter â__u_intâ
/usr/include/bits/types.h:37: error: storage class specified for parameter â__u_longâ
/usr/include/bits/types.h:40: error: storage class specified for parameter â__int8_tâ
/usr/include/bits/types.h:41: error: storage class specified for parameter â__uint8_tâ
/usr/include/bits/types.h:42: error: storage class specified for parameter â__int16_tâ
/usr/include/bits/types.h:43: error: storage class specified for parameter â__uint16_tâ
/usr/include/bits/types.h:44: error: storage class specified for parameter â__int32_tâ
/usr/include/bits/types.h:45: error: storage class specified for parameter â__uint32_tâ
/usr/include/bits/types.h:47: error: storage class specified for parameter â__int64_tâ
/usr/include/bits/types.h:48: error: storage class specified for parameter â__uint64_tâ
/usr/include/bits/types.h:56: error: storage class specified for parameter â__quad_tâ
/usr/include/bits/types.h:57: error: storage class specified for parameter â__u_quad_tâ
In file included from /usr/include/stdio.h:36,
from segmenter-cardson.c:19:
/usr/include/bits/types.h:137: error: storage class specified for parameter â__dev_tâ
/usr/include/bits/types.h:138: error: storage class specified for parameter â__uid_tâ
/usr/include/bits/types.h:139: error: storage class specified for parameter â__gid_tâ
/usr/include/bits/types.h:140: error: storage class specified for parameter â__ino_tâ
/usr/include/bits/types.h:141: error: storage class specified for parameter â__ino64_tâ
/usr/include/bits/types.h:142: error: storage class specified for parameter â__mode_tâ
/usr/include/bits/types.h:143: error: storage class specified for parameter â__nlink_tâ
/usr/include/bits/types.h:144: error: storage class specified for parameter â__off_tâ
/usr/include/bits/types.h:145: error: storage class specified for parameter â__off64_tâ
/usr/include/bits/types.h:146: error: storage class specified for parameter â__pid_tâ
/usr/include/bits/types.h:147: error: storage class specified for parameter â__fsid_tâ
/usr/include/bits/types.h:148: error: storage class specified for parameter â__clock_tâ
/usr/include/bits/types.h:149: error: storage class specified for parameter â__rlim_tâ
/usr/include/bits/types.h:150: error: storage class specified for parameter â__rlim64_tâ
/usr/include/bits/types.h:151: error: storage class specified for parameter â__id_tâ
/usr/include/bits/types.h:152: error: storage class specified for parameter â__time_tâ
/usr/include/bits/types.h:153: error: storage class specified for parameter â__useconds_tâ
/usr/include/bits/types.h:154: error: storage class specified for parameter â__suseconds_tâ
/usr/include/bits/types.h:156: error: storage class specified for parameter â__daddr_tâ
/usr/include/bits/types.h:157: error: storage class specified for parameter â__swblk_tâ
/usr/include/bits/types.h:158: error: storage class specified for parameter â__key_tâ
/usr/include/bits/types.h:161: error: storage class specified for parameter â__clockid_tâ
In file included from segmenter-cardson.c:19:
/usr/include/stdio.h:46: error: storage class specified for parameter âFILEâ
/usr/include/stdio.h:62: error: storage class specified for parameter â__FILEâ
In file included from /usr/include/_G_config.h:14,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from segmenter-cardson.c:19:
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h:326: error: storage class specified for parameter âwchar_tâ
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h:355: error: storage class specified for parameter âwint_tâ
In file included from /usr/include/_G_config.h:24,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from segmenter-cardson.c:19:
/usr/include/wchar.h:81: error: expected specifier-qualifier-list before âwint_tâ
/usr/include/wchar.h:84: error: storage class specified for parameter â__mbstate_tâ
In file included from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from segmenter-cardson.c:19:
/usr/include/_G_config.h:28: error: expected specifier-qualifier-list before â__off_tâ
/usr/include/_G_config.h:30: error: storage class specified for parameter â_G_fpos_tâ
/usr/include/_G_config.h:33: error: expected specifier-qualifier-list before â__off64_tâ
/usr/include/_G_config.h:35: error: storage class specified for parameter â_G_fpos64_tâ
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/include/stdio.h:72,
from segmenter-cardson.c:19:
/usr/include/gconv.h:72: error: expected declaration specifiers or â...â before âsize_tâ
/usr/include/gconv.h:72: error: storage class specified for parameter â__gconv_fctâ
/usr/include/gconv.h:75: error: expected declaration specifiers or â...â before â*â token
/usr/include/gconv.h:75: error: storage class specified for parameter âwint_tâ
/usr/include/gconv.h:75: error: âwint_tâ declared as function returning a function
/usr/include/gconv.h:75: error: conflicting types for âwint_tâ
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/stddef.h:355: error: previous definition of âwint_tâ was here
/usr/include/gconv.h:78: error: storage class specified for parameter â__gconv_init_fctâ
/usr/include/gconv.h:79: error: storage class specified for parameter â__gconv_end_fctâ
/usr/include/gconv.h:88: error: expected declaration specifiers or â...â before âsize_tâ

..
.
..

In file included from /usr/include/stdio.h:72,
from segmenter-cardson.c:19:
/usr/include/libio.h:177: error: storage class specified for parameter â_IO_lock_tâ
/usr/include/libio.h:297: error: expected specifier-qualifier-list before â__off_tâ
/usr/include/libio.h:338: error: storage class specified for parameter â_IO_FILEâ
/usr/include/libio.h:343: error: storage class specified for parameter â_IO_2_1_stdin_â
/usr/include/libio.h:344: error: storage class specified for parameter â_IO_2_1_stdout_â
/usr/include/libio.h:345: error: storage class specified for parameter â_IO_2_1_stderr_â
/usr/include/libio.h:361: error: expected â=â, â,â, â;â, âasmâ or âattributeâ before âio_read_fnâ
/usr/include/libio.h:369: error: expected â=â, â,â, â;â, âasmâ or â__attribute
â before âio_write_fnâ
/usr/include/libio.h:378: error: expected declaration specifiers or â...â before â__off64_tâ
/usr/include/libio.h:378: error: storage class specified for parameter â__io_seek_fnâ
/usr/include/libio.h:381: error: storage class specified for parameter â__io_close_fnâ
/usr/include/libio.h:413: error: expected â)â before â_â token
/usr/include/libio.h:414: error: expected â)â before â_â token
/usr/include/libio.h:415: error: expected â)â before â*â token
/usr/include/libio.h:416: error: expected â=â, â,â, â;â, âasmâ or â__attribute
â before âwunderflowâ
/usr/include/libio.h:417: error: expected â=â, â,â, â;â, âasmâ or â__attribute
â before âwuflowâ
/usr/include/libio.h:418: error: expected â=â, â,â, â;â, âasmâ or â__attribute
â before â__woverflowâ
/usr/include/libio.h:451: error: expected â)â before â_â token
/usr/include/libio.h:452: error: expected declaration specifiers or â...â before â_IO_FILEâ
/usr/include/libio.h:452: error: storage class specified for parameter â_IO_putcâ
/usr/include/libio.h:453: error: expected â)â before â_â token
/usr/include/_G_config.h:58: error: declaration for parameter â_G_uint32_tâ but no such parameter
/usr/include/_G_config.h:57: error: declaration for parameter â_G_uint16_tâ but no such parameter
/usr/include/_G_config.h:56: error: declaration for parameter â_G_int32_tâ but no such parameter
/usr/include/_G_config.h:55: error: declaration for parameter â_G_int16_tâ but no such parameter
/usr/include/_G_config.h:53: error: declaration for parameter â_G_iconv_tâ but no such parameter

......
.
.
.
.
.
.
/usr/include/bits/types.h:35: error: declaration for parameter â__u_shortâ but no such parameter
/usr/include/bits/types.h:34: error: declaration for parameter â__u_charâ but no such parameter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant