Can you dig out the generated swig code from your build tree and post the
snippet being referenced?

--Rafael

On Thu, Oct 25, 2012 at 9:15 AM, Ken Giusti <kgiu...@redhat.com> wrote:

> Fix committed for NAME_MAX.
>
> But now this on trunk as well as RC3 (again Centos5 x64):
>
>
> [ 91%] Building C object
> bindings/python/CMakeFiles/_cproton.dir/pythonPYTHON_wrap.c.o
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:
> In function ‘wrap_pn_connector_set_context’:
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:2842:
> warning: dereferencing ‘void *’ pointer
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:2842:
> error: request for member ‘ob_refcnt’ in something not a structure or union
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:
> In function ‘wrap_pn_connection_set_context’:
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:2867:
> warning: dereferencing ‘void *’ pointer
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:2867:
> error: request for member ‘ob_refcnt’ in something not a structure or union
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:
> In function ‘wrap_pn_session_set_context’:
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:2892:
> warning: dereferencing ‘void *’ pointer
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:2892:
> error: request for member ‘ob_refcnt’ in something not a structure or union
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:
> In function ‘wrap_pn_link_set_context’:
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:2917:
> warning: dereferencing ‘void *’ pointer
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:2917:
> error: request for member ‘ob_refcnt’ in something not a structure or union
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:
> In function ‘wrap_pn_delivery_set_context’:
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:2942:
> warning: dereferencing ‘void *’ pointer
> /home/kgiusti/proton/qpid-proton/proton-c/build/bindings/python/pythonPYTHON_wrap.c:2942:
> error: request for member ‘ob_refcnt’ in something not a structure or union
> make[2]: ***
> [bindings/python/CMakeFiles/_cproton.dir/pythonPYTHON_wrap.c.o] Error 1
> make[1]: *** [bindings/python/CMakeFiles/_cproton.dir/all] Error 2
> make: *** [all] Error 2
> [kgiusti@centos5 build]$
>
> -K
>
> ----- Original Message -----
> > Centos5 x64 build failure - funny didn't I see this before?
> >
> > [ 69%] Building C object CMakeFiles/qpid-proton.dir/src/driver.c.o
> > /home/kgiusti/proton/qpid-proton-c-0.1/src/driver.c:75:1: error:
> > "NAME_MAX" redefined
> > In file included from /usr/include/bits/local_lim.h:36,
> >                  from /usr/include/bits/posix1_lim.h:153,
> >                  from /usr/include/limits.h:145,
> >                  from
> >
>  /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h:122,
> >                  from
> >
>  /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/syslimits.h:7,
> >                  from
> >
>  /usr/lib/gcc/x86_64-redhat-linux/4.1.2/include/limits.h:11,
> >                  from /usr/include/bits/socket.h:31,
> >                  from /usr/include/sys/socket.h:35,
> >                  from
> >                  /home/kgiusti/proton/qpid-proton-c-0.1/src/driver.c:29:
> > /usr/include/linux/limits.h:13:1: error: this is the location of the
> > previous definition
> > make[2]: *** [CMakeFiles/qpid-proton.dir/src/driver.c.o] Error 1
> > make[1]: *** [CMakeFiles/qpid-proton.dir/all] Error 2
> > make: *** [all] Error 2
> >
> >
> > -K
> >
> > ----- Original Message -----
> > > Are the examples supposed to work for this release? Because the
> > > instructions don't tell people how to get them running. I don't see
> > > the config.sh file. (I mentioned this in a previous email. I'll log
> > > a Jira.)
> > >
> > > William
> > >
> > > ----- Original Message -----
> > > > I've put up an RC3 here:
> > > >
> > > >   http://people.apache.org/~rhs/qpid-proton-0.1rc3/
> > > >
> > > > The following are the changes from RC2:
> > > >
> > > >   - added README and LICENSE for proton-j
> > > >   - updated the proton-c README
> > > >   - fixed cmake build to not use the OPTIONAL thing for older
> > > >   versions
> > > >   - fixed detection of LIB_SUFFIX (i.e. we won't install into
> > > >   lib64
> > > >   on 32
> > > > bit systems anymore)
> > > >
> > > > --Rafael
> > > >
> > >
> >
>

Reply via email to