Project

General

Profile

Actions

Bug #1024

closed

Link failure on Cygwin with GTHREAD

Added by eb almost 18 years ago. Updated over 8 years ago.

Status:
Obsolete
Priority:
Normal
Category:
build_autotools
Target version:
ASK QUESTIONS IN Forums:

Description

The link command for cyglightcomp.dll causes these errors:


.libs/liblightcomp_la-stat_cache.o: In function `stat_cache_thread':
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:108: undefined reference to `_g_async_queue_ref'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:109: undefined reference to `_g_async_queue_ref'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:121: undefined reference to `_g_get_current_time'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:122: undefined reference to `_g_time_val_add'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:124: undefined reference to `_g_async_queue_timed_pop'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:128: undefined reference to `_g_async_queue_push'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:134: undefined reference to `_g_async_queue_unref'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:135: undefined reference to `_g_async_queue_unref'
.libs/liblightcomp_la-stat_cache.o: In function `stat_cache_init':
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:165: undefined reference to `_g_hash_table_new'
.libs/liblightcomp_la-stat_cache.o: In function `stat_cache_free':
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:204: undefined reference to `_g_hash_table_foreach_remove'
.libs/liblightcomp_la-stat_cache.o: In function `stat_cache_get_entry_internal':
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:291: undefined reference to `_g_hash_table_lookup'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:329: undefined reference to `_g_async_queue_push'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:309: undefined reference to `_g_hash_table_insert'
.libs/liblightcomp_la-stat_cache.o: In function `stat_cache_trigger_cleanup':
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:494: undefined reference to `_g_hash_table_foreach_remove'
.libs/liblightcomp_la-stat_cache.o: In function `sc_key_hash':
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/stat_cache.c:143: undefined reference to `_g_str_hash'
.libs/liblightcomp_la-network_gthread_aio.o: In function `aio_write_thread':
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/network_gthread_aio.c:52: undefined reference to `_g_async_queue_ref'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/network_gthread_aio.c:53: undefined reference to `_g_async_queue_ref'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/network_gthread_aio.c:64: undefined reference to `_g_get_current_time'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/network_gthread_aio.c:65: undefined reference to `_g_time_val_add'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/network_gthread_aio.c:67: undefined reference to `_g_async_queue_timed_pop'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/network_gthread_aio.c:131: undefined reference to `_g_async_queue_push'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/network_gthread_aio.c:137: undefined reference to `_g_async_queue_unref'
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/network_gthread_aio.c:138: undefined reference to `_g_async_queue_unref'
.libs/liblightcomp_la-network_gthread_aio.o: In function `network_write_chunkqueue_gthreadaio':
/home/eb/src/musicbin/external/lighttpd/svn/trunk/src/network_gthread_aio.c:277: undefined reference to `_g_async_queue_push'

These can be fixed by changing the link line to include /usr/lib/libglib-2.0.dll.a

My guess is that the correct fix requires a change to configure.in to add GLIB_LIB to the link command.

Actions #1

Updated by gstrauss almost 9 years ago

  • Description updated (diff)
  • Target version set to 1.5.0
Actions #2

Updated by gstrauss over 8 years ago

  • Missing in 1.5.x set to Yes
Actions #3

Updated by gstrauss over 8 years ago

  • Assignee deleted (jan)
Actions #4

Updated by gstrauss over 8 years ago

  • Status changed from New to Obsolete
Actions

Also available in: Atom