<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7651.59">
<TITLE>RE: [vtkusers] vtknetcdf problem Mac Os X G5</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<P><FONT SIZE=2>Hmmm, it appears that the CMake variable NO_STRERROR is<BR>
defined on your system. That is strange because MacOS X<BR>
should provide strerror(). Can you<BR>
1. Look in your CMakeCache.txt and find the value of<BR>
HAVE_STRERROR?<BR>
2. Look in /usr/include/string.h for a line like this:<BR>
char *strerror(int);<BR>
You should see HAVE_STRERROR set to 1 and see a line<BR>
like the above in /usr/include/string.h. If you don't,<BR>
then there is a problem with CMake or your compiler<BR>
setup that is preventing the test for strerror from being<BR>
built.<BR>
<BR>
David<BR>
<BR>
-----Original Message-----<BR>
From: vtkusers-bounces+dcthomp=sandia.gov@vtk.org on behalf of ahmed saad<BR>
Sent: Tue 2/27/2007 5:38 PM<BR>
To: vtkusers@vtk.org<BR>
Subject: [vtkusers] vtknetcdf problem Mac Os X G5<BR>
<BR>
Hi,<BR>
I tried to build the vtk from CVS on Mac Os X 10.4<BR>
I've got the following errors<BR>
your help is really apperciated<BR>
Ahmed<BR>
<BR>
Building C object<BR>
Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/error.o<BR>
/Users/aasaad/Desktop/NeededSoftware/Utilities/vtknetcdf/error.c:<BR>
In function 'strerror':<BR>
/Users/aasaad/Desktop/NeededSoftware/Utilities/vtknetcdf/error.c:23:<BR>
error: conflicting type qualifiers for 'sys_nerr'<BR>
/usr/include/stdio.h:273: error: previous declaration<BR>
of 'sys_nerr' was here<BR>
/Users/aasaad/Desktop/NeededSoftware/Utilities/vtknetcdf/error.c:24:<BR>
error: conflicting types for 'sys_errlist'<BR>
/usr/include/stdio.h:274: error: previous declaration<BR>
of 'sys_errlist' was here<BR>
make[2]: ***<BR>
[Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/error.o]<BR>
Error 1<BR>
make[1]: ***<BR>
[Utilities/vtknetcdf/CMakeFiles/vtkNetCDF.dir/all]<BR>
Error 2<BR>
make: *** [all] Error 2<BR>
<BR>
<BR>
<BR>
<BR>
____________________________________________________________________________________<BR>
It's here! Your new message! <BR>
Get new email alerts with the free Yahoo! Toolbar.<BR>
<A HREF="http://tools.search.yahoo.com/toolbar/features/mail/">http://tools.search.yahoo.com/toolbar/features/mail/</A><BR>
_______________________________________________<BR>
This is the private VTK discussion list.<BR>
Please keep messages on-topic. Check the FAQ at: <A HREF="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</A><BR>
Follow this link to subscribe/unsubscribe:<BR>
<A HREF="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</A><BR>
<BR>
<BR>
</FONT>
</P>
</BODY>
</HTML>