vim problem.

Joerg Sonnenberger joerg at britannica.bec.de
Tue Dec 14 04:03:34 PST 2004


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





More information about the Users mailing list