On Tuesday 13 May 2003 03:01 pm, Jan Schulz wrote: > Now it compiles, but I get an error from ld: > ld -o libswt-gnome-gtk-2133.so gnome.o -x \ > -shared `pkg-config --libs gnome-vfs-2.0` > ld: unrecognized option '-pthread' > ld: use the --help option for usage information > make[1]: *** [libswt-gnome-gtk-2133.so] Error 1 > > I've googled a bit, but haven't found anything. I will ask some > questions in debian-mentor and on the swt ML and if I can't solve > this problem in the next days, I will remove this lib (I actually > have no idea, what this lib is for... IMO, SWT only consist of > swt and swt-pi libs...) > > Does anybod yhave some ideas about this error?
The '-pthread' linker option is used on some platforms (OpenBSD AFAIK) to trigger linkage of threading code. The Linux eqivalent is '-lpthread' - usually simply changing it wherever it occurs is sufficient. - Keegan