<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">Hi David,<br>&nbsp;&nbsp;&nbsp; Thanks a lot. it works now. I looked into the CMakeCache.txt and change the value of <font size="2">HAVE_STRERROR to 1<br>Best regards,<br>Ahmed Saad<br><br></font>&nbsp;<br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: "Thompson, David C" &lt;dcthomp@sandia.gov&gt;<br>To: ahmed saad &lt;ahmedalysaad2004@yahoo.com&gt;; vtkusers@vtk.org<br>Sent: Tuesday, February 27, 2007 6:05:21 PM<br>Subject: RE: [vtkusers] vtknetcdf problem Mac Os X G5<br><br><title>RE: [vtkusers] vtknetcdf problem Mac Os X G5</title>


 
 




<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>
&nbsp;&nbsp; HAVE_STRERROR?<br>
2. Look in /usr/include/string.h for a line like this:<br>
&nbsp;&nbsp; char&nbsp; *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>
&nbsp;&nbsp;&nbsp; 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>
&nbsp;&nbsp; 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>
&nbsp; 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:&nbsp; 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!&nbsp;<br>
Get new email alerts with the free Yahoo! Toolbar.<br>
<a rel="nofollow" target="_blank" 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 rel="nofollow" target="_blank" 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 rel="nofollow" target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br>
<br>
</font>
</p>

</div><br></div></div><br>

<hr size=1>The fish are biting.<br>
<a href="http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50"> Get more visitors</a> on your site using <a href="
http://us.rd.yahoo.com/evt=49679/*http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php?o=US2140&cmp=Yahoo&ctv=Q107Tagline&s=Y&s2=EM&b=50">Yahoo! Search Marketing.</a></body></html>