Subject: Re: kdemultimedia2 build problem
To: None <tech-pkg@netbsd.org>
From: Tomasz Luchowski <zuntum@netbsd.org>
List: tech-pkg
Date: 03/15/2001 16:17:18
On Thu, Mar 15, 2001 at 04:04:14PM +0100, Tomasz Luchowski wrote:
> ../../lib/.libs/libmpeg.so: undefined reference to `pthread_cond_init'
> ../../lib/.libs/libmpeg.so: undefined reference to `pthread_mutex_unlock'
> ../../lib/.libs/libmpeg.so: undefined reference to `pthread_mutex_destroy'
> ../../lib/.libs/libmpeg.so: undefined reference to `pthread_mutex_lock'
> ../../lib/.libs/libmpeg.so: undefined reference to `pthread_cond_wait'
> ../../lib/.libs/libmpeg.so: undefined reference to `pthread_cond_destroy'
> ../../lib/.libs/libmpeg.so: undefined reference to `pthread_mutex_init'
> ../../lib/.libs/libmpeg.so: undefined reference to `pthread_join'
> collect2: ld returned 1 exit status
> gmake[4]: *** [mpgplay] Error 1
> gmake[4]: Leaving directory `/usr/cvs/pkgsrc/audio/kdemultimedia2/work.i386/kdemultimedia-2.1/mpeglib/example/mpgplay'
I forgot to mention that adding -lpthread to LDFLAGS in several places seemed to fix the problem
--
/* [zuntum] zuntum@eik.pl , [WWW] http://zuntum.net */