On Nov 13, 2013, at 5:36 PM, John Peterson wrote:

> 
> 
> 
> On Tue, Nov 12, 2013 at 4:00 PM, John Peterson <[email protected]> wrote:
> 
> 
> 
> On Tue, Nov 12, 2013 at 3:35 PM, Hui Zhang <[email protected]> wrote:
> 
> On Nov 12, 2013, at 11:34 PM, John Peterson wrote:
> 
> >
> >
> >> On Nov 12, 2013, at 3:06 PM, Hui Zhang <[email protected]> wrote:
> >>
> >> I had problem when 'make' libmesh which gave me
> >>
> >> In file included from ncdap3.h:12, from daputil.c:16:
> >> /usr/include/unistd.h:117: error: two or more data types in declaration 
> >> specifiers
> >>
> >> Then, I found the following link helps
> >>
> >> http://trac.macports.org/browser/trunk/dports/science/netcdf/files/patch-daputil.c.diff?rev=112984
> >>
> >> Following that, I just commented out the line "#include "oc.h" in 
> >> contrib/netcdf/v4/libdap2/daputil.c
> >>
> >> Then, it works.
> >
> > What OS are you running?  We haven't seen this on any version of OSX that I 
> > know of.
> 
> Mac OS X 10.6.8 snowleopad
> 
> I see... the version of netcdf we are currently using probably came along 
> well after that OS.
> 
> Looks like upstream is hopefully aware of the problem, but I'll patch our 
> netcdf in the meantime.
> 
> Actually I didn't test this carefully enough, simply removing #include "oc.h" 
> breaks netcdf, at least for the clang compiler on Mountain Lion.  The error 
> is:
> 
> daputil.c:13:24: error: a parameter list without types is only allowed in a 
> function definition
> extern int oc_dumpnode(OClink, OCddsnode);
> 
> Since I don't have access to a Snow Leopard machine, would you try changing 
> the above function declaration to:
> 
> extern int oc_dumpnode(void*, void*);
> 
> and let me know if that still works for you?

Yes, after that change it still works without #include "oc.h".  Did you notice 
my question in the other thread? It seems that petsc changed DMCreateMatrix
interface with the second parameter MatType removed.  


> 
> --
> John


------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to