[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luacurl build problem
- From: Eduardo Tongson <propolice@...>
- Date: Tue, 31 Dec 2013 18:58:21 +0800
On Tue, Dec 31, 2013 at 5:32 PM, Dirk Laurie <dirk.laurie@gmail.com> wrote:
>
> $ sudo luarocks install luacurl
> ...
> gcc -O2 -fPIC -I/usr/local/include -c luacurl.c -o luacurl.o -I/usr/include
> luacurl.c:813:30: error: array type has incomplete element type
> luacurl.c:823:30: error: array type has incomplete element type
> ...
Greetings,
Adding '-std=c99' to the CFLAGS could trick GCC to compile it.
Eduardo