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