On 05/31/2010 01:31 AM, Heath wrote:
> I ran configure with --prefix=`pwd` (I'm trying to embed oauth onto my
> palm pre, and I didn't want to add it to my general system yet) and I
> got the following compiler error on Mac OSX 10.6.3:
> 
> mcheath:liboauth-0.8.5 hborders$ make
> Making all in src
> make  all-am
> /bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -
> I.    -Wall  -g -O2 -MT liboauth_la-oauth.lo -MD -MP -MF .deps/
> liboauth_la-oauth.Tpo -c -o liboauth_la-oauth.lo `test -f 'oauth.c' ||
> echo './'`oauth.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -Wall -g -O2 -MT
> liboauth_la-oauth.lo -MD -MP -MF .deps/liboauth_la-oauth.Tpo -c
> oauth.c  -fno-common -DPIC -o .libs/liboauth_la-oauth.o
> In file included from oauth.c:43:
> xmalloc.h:12: error: expected declaration specifiers or ‘...’ before
> numeric constant
> xmalloc.h:12: error: expected declaration specifiers or ‘...’ before
> ‘__builtin_object_size’
> xmalloc.h:12: warning: conflicting types for built-in function
> ‘__builtin___snprintf_chk’
> make[2]: *** [liboauth_la-oauth.lo] Error 1
> make[1]: *** [all] Error 2
> make: *** [all-recursive] Error 1
> 
> I commented out line 12 in xmalloc.h and everything compiled fine.
> 
> Is this a bug?  Is this even the right place to post this issue?
not really and yes.

It's some incompatibility between Xcode and POSIX-C99.
I'll have a look to resolve the issue. Thanks for reporting this.

Cheers!
robin

> Thanks.
> -Heath
> 

-- 
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/oauth?hl=en.

Reply via email to