Welcome! Log In Create A New Profile

Advanced

build on AIX fails

Posted by rafaelri 
rafaelri
build on AIX fails
September 22, 2009 09:30PM
Build on AIX fails due to (I guess) conflicting procedure name on AIX
thread.h

I managed to solve it (locally) by renaming all the thread_init
procedures on memcached code (I have appended a 2 on procedure name
resulting in thread_init2)

memcached.h:437: error: conflicting types for 'thread_init'
/usr/include/sys/thread.h:920: error: previous declaration of
'thread_init' was here

Is there any better workaround? Couldnt it be renamed on memcached
code so build on AIX would work without workarounds?

best regards,
Dustin
Re: build on AIX fails
September 22, 2009 10:20PM
On Sep 22, 12:17 pm, rafaelri <rafae...@gmail.com> wrote:
> Build on AIX fails due to (I guess) conflicting procedure name on AIX
> thread.h
>
> I managed to solve it (locally) by renaming all the thread_init
> procedures on memcached code (I have appended a 2 on procedure name
> resulting in thread_init2)
>
> memcached.h:437: error: conflicting types for 'thread_init'
> /usr/include/sys/thread.h:920: error: previous declaration of
> 'thread_init' was here
>
> Is there any better workaround? Couldnt it be renamed on memcached
> code so build on AIX would work without workarounds?

Yes, but I would love an AIX builder if you can provide one, as we
can't generally ensure we don't break AIX currently.

http://code.google.com/p/memcached/wiki/BuildFarm
Sorry, only registered users may post in this forum.

Click here to login