-I/usr/include/gdbm -O2 -pipe -march=opteron -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE" TinySVM_wrap.c cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++ TinySVM_wrap.c: In function ‘void _swig_create_magic(SV*, const char*, int (*)(SV*, MAGIC*), int (*)(SV*, MAGIC*))’: TinySVM_wrap.c:335: error: invalid conversion from ‘int (*)(SV*, MAGIC*)’ to ‘int (*)(PerlInterpreter*, SV*, MAGIC*)’ TinySVM_wrap.c:336: error: invalid conversion from ‘int (*)(SV*, MAGIC*)’ to ‘int (*)(PerlInterpreter*, SV*, MAGIC*)’ TinySVM_wrap.c: In function ‘void _wrap_BaseExample_read(PerlInterpreter*, CV*)’: TinySVM_wrap.c:538: warning: deprecated conversion from string constant to ‘char*’ TinySVM_wrap.c: In function ‘void _wrap_BaseExample_write(PerlInterpreter*, CV*)’: TinySVM_wrap.c:577: warning: deprecated conversion from string constant to ‘char*’ TinySVM_wrap.c: In function ‘void _wrap_BaseExample_readSVindex(PerlInterpreter*, CV*)’: TinySVM_wrap.c:616: warning: deprecated conversion from string constant to ‘char*’ TinySVM_wrap.c: In function ‘void _wrap_BaseExample_writeSVindex(PerlInterpreter*, CV*)’: TinySVM_wrap.c:655: warning: deprecated conversion from string constant to ‘char*’ TinySVM_wrap.c: In function ‘void _wrap_Model_read(PerlInterpreter*, CV*)’: TinySVM_wrap.c:988: warning: deprecated conversion from string constant to ‘char*’ TinySVM_wrap.c: In function ‘void _wrap_Model_write(PerlInterpreter*, CV*)’: TinySVM_wrap.c:1027: warning: deprecated conversion from string constant to ‘char*’ TinySVM_wrap.c: In function ‘void _wrap_Example_read(PerlInterpreter*, CV*)’: TinySVM_wrap.c:1316: warning: deprecated conversion from string constant to ‘char*’ TinySVM_wrap.c: In function ‘void _wrap_Example_write(PerlInterpreter*, CV*)’: TinySVM_wrap.c:1355: warning: deprecated conversion from string constant to ‘char*’ TinySVM_wrap.c: In function ‘void boot_TinySVM(PerlInterpreter*, CV*)’: TinySVM_wrap.c:1504: error: declaration of C function ‘void boot_TinySVM(PerlInterpreter*, CV*)’ conflicts with TinySVM_wrap.c:369: error: previous declaration ‘void boot_TinySVM(CV*)’ here make: *** [TinySVM_wrap.o] Error 1 * * ERROR: sci-misc/tinysvm-0.09-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2747: Called perl-module_src_compile * environment, line 2385: Called die * The specific snippet of code: * make ${mymake} || die "compilation failed"; * The die message: * compilation failed Shingoshi
Please provide your emerge --info output.
Created attachment 152115 [details] emerge --info
(In reply to comment #2) > Created an attachment (id=152115) [edit] > emerge --info No, this is not an output of `emerge --info`. Please try again and reopen this bug.
The file I posted here contains the following: 1. Build.log 2. Emerge --info They are both contained in a single file, divided by headings to identify the separate parts. This file is created automatically by a script which I wrote for this purpose. Please read the file more carefully. Everything you need is there. Shingoshi
Created attachment 152321 [details] Everything in one file.
Looks like too old swig. You might want to try updating it.
(In reply to comment #6) > Looks like too old swig. You might want to try updating it. > Thank you! I'll try that right now and let you know. Shingoshi
I should've looked first before typing that. It seems I have the latest version installed now, at swig-1.3.35. So I don't think that could be it at all, unless they just brought out a later version since I synced earlier today. I just checked on http://gentoo-portage.com/dev-lang/swig. I indeed have the latest version. Shingoshi
sorry for delay. I couldn't reproduce this. how about tinysvm-0.09-r2?
no response. if you still have the issue, please reopen this bug.