Gordon Sim wrote:
Ted Ross wrote:
Gordon Sim wrote:
The swig generation of qmf bindings is not working for me (I believe the version of swig I have is at least part of the problem). Unless there are objections I'd like to apply the attached patch (or something similar) to allow the generation of these bindings to be disabled if desired.

--Gordon.
------------------------------------------------------------------------


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]
Gordon,

What version of swig do you have in your distribution?

Its pretty old: 1.3.24

 How does it fail?

swig -ruby -c++ -Wall -I/usr/include -I../../../src/qmf -I../../../src -I../../../src/gen -I../../../src/qmf -o qmfengine.cpp ./ruby.i
./ruby.i:2: Error: Syntax error in input.
../../../src/qmf/ObjectId.h:42: Warning(378): operator!= ignored
*** No module name specified using %module or -module.
make[2]: *** [qmfengine.cpp] Error 1

If I remove the trackobjects line from ruby.i I see the warnings, but the error goes away. However I then get a link error just after that.

---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Ok. It sounds like it's not worth pursuing. Your patch is good (except there's a typo in the help text). If --with-swig is not supplied, will it default to what is found?

-Ted


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to