Package: libgc-dev Version: 1:6.8-1.2 Severity: normal When using gc_pthreads_redirect.h, i.e. when defining GC_THREADS, dlopen gets redirected to GC_dlopen. However, this function is only defined for Solaris. I'm not exactly sure if either the redirection shouldn't happen or the prototype should be added. My patch assumes the latter and seems to not cause any trouble for me.
-- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libgc-dev depends on: ii libc6-dev [libc-dev] 2.7-16 GNU C Library: Development Librari ii libgc1c2 1:6.8-1.2 conservative garbage collector for libgc-dev recommends no packages. -- no debconf information
--- /usr/include/gc/gc_pthread_redirects.h.old 2008-12-23 20:27:10.000000000 +0100 +++ /usr/include/gc/gc_pthread_redirects.h 2008-12-23 20:27:30.000000000 +0100 @@ -54,6 +54,7 @@ void *(*start_routine)(void *), void *arg); #ifndef GC_DARWIN_THREADS int GC_pthread_sigmask(int how, const sigset_t *set, sigset_t *oset); + void * GC_dlopen(const char *path, int mode); #endif int GC_pthread_join(pthread_t thread, void **retval); int GC_pthread_detach(pthread_t thread);