Compilation errors

Sylvain Petreolle spetreolle at yahoo.fr
Sun Oct 13 13:10:52 CDT 2002


Wine hasn't got a header called math.h

> If you will look again at what you sent, you will see that the error
> is
> being thrown by <wine>/tools/makedep, which might not behave exactly
> the
> same as a compiler WRT header files.  It might have ts own reasons to
> distinguish system headers from wine headers, FI.  #include "math.h"
> is
> wrong if the .c file wants <math.h>.

So look at the following :
- wine doesn't have math.h, so the right code is "#include <math.h>"
- then #include <> must know where to look for system headers.
If it doesn't, this is an installation problem.

> What if the C header files are in /usr/local/include?  Last time I
> built
> libc from source, that is where it wanted to install its header
> files, I
> think.


___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the wine-devel mailing list