DragonFly BSD
DragonFly users List (threaded) for 2004-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: vim problem.


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Tue, 14 Dec 2004 13:02:31 +0100

On Tue, Dec 14, 2004 at 10:26:33AM +0100, balle wrote:
> i have following error when compiling vim (WITH_GTK2=YES). Any ideas??
> 
> objects/os_unix.o: In function `get_stack_limit':
> objects/os_unix.o(.text+0x35c): undefined reference to `pthread_attr_init'
> objects/os_unix.o(.text+0x36b): undefined reference to `pthread_attr_get_np'
> objects/os_unix.o(.text+0x382): undefined reference to 
> `pthread_attr_getstacksize'
> objects/os_unix.o(.text+0x397): undefined reference to 
> `pthread_attr_destroy'
> *** Error code 1

Add -pthread to the linker flags.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]