ganeshmurthy edited a comment on pull request #744:
URL: https://github.com/apache/qpid-dispatch/pull/744#issuecomment-634013881


   I pulled down this PR and tried to compile after creating a fresh build 
folder. I see the following 
   
   [gmurthy@localhost build]$ make install
   [  1%] Generating schema_enum.h, schema_enum.c
   Scanning dependencies of target qpid-dispatch
   [  2%] Building C object src/CMakeFiles/qpid-dispatch.dir/alloc_pool.c.o
   [  3%] Building C object src/CMakeFiles/qpid-dispatch.dir/amqp.c.o
   [  4%] Building C object src/CMakeFiles/qpid-dispatch.dir/bitmask.c.o
   [  4%] Building C object src/CMakeFiles/qpid-dispatch.dir/buffer.c.o
   [  5%] Building C object src/CMakeFiles/qpid-dispatch.dir/error.c.o
   [  6%] Building C object src/CMakeFiles/qpid-dispatch.dir/connection.c.o
   In file included from /usr/include/python2.7/pyconfig.h:6,
                    from /usr/include/python2.7/Python.h:8,
                    from 
/home/gmurthy/opensource/qpid-dispatch/include/qpid/dispatch/python_embedded.h:26,
                    from 
/home/gmurthy/opensource/qpid-dispatch/src/connection.c:25:
   /usr/include/python2.7/pyconfig-64.h:1232: error: "_POSIX_C_SOURCE" 
redefined [-Werror]
    1232 | #define _POSIX_C_SOURCE 200112L
         | 
   In file included from /usr/include/netdb.h:25,
                    from 
/home/gmurthy/opensource/qpid-dispatch/src/connection.h:23,
                    from 
/home/gmurthy/opensource/qpid-dispatch/src/connection.c:20:
   /usr/include/features.h:266: note: this is the location of the previous 
definition
     266 | # define _POSIX_C_SOURCE 200809L
         | 
   cc1: all warnings being treated as errors
   make[2]: *** [src/CMakeFiles/qpid-dispatch.dir/build.make:166: 
src/CMakeFiles/qpid-dispatch.dir/connection.c.o] Error 1
   make[1]: *** [CMakeFiles/Makefile2:1053: 
src/CMakeFiles/qpid-dispatch.dir/all] Error 2
   make: *** [Makefile:161: all] Error 2
   [gmurthy@localhost build]$ 
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to