Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

makefile errors



I'm not sure this is the right list to write to, anyway...

I'm trying to build Open Inventor libraries with make (from shell or X11) using command "make -C /Developer/inventor -f GNUmakefile".
The operation fails when trying to compile file ppp.c++.
The error is


/usr/include/architecture/ppc/math.h:361: error: declaration of C function 'float acos(float)' conflicts with
/usr/include/architecture/ppc/math.h:360: error: previous declaration 'double acos(double)' here


while in mat.h the second declaration is not "float acos(float)" but "float acosf(float)". Why the letter "f" is not considered?
The same error is returned for many other declarations (sqrt, atan, etc.).


Have any idea?

PS: it's almost 20 days I try to compile Open Inventor and feel really silly for asking this much, but it' the first time I have so many problems compiling a library! Is it possible that there is a particular way to do it? I firstly tried with XCode, and now with make... Some suggestion?

Thank you so much.
Best regards, livio.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.