compile error with glib
hi, I compiled lighttpd 1.5.0 svn r2698, and got a error message: ".../src/server.c:990: undefined reference to `g_atomic_int_set' ", It seems because the glib version is older than 2.10.
however, I think adding a parameter "./configure --with-glib=..." is helpful. Do you have any other better ideas?
Updated by liming about 10 years ago
- Status changed from Invalid to Reopened
No, I don't agree with you.
454 PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= 2.4.0, [
455 AC_DEFINE([HAVE_GTHREAD], , [libglib])
456 AC_DEFINE([HAVE_GLIB_H], , [glib.h])
Line 454 is wrong. It should be "PKG_CHECK_MODULES(GTHREAD, gthread-2.0 >= 2.10.0, [", because gthread is just one of the components in glib. Only when glib version is equal or newer than 2.10, lighttpd is succeed to be compiled. right?
Also available in: Atom