<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">I considered doing this after reading some C-programming forums, but I'm not much of a C programmer… It certainly stopped giving that "int" error in the compilation, but still no executables in var/build/.<br>
<br>
</div>
</span></font></div>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
<br>
<br>
On Aug 24, 2012, at 10:48 AM, Dmitry N. Mikushin wrote:<br>
<br>
> Sean,<br>
> <br>
> Sorry, I was too fast with my conclusion and did not pay attention to<br>
> <br>
> void<br>
> main( int argc, char *argv[], char *env[] )<br>
> <br>
> Please change void to int here in registry.c. Then with clang it<br>
> should compile, even without "return 0;" in the end.<br>
> <br>
> - D.<br>
> <br>
> 2012/8/24 Crowell, Sean M. <scrowell@ou.edu>:<br>
>> Dmitry,<br>
>> <br>
>> I added this line at the end as you suggested, but the error message appears<br>
>> to be the same. I've included the output as you requested. When I checked<br>
>> what compiler "cc" is pointing to, the system says it's pointing to "clang".<br>
>> <br>
>> Sean<br>
>> <br>
>> <br>
>> <br>
>> ======================================<br>
>> Sean Crowell<br>
>> Postdoctoral Research Associate<br>
>> College of Atmospheric and Geographic Sciences<br>
>> University of Oklahoma<br>
>> Office: NWC 5420<br>
>> Phone: (405)325-1089<br>
>> scrowell@ou.edu<br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> On Aug 24, 2012, at 10:13 AM, Dmitry N. Mikushin wrote:<br>
>> <br>
>> Hi Sean,<br>
>> <br>
>> In tools/registry.c try to add "return 0;" statement to the end of the<br>
>> main function:<br>
>> <br>
>> system( command ) ;<br>
>> <br>
>> return 0;<br>
>> }<br>
>> <br>
>> If more errors will occur, please post the new log here, as with<br>
>> registry successfully compiled the log might be a lot different.<br>
>> <br>
>> Btw, what is the name of that serious CC compiler? According to your<br>
>> log it forces C99. Why?<br>
>> <br>
>> - D.<br>
>> <br>
>> 2012/8/15 Crowell, Sean M. <scrowell@ou.edu>:<br>
>> <br>
>> I am attempting to compile Version 3.4 of WRFDA on my Mac Pro, and am<br>
>> <br>
>> running into difficulties. I emailed about compiling WRF once before, and<br>
>> <br>
>> was given a nice configure script that solved my problems. I'm guessing<br>
>> <br>
>> that it's a similar difficulty here, but I can't seem to figure out what's<br>
>> <br>
>> going wrong. I have included my configure.wrf file, which is identical to<br>
>> <br>
>> what I used to successfully compile WRF, as well as a compile.log file that<br>
>> <br>
>> has the output of the compile all_wrfvar step.<br>
>> <br>
>> <br>
>> Sean<br>
>> <br>
>> <br>
>> ======================================<br>
>> <br>
>> Sean Crowell<br>
>> <br>
>> Postdoctoral Research Associate<br>
>> <br>
>> College of Atmospheric and Geographic Sciences<br>
>> <br>
>> University of Oklahoma<br>
>> <br>
>> Office: NWC 5420<br>
>> <br>
>> Phone: (405)325-1089<br>
>> <br>
>> scrowell@ou.edu<br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> <br>
>> _______________________________________________<br>
>> <br>
>> Wrf-users mailing list<br>
>> <br>
>> Wrf-users@ucar.edu<br>
>> <br>
>> <a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a><br>
>> <br>
>> <br>
>> <br>
<br>
</div>
</span></font></div>
</body>
</html>