From: Pramathesh A. <pra...@gm...> - 2006-01-20 14:29:31
|
Hi Trying to build rlib 1.3.6 resulted in the following make errors (configure did not throw up any errors but). What is missing? Thanks in advance Pramathesh perl.c:1791: warning: type defaults to `int' in declaration of `arg3' perl.c:1791: error: initializer element is not constant perl.c:1791: warning: data definition has no type or storage class perl.c:1792: warning: type defaults to `int' in declaration of `result' perl.c:1792: error: redefinition of 'result' perl.c:1760: error: previous definition of 'result' was here perl.c:1792: error: redefinition of 'result' perl.c:866: error: previous definition of 'result' was here perl.c:1792: error: initializer element is not constant perl.c:1792: warning: data definition has no type or storage class perl.c:1794: warning: type defaults to `int' in declaration of `ST' perl.c:1794: warning: parameter names (without types) in function declaration perl.c:1794: error: function `ST' is initialized like a variable perl.c:1794: warning: data definition has no type or storage class perl.c:1795: error: syntax error before '(' token perl.c:1795: warning: type defaults to `int' in declaration of `sv_setiv' perl.c:1795: error: syntax error before "IV" perl.c:1796: warning: type defaults to `int' in declaration of `XSRETURN' perl.c:1796: warning: parameter names (without types) in function declaration perl.c:1796: warning: data definition has no type or storage class perl.c:1797: error: syntax error before ':' token perl.c:1800: warning: type defaults to `int' in declaration of `croak' perl.c:1800: warning: parameter names (without types) in function declaration perl.c:1800: warning: data definition has no type or storage class perl.c:1801: error: syntax error before '}' token perl.c:1828: error: syntax error before "swig_commands" perl.c:1828: warning: type defaults to `int' in declaration of `swig_commands' perl.c:1829: warning: braces around scalar initializer perl.c:1829: warning: (near initialization for `swig_commands[0]') perl.c:1829: warning: initialization makes integer from pointer without a cast perl.c:1829: error: `_wrap_rlib_init' undeclared here (not in a function) perl.c:1829: warning: excess elements in scalar initializer perl.c:1829: warning: (near initialization for `swig_commands[0]') perl.c:1830: warning: braces around scalar initializer perl.c:1830: warning: (near initialization for `swig_commands[1]') perl.c:1830: warning: initialization makes integer from pointer without a cast perl.c:1830: error: `_wrap_rlib_add_datasource_mysql' undeclared here (not in a function) perl.c:1830: warning: excess elements in scalar initializer perl.c:1830: warning: (near initialization for `swig_commands[1]') perl.c:1831: warning: braces around scalar initializer perl.c:1831: warning: (near initialization for `swig_commands[2]') perl.c:1831: warning: initialization makes integer from pointer without a cast perl.c:1831: error: `_wrap_rlib_add_datasource_postgres' undeclared here (not in a function) perl.c:1831: warning: excess elements in scalar initializer perl.c:1831: warning: (near initialization for `swig_commands[2]') perl.c:1832: warning: braces around scalar initializer perl.c:1832: warning: (near initialization for `swig_commands[3]') perl.c:1832: warning: initialization makes integer from pointer without a cast perl.c:1832: error: `_wrap_rlib_add_datasource_odbc' undeclared here (not in a function) perl.c:1832: warning: excess elements in scalar initializer perl.c:1832: warning: (near initialization for `swig_commands[3]') perl.c:1833: warning: braces around scalar initializer perl.c:1833: warning: (near initialization for `swig_commands[4]') perl.c:1833: warning: initialization makes integer from pointer without a cast perl.c:1833: error: `_wrap_rlib_add_datasource_xml' undeclared here (not in a function) perl.c:1833: warning: excess elements in scalar initializer perl.c:1833: warning: (near initialization for `swig_commands[4]') perl.c:1834: warning: braces around scalar initializer perl.c:1834: warning: (near initialization for `swig_commands[5]') perl.c:1834: warning: initialization makes integer from pointer without a cast perl.c:1834: error: `_wrap_rlib_add_query_as' undeclared here (not in a function) perl.c:1834: warning: excess elements in scalar initializer perl.c:1834: warning: (near initialization for `swig_commands[5]') perl.c:1835: warning: braces around scalar initializer perl.c:1835: warning: (near initialization for `swig_commands[6]') perl.c:1835: warning: initialization makes integer from pointer without a cast perl.c:1835: error: `_wrap_rlib_add_report' undeclared here (not in a function) perl.c:1835: warning: excess elements in scalar initializer perl.c:1835: warning: (near initialization for `swig_commands[6]') perl.c:1836: warning: braces around scalar initializer perl.c:1836: warning: (near initialization for `swig_commands[7]') perl.c:1836: warning: initialization makes integer from pointer without a cast perl.c:1836: error: `_wrap_rlib_add_report_from_buffer' undeclared here (not in a function) perl.c:1836: warning: excess elements in scalar initializer perl.c:1836: warning: (near initialization for `swig_commands[7]') perl.c:1837: warning: braces around scalar initializer perl.c:1837: warning: (near initialization for `swig_commands[8]') perl.c:1837: warning: initialization makes integer from pointer without a cast perl.c:1837: error: `_wrap_rlib_execute' undeclared here (not in a function) perl.c:1837: warning: excess elements in scalar initializer perl.c:1837: warning: (near initialization for `swig_commands[8]') perl.c:1838: warning: braces around scalar initializer perl.c:1838: warning: (near initialization for `swig_commands[9]') perl.c:1838: warning: initialization makes integer from pointer without a cast perl.c:1838: error: `_wrap_rlib_get_content_type_as_text' undeclared here (not in a function) perl.c:1838: warning: excess elements in scalar initializer perl.c:1838: warning: (near initialization for `swig_commands[9]') perl.c:1839: warning: braces around scalar initializer perl.c:1839: warning: (near initialization for `swig_commands[10]') perl.c:1839: warning: initialization makes integer from pointer without a cast perl.c:1839: error: `_wrap_rlib_spool' undeclared here (not in a function) perl.c:1839: warning: excess elements in scalar initializer perl.c:1839: warning: (near initialization for `swig_commands[10]') perl.c:1840: warning: braces around scalar initializer perl.c:1840: warning: (near initialization for `swig_commands[11]') perl.c:1840: warning: initialization makes integer from pointer without a cast perl.c:1840: error: `_wrap_rlib_set_output_format' undeclared here (not in a function) perl.c:1840: warning: excess elements in scalar initializer perl.c:1840: warning: (near initialization for `swig_commands[11]') perl.c:1841: warning: braces around scalar initializer perl.c:1841: warning: (near initialization for `swig_commands[12]') perl.c:1841: warning: initialization makes integer from pointer without a cast perl.c:1841: error: `_wrap_rlib_add_resultset_follower_n_to_1' undeclared here (not in a function) perl.c:1841: warning: excess elements in scalar initializer perl.c:1841: warning: (near initialization for `swig_commands[12]') perl.c:1842: warning: braces around scalar initializer perl.c:1842: warning: (near initialization for `swig_commands[13]') perl.c:1842: warning: initialization makes integer from pointer without a cast perl.c:1842: error: `_wrap_rlib_add_resultset_follower' undeclared here (not in a function) perl.c:1842: warning: excess elements in scalar initializer perl.c:1842: warning: (near initialization for `swig_commands[13]') perl.c:1843: warning: braces around scalar initializer perl.c:1843: warning: (near initialization for `swig_commands[14]') perl.c:1843: warning: initialization makes integer from pointer without a cast perl.c:1843: error: `_wrap_rlib_set_output_format_from_text' undeclared here (not in a function) perl.c:1843: warning: excess elements in scalar initializer perl.c:1843: warning: (near initialization for `swig_commands[14]') perl.c:1844: warning: braces around scalar initializer perl.c:1844: warning: (near initialization for `swig_commands[15]') perl.c:1844: warning: initialization makes integer from pointer without a cast perl.c:1844: error: `_wrap_rlib_get_output' undeclared here (not in a function) perl.c:1844: warning: excess elements in scalar initializer perl.c:1844: warning: (near initialization for `swig_commands[15]') perl.c:1845: warning: braces around scalar initializer perl.c:1845: warning: (near initialization for `swig_commands[16]') perl.c:1845: warning: initialization makes integer from pointer without a cast perl.c:1845: error: `_wrap_rlib_get_output_length' undeclared here (not in a function) perl.c:1845: warning: excess elements in scalar initializer perl.c:1845: warning: (near initialization for `swig_commands[16]') perl.c:1846: warning: braces around scalar initializer perl.c:1846: warning: (near initialization for `swig_commands[17]') perl.c:1846: warning: initialization makes integer from pointer without a cast perl.c:1846: error: `_wrap_rlib_signal_connect' undeclared here (not in a function) perl.c:1846: warning: excess elements in scalar initializer perl.c:1846: warning: (near initialization for `swig_commands[17]') perl.c:1847: warning: braces around scalar initializer perl.c:1847: warning: (near initialization for `swig_commands[18]') perl.c:1847: warning: initialization makes integer from pointer without a cast perl.c:1847: error: `_wrap_rlib_signal_connect_string' undeclared here (not in a function) perl.c:1847: warning: excess elements in scalar initializer perl.c:1847: warning: (near initialization for `swig_commands[18]') perl.c:1848: warning: braces around scalar initializer perl.c:1848: warning: (near initialization for `swig_commands[19]') perl.c:1848: warning: initialization makes integer from pointer without a cast perl.c:1848: error: `_wrap_rlib_query_refresh' undeclared here (not in a function) perl.c:1848: warning: excess elements in scalar initializer perl.c:1848: warning: (near initialization for `swig_commands[19]') perl.c:1849: warning: braces around scalar initializer perl.c:1849: warning: (near initialization for `swig_commands[20]') perl.c:1849: warning: initialization makes integer from pointer without a cast perl.c:1849: error: `_wrap_rlib_add_parameter' undeclared here (not in a function) perl.c:1849: warning: excess elements in scalar initializer perl.c:1849: warning: (near initialization for `swig_commands[20]') perl.c:1850: warning: braces around scalar initializer perl.c:1850: warning: (near initialization for `swig_commands[21]') perl.c:1850: warning: initialization makes integer from pointer without a cast perl.c:1850: error: `_wrap_rlib_set_locale' undeclared here (not in a function) perl.c:1850: warning: excess elements in scalar initializer perl.c:1850: warning: (near initialization for `swig_commands[21]') perl.c:1851: warning: braces around scalar initializer perl.c:1851: warning: (near initialization for `swig_commands[22]') perl.c:1851: warning: initialization makes integer from pointer without a cast perl.c:1851: error: `_wrap_rlib_set_output_parameter' undeclared here (not in a function) perl.c:1851: warning: excess elements in scalar initializer perl.c:1851: warning: (near initialization for `swig_commands[22]') perl.c:1852: warning: braces around scalar initializer perl.c:1852: warning: (near initialization for `swig_commands[23]') perl.c:1852: warning: initialization makes integer from pointer without a cast perl.c:1852: error: `_wrap_rlib_set_output_encoding' undeclared here (not in a function) perl.c:1852: warning: excess elements in scalar initializer perl.c:1852: warning: (near initialization for `swig_commands[23]') perl.c:1853: warning: braces around scalar initializer perl.c:1853: warning: (near initialization for `swig_commands[24]') perl.c:1853: warning: initialization makes integer from pointer without a cast perl.c:1853: error: `_wrap_rlib_set_datasource_encoding' undeclared here (not in a function) perl.c:1853: warning: excess elements in scalar initializer perl.c:1853: warning: (near initialization for `swig_commands[24]') perl.c:1854: warning: braces around scalar initializer perl.c:1854: warning: (near initialization for `swig_commands[25]') perl.c:1854: warning: initialization makes integer from pointer without a cast perl.c:1854: error: `_wrap_rlib_free' undeclared here (not in a function) perl.c:1854: warning: excess elements in scalar initializer perl.c:1854: warning: (near initialization for `swig_commands[25]') perl.c:1855: warning: braces around scalar initializer perl.c:1855: warning: (near initialization for `swig_commands[26]') perl.c:1855: warning: initialization makes integer from pointer without a cast perl.c:1855: error: `_wrap_rlib_version' undeclared here (not in a function) perl.c:1855: warning: excess elements in scalar initializer perl.c:1855: warning: (near initialization for `swig_commands[26]') perl.c:1856: warning: braces around scalar initializer perl.c:1856: warning: (near initialization for `swig_commands[27]') perl.c:1856: warning: initialization makes integer from pointer without a cast perl.c:1856: error: `_wrap_rlib_graph_add_bg_region' undeclared here (not in a function) perl.c:1856: warning: excess elements in scalar initializer perl.c:1856: warning: (near initialization for `swig_commands[27]') perl.c:1857: warning: braces around scalar initializer perl.c:1857: warning: (near initialization for `swig_commands[28]') perl.c:1857: warning: initialization makes integer from pointer without a cast perl.c:1857: error: `_wrap_rlib_graph_clear_bg_region' undeclared here (not in a function) perl.c:1857: warning: excess elements in scalar initializer perl.c:1857: warning: (near initialization for `swig_commands[28]') perl.c:1858: warning: braces around scalar initializer perl.c:1858: warning: (near initialization for `swig_commands[29]') perl.c:1858: warning: initialization makes integer from pointer without a cast perl.c:1858: error: `_wrap_rlib_graph_set_x_minor_tick' undeclared here (not in a function) perl.c:1858: warning: excess elements in scalar initializer perl.c:1858: warning: (near initialization for `swig_commands[29]') perl.c:1859: warning: braces around scalar initializer perl.c:1859: warning: (near initialization for `swig_commands[30]') perl.c:1859: warning: initialization makes integer from pointer without a cast perl.c:1859: error: `_wrap_rlib_graph_set_x_minor_tick_by_location' undeclared here (not in a function) perl.c:1859: warning: excess elements in scalar initializer perl.c:1859: warning: (near initialization for `swig_commands[30]') perl.c:1860: warning: braces around scalar initializer perl.c:1860: warning: (near initialization for `swig_commands[31]') perl.c:1860: warning: excess elements in scalar initializer perl.c:1860: warning: (near initialization for `swig_commands[31]') perl.c:1861: warning: data definition has no type or storage class perl.c:1867: error: syntax error before '{' token perl.c:1871: error: syntax error before "if" perl.c:1872: warning: type defaults to `int' in declaration of `swig_types_initial' perl.c:1872: error: variable-size type declared outside of any function perl.c:1872: error: conflicting types for 'swig_types_initial' perl.c:1810: error: previous definition of 'swig_types_initial' was here perl.c:1872: warning: data definition has no type or storage class perl.c:1872: error: syntax error before '++' token perl.c:1875: warning: type defaults to `int' in declaration of `_init' perl.c:1875: error: redefinition of '_init' perl.c:1870: error: previous definition of '_init' was here perl.c:1875: warning: data definition has no type or storage class perl.c:1876: error: syntax error before '}' token perl.c:1879: error: syntax error before '.' token perl.c:1884: error: syntax error before '.' token perl.c:1886: warning: type defaults to `int' in declaration of `sv' perl.c:1886: error: initializer element is not constant perl.c:1886: warning: data definition has no type or storage class perl.c:1887: error: syntax error before "if" perl.c:1892: error: syntax error before '(' token perl.c:1892: error: syntax error before '.' token perl.c:1896: error: syntax error before '.' token perl.c:1898: warning: type defaults to `int' in declaration of `sv' perl.c:1898: error: redefinition of 'sv' perl.c:1886: error: previous definition of 'sv' was here perl.c:1898: error: initializer element is not constant perl.c:1898: warning: data definition has no type or storage class perl.c:1899: error: syntax error before "switch" perl.c:1918: warning: type defaults to `int' in declaration of `SvREADONLY_on' perl.c:1918: warning: parameter names (without types) in function declaration perl.c:1918: warning: data definition has no type or storage class perl.c:1919: error: syntax error before '}' token perl.c:1921: error: syntax error before numeric constant perl.c:1921: warning: type defaults to `int' in declaration of `ST' perl.c:1921: error: function `ST' is initialized like a variable perl.c:1921: error: `sv_yes' undeclared here (not in a function) perl.c:1921: warning: data definition has no type or storage class perl.c:1922: error: syntax error before numeric constant perl.c:1922: warning: type defaults to `int' in declaration of `XSRETURN' perl.c:1922: warning: data definition has no type or storage class /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3087: warning: array 'PL_sig_name' assumed to have one element /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3088: warning: array 'PL_sig_num' assumed to have one element /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3166: warning: array 'PL_fold' assumed to have one element /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3205: warning: array 'PL_fold_locale' assumed to have one element /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3281: warning: array 'PL_freq' assumed to have one element /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3711: error: storage size of `PL_vtbl_sv' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3712: error: storage size of `PL_vtbl_env' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3713: error: storage size of `PL_vtbl_envelem' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3714: error: storage size of `PL_vtbl_sig' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3715: error: storage size of `PL_vtbl_sigelem' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3716: error: storage size of `PL_vtbl_pack' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3717: error: storage size of `PL_vtbl_packelem' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3718: error: storage size of `PL_vtbl_dbline' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3719: error: storage size of `PL_vtbl_isa' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3720: error: storage size of `PL_vtbl_isaelem' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3721: error: storage size of `PL_vtbl_arylen' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3722: error: storage size of `PL_vtbl_glob' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3723: error: storage size of `PL_vtbl_mglob' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3724: error: storage size of `PL_vtbl_nkeys' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3725: error: storage size of `PL_vtbl_taint' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3726: error: storage size of `PL_vtbl_substr' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3727: error: storage size of `PL_vtbl_vec' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3728: error: storage size of `PL_vtbl_pos' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3729: error: storage size of `PL_vtbl_bm' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3730: error: storage size of `PL_vtbl_fm' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3731: error: storage size of `PL_vtbl_uvar' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3732: error: storage size of `PL_vtbl_ovrld' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3738: error: storage size of `PL_vtbl_defelem' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3739: error: storage size of `PL_vtbl_regexp' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3740: error: storage size of `PL_vtbl_regdata' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3741: error: storage size of `PL_vtbl_regdatum' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3744: error: storage size of `PL_vtbl_collxfrm' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3747: error: storage size of `PL_vtbl_amagic' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3748: error: storage size of `PL_vtbl_amagicelem' isn'tknown /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3750: error: storage size of `PL_vtbl_backref' isn't known /usr/lib/perl5/5.8.6/i386-linux/CORE/perl.h:3751: error: storage size of `PL_vtbl_utf8' isn't known perl.c:111: warning: 'SWIG_Perl_TypeRegister' defined but not used perl.c:183: warning: 'SWIG_Perl_TypeDynamicCast' defined but not used perl.c:195: warning: 'SWIG_Perl_TypeName' defined but not used perl.c:201: warning: 'SWIG_Perl_TypeQuery' defined but not used perl.c:487: warning: 'SWIG_Perl_ConvertPtr' defined but not used perl.c:577: warning: 'SWIG_Perl_NewPointerObj' defined but not used perl.c:584: warning: 'SWIG_Perl_MakePackedObj' defined but not used perl.c:596: warning: 'SWIG_Perl_ConvertPacked' defined but not used perl.c:614: warning: 'SWIG_Perl_SetError' defined but not used perl.c:619: warning: 'SWIG_Perl_SetErrorSV' defined but not used perl.c:624: warning: 'SWIG_Perl_SetErrorf' defined but not used perl.c:684: warning: '_swig_create_magic' defined but not used perl.c:768: warning: 'swig_types' defined but not used perl.c:800: warning: 'swig_magic_readonly' defined but not used perl.c:1810: warning: 'swig_types_initial' defined but not used perl.c:1870: warning: '_init' defined but not used make[3]: *** [perl.lo] Error 1 make[3]: Leaving directory `/home/prom/MyDownloads/rlib-1.3.6/bindings/perl' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/prom/MyDownloads/rlib-1.3.6/bindings' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/prom/MyDownloads/rlib-1.3.6' make: *** [all] Error 2 |