Date: Wed, 28 Nov 2001 13:00:26 +0100 From: "Cristina Molla Garcia" <crosfib@hotmail.com> To: questions@FreeBSD.org Subject: Building a new kernel Message-ID: <F897Dz3QGZJ95XUSUHQ0000dd67@hotmail.com>
next in thread | raw e-mail | index | archive | help
Hello, I want to build a new kernel but I have some problems when I'm compiling it. I am modifying a file "input.c" and I need to use the mathematical function "log", so I include "math.h". But it doesn't work. The compilation produces the following errors: /usr/include/math.h: 119: conflicting types for 'log' ../../sys/systm.h: 116: previous declaration for 'log' /usr/include/math.h: 119: warning: redundant redeclaration of 'log'in same scope ../../sys/systm.h: 116: previous declaration for 'log' /usr/include/math.h: 177: warning: function declaration isn't a prototype /usr/include/math.h: 260: warning: function declaration isn't a prototype After that, the compilation fails. I think that this problem occurs because the function log belongs to "math.h" and "systm.h". What can I do? I've tried different things but it doesn't work. Thanks, Cristina _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F897Dz3QGZJ95XUSUHQ0000dd67>