unable to compile Deliantra due to forward reference in ev.C
Ethan Furman
ethan at stoneleaf.us
Tue Jun 4 17:11:31 CEST 2013
Greetings!
When trying to compile the Deliantra server I'm getting the following error with EV. I'm running Ubuntu Raring 13
(LinuxMint) in a xen domU. Any ideas appreciated.
g++ -DHAVE_CONFIG_H -I. -I../include -I../include -DDATADIR=\"/usr/games/deliantra/share/deliantra-server\"
-DCONFDIR=\"/usr/games/deliantra/etc/deliantra-server\" -DLIBDIR=\"/usr/games/deliantra/lib/deliantra-server\"
-DLOCALDIR=\"/usr/games/deliantra/var/deliantra-server\" -DPLUGIN_SUFFIX=\".so\" -D_REENTRANT -D_GNU_SOURCE -DDEBIAN
-fstack-protector -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/lib/perl/5.14/CORE -I/usr/local/lib/perl/5.14.2/EV -I/usr/local/lib/perl/5.14.2
-I/usr/local/lib/perl/5.14.2/Coro -g -O2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -MT evthread.o -MD -MP -MF
.deps/evthread.Tpo -c -o evthread.o evthread.C
evthread.C: In function ‘void* evthread_proc(void*)’:
evthread.C:106:19: error: invalid use of incomplete type ‘struct ev_loop’
In file included from /usr/local/lib/perl/5.14.2/EV/EVAPI.h:29:0,
from ../include/cfperl.h:35,
from ../include/global.h:67,
from evthread.C:23:
/usr/local/lib/perl/5.14.2/EV/ev.h:166:8: error: forward declaration of ‘struct ev_loop’
make[1]: *** [evthread.o] Error 1
make[1]: Leaving directory `/home/ethan/deliantra-server-3.0/server'
make: *** [all-recursive] Error 1
--
~Ethan~
More information about the libev
mailing list