info-inventor-dev
[Top] [All Lists]

compiling oiv on rhel3

To: info-inventor-dev@xxxxxxxxxxx
Subject: compiling oiv on rhel3
From: "John H. Harris" <harris@xxxxxxxxxxxxxx>
Date: Thu, 24 Feb 2005 09:32:23 -0800 (PST)
Sender: info-inventor-dev-bounce@xxxxxxxxxxx
Hi,

I just tried compiling oiv on rhel3 and it failed with the following:

/usr/bin/g++ -DLIBRARYBUILD -I/usr/X11R6/include -I. -I../../../../../../../lib/database/include -I../../../../../../../lib/interaction/include -I../../../../../../../lib/nodekits/include -I../../../../../../../libSoXt/include -I../head -fPIC -DIVPREFIX=\"/usr\" -g -c nurbsClient.c++
In file included from gl4surfeval.c++:49,
from nurbsClient.c++:57:
/usr/include/stdio.h:386: declaration of C function `int printf(int, const
char*, ...)' conflicts with
/usr/include/stdio.h:329: previous declaration `int printf(const char*, ...)'
here
In file included from nurbsClient.c++:57:




I rememeber seeing a patch that was used on the src for some of the more recent versions of linux but couldn't find it on the oss site. Any suggestions? John

--

---------------------------------
 John Harris
 National Center for Ecological
 Analysis and Synthesis (NCEAS)
 735 State St. Ste. 303
 Santa Barbara, CA 93101
 805-892-2531
 harris@xxxxxxxxxxxxxx
---------------------------------

<Prev in Thread] Current Thread [Next in Thread>
  • compiling oiv on rhel3, John H. Harris <=