[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Mldonkey-bugs] [bug #14856] mlnet is linked to X and GTK libs when usin
From: |
spiralvoice |
Subject: |
[Mldonkey-bugs] [bug #14856] mlnet is linked to X and GTK libs when using --enable-gui |
Date: |
Wed, 26 Oct 2005 13:13:40 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.12) Gecko/20051007 Firefox/1.0.7 |
Follow-up Comment #2, bug #14856 (project mldonkey):
Attached your patch, mlnet now links without X + GTK libs, thanks.
But now GTK2 GUI mlgui does not compile anymore:
/usr/local/bin/ocamlc.opt -verbose -ccopt "-I /byterun -o
src/gtk2/gui/x11/eggtrayicon.o" -ccopt "-g -O2 -pthread" -ccopt " " -cclib
"-lz " -cclib -lbz2 -cclib -lz -cclib -lgd -cclib -lfreetype -cclib -lm
-ccopt -W -ccopt -Wall -ccopt -Wno-unused -cclib -ljpeg -cclib -lpng -ccopt
-DHAVE_JPEG -ccopt "-pthread" -c src/gtk2/gui/x11/eggtrayicon.c
+ gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -I
/byterun -o src/gtk2/gui/x11/eggtrayicon.o -g -O2 -pthread -W -Wall
-Wno-unused -DHAVE_JPEG -pthread -I'/usr/local/lib/ocaml'
'src/gtk2/gui/x11/eggtrayicon.c'
src/gtk2/gui/x11/eggtrayicon.c:24:28: gtk/gtkversion.h: No such file or
directory
This is the compile line for that file without the patch:
/usr/local/bin/ocamlc.opt -verbose -ccopt "-I /byterun -o
src/gtk2/gui/x11/eggtrayicon.o" -ccopt "-g -O2 -pthread" -ccopt " " -cclib
"-lz " -ccopt "-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include " -cclib "-lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0
-lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 " -cclib -lbz2 -cclib
-lz -cclib -lgd -cclib -lfreetype -cclib -lm -ccopt -W -ccopt -Wall -ccopt
-Wno-unused -cclib -ljpeg -cclib -lpng -ccopt -DHAVE_JPEG -ccopt "-pthread"
-c src/gtk2/gui/x11/eggtrayicon.c
+ gcc -fno-defer-pop -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -I
/byterun -o src/gtk2/gui/x11/eggtrayicon.o -g -O2 -pthread
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -W -Wall -Wno-unused -DHAVE_JPEG -pthread
-I'/usr/local/lib/ocaml' 'src/gtk2/gui/x11/eggtrayicon.c'
_______________________________________________________
Additional Item Attachment:
File name: mlnet_no_xlibs.patch Size:1 KB
<http://savannah.nongnu.org/bugs/download.php?item_id=14856&item_file_id=3064>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=14856>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/