Re: libffi errors with --enable-debugging-features

David Bélanger <[email protected]>
Newsgroups gmane.comp.java.vm.sablevm.devel
Message-ID <[email protected]>
Hi Chris,

I noticed these warnings some time ago.  There might be a -Werror added.
If so, it turns warnings into errors.

Try:
--disable-errors-on-warnings
to get around it for now.


David


On Wed, Dec 01, 2004 at 09:11:38PM -0500, Chris Pickett wrote:
> Hi,
> 
> I have this problem with the libffi available in Gentoo's portage and 
> with the standalone libffi-2.1 as supplied by Greg on x86_64:
> 
> $ make
> ...
> In file included from libsablevm.c:18:
> /home/research/ccl/cpicke/include/ffi.h:191: warning: function 
> declaration isn't a prototype
> /home/research/ccl/cpicke/include/ffi.h:204: warning: function 
> declaration isn't a prototype
> /home/research/ccl/cpicke/include/ffi.h:273: warning: function 
> declaration isn't a prototype
> make[5]: *** [libsablevm.lo] Error 1
> make[5]: Leaving directory 
> `/home/research/ccl/cpicke/sablevm-verbose_methods/src/libsablevm'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory 
> `/home/research/ccl/cpicke/sablevm-verbose_methods/src/libsablevm'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory 
> `/home/research/ccl/cpicke/sablevm-verbose_methods/src/libsablevm'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/home/research/ccl/cpicke/sablevm-verbose_methods/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/home/research/ccl/cpicke/sablevm-verbose_methods'
> make: *** [all] Error 2
> 
> It only happens when I use --enable-debugging-features.
> 
> Any clues as to how we can fix this?  Maybe some too strict checks were 
> introduced recently.  You can check out the problem by trying to build 
> on magic.cs.mcgill.ca
> 
> Cheers,
> Chris
> 
> _______________________________________________
> SableVM-devel mailing list
> [email protected]
> http://sablevm.org/lists/control/listinfo/sablevm-devel

-- 

---

David Bélanger
Web page:   http://www.cs.mcgill.ca/~dbelan2/
Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.