I just re-tested this without any problem.

I downloaded qpid-proton 0.5 from here: http://qpid.apache.org/releases/qpid-proton-0.5/index.html

After building and installing qpid-proton, qpid-dispatch built without any errors.

I think you are somehow linking against an old proton library.

-Ted

On 09/18/2013 12:54 AM, NimbusParc wrote:
yes, libqpid-proton.so.2.0.0


Ted Ross wrote
pn_connector_name was introduced in Proton 0.5.  What version of the .so
file do you have installed?  Is it libqpid-proton.so.2?

-Ted

On 09/17/2013 05:58 AM, NimbusParc wrote:
Yes, i installed the latest proton libraries (0.5) and also cmake build
configuration to point proton .so files.
As shown below, In my CMakeCache.txt..

//Path to a library.
proton_lib:FILEPATH=/usr/lib64/libqpid-proton.so

After adding the path of .so files, which are in proton-c/  directory to
*
LD_LIBRARY_PATH *. And then running make again.
I am getting this error while linking to the c shared library *
libqpid-dispatch.so *. Results given below..

Scanning dependencies of target qpid-dispatch
[  3%] Building C object CMakeFiles/qpid-dispatch.dir/src/agent.c.o
[  6%] Building C object CMakeFiles/qpid-dispatch.dir/src/alloc.c.o
....
....
[ 63%] Building C object CMakeFiles/qpid-dispatch.dir/src/work_queue.c.o
Linking C shared library libqpid-dispatch.so
CMakeFiles/qpid-dispatch.dir/src/server.c.o: In function
`thread_process_listeners':
server.c:(.text+0x285): undefined reference to `pn_connector_name'
collect2: ld returned 1 exit status
make[2]: *** [libqpid-dispatch.so.0.1] Error 1
make[1]: *** [CMakeFiles/qpid-dispatch.dir/all] Error 2
make: *** [all] Error 2

Gordon Sim wrote
On 09/17/2013 07:59 AM, NimbusParc wrote:
Error while doing make ..

dispatch/src/server.c: In function ‘thread_process_listeners’:
dispatch/src/server.c:103: error: implicit declaration of function
‘pn_connector_name’
make[2]: *** [CMakeFiles/qpid-dispatch.dir/src/server.c.o] Error 1
make[1]: *** [CMakeFiles/qpid-dispatch.dir/all] Error 2
make: *** [all] Error 2
Do you have the latest proton libraries (0.5) and is the cmake build
configured to point at them?


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



--
View this message in context:
http://qpid.2158936.n2.nabble.com/Introducing-Qpid-Dispatch-Router-tp7598222p7598230.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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

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




--
View this message in context: 
http://qpid.2158936.n2.nabble.com/Introducing-Qpid-Dispatch-Router-tp7598222p7598248.html
Sent from the Apache Qpid users mailing list archive at Nabble.com.

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



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

Reply via email to