Skip to content

install error typedef‘lcurl_multi_t’ #85

@hicancer

Description

@hicancer

why my install is error?
[root@lua bin]# ./luarocks install Lua-cURL --server=https://rocks.moonscript.org/dev
Installing https://rocks.moonscript.org/dev/lua-curl-scm-0.rockspec
gcc -O2 -fPIC -I/www/wdlinux/openresty/luajit/include/luajit-2.1 -c src/l52util.c -o src/l52util.o -I/usr/include
gcc -O2 -fPIC -I/www/wdlinux/openresty/luajit/include/luajit-2.1 -c src/lceasy.c -o src/lceasy.o -I/usr/include
In file included from src/lceasy.c:17:
src/lcmulti.h:24: 错误:typedef‘lcurl_multi_t’重定义
src/lceasy.h:38: 附注:‘lcurl_multi_t’的上一个声明在此

Error: Build error: Failed compiling object src/lceasy.o
[root@lua bin]#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions