[Mono-list] Building a layer beetween buisiness logic and GUI

Jörg Würzer Joerg.Wuerzer@ixos.de
Tue, 27 May 2003 10:41:59 +0200

It seems, that #WT is exactly the thing I need. On windows it compiles well
and all the samples compile and run. But I've got only some problems in
compiling the gtk# port. I'm running redhat 8 / mono 0.24 / gtk# 0.9. The
snapshot date of this port is 2003-05-20 and was downloaded from
www.roboto.ch/swt. Does anyone know some help about this problem. It seems
there is a wrong option somewhere in my makefile. The problem is, that I'm
not a command line guru at the moment ;-)

cd src/gtk/library && make
make[1]: Wechsel in das Verzeichnis Verzeichnis
make -f make_gtk.mak
make[2]: Wechsel in das Verzeichnis Verzeichnis
ld -x -shared \
    `pkg-config --libs gthread-2.0` -L/usr/local/lib -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 \
    -o libswtgtkglue.so swtgtkglue.o swtgtkglue_structs.o
ld: unrecognized option '-pthread'
ld: use the --help option for usage information
make[2]: *** [libswtgtkglue.so] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
make[1]: *** [libswtgtkglue.so] Fehler 2
make[1]: Verlassen des Verzeichnisses Verzeichnis
make: *** [../bin/libswtgtkglue.so] Fehler 2

thanks in advance,
Joerg Wuerzer