From: Tadeusz Bochan Date: 2011-02-21T00:29:15+09:00 Subject: Re: posix_mq : Problem installing on HPUX More info ... I commented the offending code (see below) and the compile worked. But now when I run the command line utility MQUEUE=/testq.acore posix-mq-rb create the queue is created, but the program crashes with /usr/lib/dld.sl: Unresolved symbol: MQ_IO_NIL_P (code) from .../posix_mq_ext.sl nm posix_mq_ext.sl | grep MQ_IO_NIL # gives => MQ_IO_NIL_P | |undef |code | MQ_IO_NIL_P | 12976|uext |stub | Which tells me that the symbol exists. So I haven't a clue as to what is going on. Any ideas ?? Tad static VALUE _close(VALUE self) { struct posix_mq *mq = get(self, 1); /* The if statement doesn't compile - error 1558: The ! operator takes a scalar if ( ! MQ_IO_CLOSE(mq) ) { /* line 712 */ if (mq_close(mq->des) == -1) rb_sys_fail("mq_close"); } */ mq->des = MQD_INVALID; return Qnil; } -- Posted via http://www.ruby-forum.com/.