2 Replies Latest reply: Sep 13, 2013 5:20 PM by SOMECLOWN RSS

Compiling examples from the SDK on OS X

Currently Being Moderated



I'm just playing with the SDK at this point, working on some proof-of-concept stuff and generally trying to familiarize myself with it.  However, after trying to compile the "hello_ontapi.c" example code snippet using first gcc and then clang, it occurred to me that I hadn't checked for compatibility.  I'm getting an error and a couple of warnings, and I'm just curious before I go too much further if anyone has successfully developed, in C, on OSX, using the SDK?  Errors are below for those that care.  Thanks in advance.


In file included from ./hello_ontapi.c:27:

./netapp_api.h:125:9: error: unknown type name 'uint64_t'

_EXTERN uint64_t        na_child_get_uint64(na_elem_t *, const char *,


./netapp_api.h:126:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]



./netapp_api.h:128:24: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]

                                const char * name, uint64_t);


2 warnings and 1 error generated.

More Like This

  • Retrieving data ...