Hey,
I am trying to build ez-ipupdate for my computer. I had some problems running the developers configure script but once I copied over config.guess and .sub I was ready to make. I get an error output which is on the following code:
cc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -c ez-ipupdate.c
ez-ipupdate.c:192: bad macro argument list
ez-ipupdate.c:186: bad macro argument list
cpp-precomp: warning: errors during smart preprocessing, retrying in basic mode
#if !defined(__GNUC__) && !defined(HAVE_SNPRINTF)
#error "get gcc, fix this code, or find yourself a snprintf!"
#else
# if HAVE_SNPRINTF
# define snprintf(x, y, z...) snprintf(x, y, ## z) #186
# else
# define snprintf(x, y, z...) sprintf(x, ## z)
# endif
#endif
#if HAVE_VSNPRINTF
# define vsnprintf(x, y, z...) vsnprintf(x, y, ## z) #192
#else
# define vsnprintf(x, y, z...) vsprintf(x, ## z)
#endif
I have talked with the developer and one response was:
you'll notice that you don't have an snprintf
...
I guess apple is defining __GNUC__ but not using gcc as the compiler.
I told him that his configure script said I have both vsnprintf and snprintf.
I am at a loss now since I haven't used either function but I seem to have them. Any ideas on how to get this to work? Should I use another compiler other than the apple developer tools? is there one?