lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Sun, Apr 10, 2011 at 06:44, Robert G. Jakabosky
<bobby@sharedrealm.com> wrote:
> Announcing lua-zmq & lua-zmq-threads release 1.0.

Was anyone able to install lua-zmq on Ubuntu with LuaRocks?

I get an error:

gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/pre_generated-zmq.nobj.c -o
src/pre_generated-zmq.nobj.o -I/usr/include
src/pre_generated-zmq.nobj.c:1856: error: expected declaration
specifiers or ‘...’ before ‘socket_t’
src/pre_generated-zmq.nobj.c: In function ‘poller_find_fd_item’:
src/pre_generated-zmq.nobj.c:1865: error: ‘fd’ undeclared (first use
in this function)
src/pre_generated-zmq.nobj.c:1865: error: (Each undeclared identifier
is reported only once
src/pre_generated-zmq.nobj.c:1865: error: for each function it appears in.)
src/pre_generated-zmq.nobj.c: In function ‘get_zmq_strerror’:
src/pre_generated-zmq.nobj.c:1995: error: ‘ETERM’ undeclared (first
use in this function)
src/pre_generated-zmq.nobj.c: In function ‘ZMQ_Socket__setopt__meth’:
src/pre_generated-zmq.nobj.c:2304: error: ‘ZMQ_RCVMORE’ undeclared
(first use in this function)
src/pre_generated-zmq.nobj.c: In function ‘ZMQ_Socket__getopt__meth’:
src/pre_generated-zmq.nobj.c:2374: error: ‘ZMQ_RCVMORE’ undeclared
(first use in this function)
src/pre_generated-zmq.nobj.c: In function ‘ZMQ_Poller__add__meth’:
src/pre_generated-zmq.nobj.c:2590: error: ‘socket_t’ undeclared (first
use in this function)
src/pre_generated-zmq.nobj.c:2590: error: expected ‘;’ before ‘fd’
src/pre_generated-zmq.nobj.c:2595: error: ‘fd’ undeclared (first use
in this function)
src/pre_generated-zmq.nobj.c: In function ‘ZMQ_Poller__modify__meth’:
src/pre_generated-zmq.nobj.c:2616: error: ‘socket_t’ undeclared (first
use in this function)
src/pre_generated-zmq.nobj.c:2616: error: expected ‘;’ before ‘fd’
src/pre_generated-zmq.nobj.c:2623: error: ‘fd’ undeclared (first use
in this function)
src/pre_generated-zmq.nobj.c:2625: error: too many arguments to
function ‘poller_find_fd_item’
src/pre_generated-zmq.nobj.c: In function ‘ZMQ_Poller__remove__meth’:
src/pre_generated-zmq.nobj.c:2651: error: ‘socket_t’ undeclared (first
use in this function)
src/pre_generated-zmq.nobj.c:2651: error: expected ‘;’ before ‘fd’
src/pre_generated-zmq.nobj.c:2660: error: ‘fd’ undeclared (first use
in this function)
src/pre_generated-zmq.nobj.c:2662: error: too many arguments to
function ‘poller_find_fd_item’
src/pre_generated-zmq.nobj.c: In function ‘zmq__init__func’:
src/pre_generated-zmq.nobj.c:2813: error: too few arguments to
function ‘zmq_init’

More details here:

https://github.com/Neopallium/lua-zmq/issues/2

I guess I'm missing some dependency.

Thanks,
Alexander.