From harris@nceas.ucsb.edu Thu Feb 24 09:32:31 2005 Received: with ECARTIS (v1.0.0; list info-inventor-dev); Thu, 24 Feb 2005 09:32:36 -0800 (PST) Received: from sulphur.homelinux.com (68-232-226-48.vnnyca.adelphia.net [68.232.226.48]) by oss.sgi.com (8.13.0/8.13.0) with ESMTP id j1OHWS4d023098 for ; Thu, 24 Feb 2005 09:32:31 -0800 Received: from sulphur.homelinux.com (localhost.localdomain [127.0.0.1]) by sulphur.homelinux.com (8.12.10/8.12.10) with ESMTP id j1OHWQoT023178 for ; Thu, 24 Feb 2005 09:32:26 -0800 Received: from localhost (harris_nceas@localhost) by sulphur.homelinux.com (8.12.10/8.12.10/Submit) with ESMTP id j1OHWNLm023172 for ; Thu, 24 Feb 2005 09:32:26 -0800 X-Authentication-Warning: sulphur.homelinux.com: harris_nceas owned process doing -bs Date: Thu, 24 Feb 2005 09:32:23 -0800 (PST) From: "John H. Harris" X-X-Sender: harris_nceas@sulphur.homelinux.com To: info-inventor-dev@oss.sgi.com Subject: compiling oiv on rhel3 Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: ClamAV 0.83/723/Thu Feb 24 03:54:24 2005 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 134 X-ecartis-version: Ecartis v1.0.0 Sender: info-inventor-dev-bounce@oss.sgi.com Errors-to: info-inventor-dev-bounce@oss.sgi.com X-original-sender: harris@nceas.ucsb.edu Precedence: bulk X-list: info-inventor-dev 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@nceas.ucsb.edu ---------------------------------