Compile gtkextra



Hello,
I'm trying to compile gtk+extra-2.1.1 on the following:-

Platform: Win32  (Cygwin) 1-5.18.1
gcc version 3.4.4

and I'm getting the errors (pasted at the end)

Other posts indicate issue with glib, but no specifics.

I tried looking at the header files, to see if there was something obvious
there.

Any ideas?

 gcc -Wl,--base-file,.libs/cyggtkextra-win32-2.0-1.dll-base -Wl,-e,__cygwin_dll_
entry 12 -o .libs/cyggtkextra-win32-2.0-1.dll  gtkbordercombo.lo gtkcharsel.lo g
tkcheckitem.lo gtkcolorcombo.lo gtkcombobutton.lo gtkdirtree.lo gtkextra.lo gtke
xtra-marshal.lo gtkextratypebuiltins.lo gtkfilelist.lo gtkfontcombo.lo gtkiconli
st.lo gtkitementry.lo gtkiconfilesel.lo gtkplot.lo gtkplotarray.lo gtkplot3d.lo
gtkplotdt.lo gtkplotpolar.lo gtkplotdata.lo gtkplotpixmap.lo gtkplotbar.lo gtkpl
otbox.lo gtkplotbubble.lo gtkplotcandle.lo gtkplotflux.lo gtkplotsurface.lo gtkp
lotcsurface.lo gtkplotcanvas.lo gtkplotpc.lo gtkplotgdk.lo gtkplotps.lo gtkplotp
rint.lo gtkplotsegment.lo gtkpsfont.lo gtksheet.lo gtktogglecombo.lo gtkplotcanv
asline.lo gtkplotcanvasrectangle.lo gtkplotcanvasellipse.lo gtkplotcanvastext.lo
 gtkplotcanvaspixmap.lo gtkplotcanvasplot.lo  -L/opt/cxclient/usr/X11R6/lib -L/u
sr/lib -L/usr/X11R6/lib .libs/libimp-cyggtk-x11-2.0-0.a .libs/libimp-cyggdk-x11-
2.0-0.a .libs/libimp-cygatk-1.0-0.a .libs/libimp-cyggdk_pixbuf-2.0-0.a .libs/lib
imp-cygpangoxft-1.0-0.a .libs/libimp-cygXft-2.a .libs/libimp-cygfreetype-6.a -lz
 -lXrender -lXext .libs/libimp-cygfontconfig-1.a .libs/libimp-cygpangox-1.0-0.a
-lX11 .libs/libimp-cygpango-1.0-0.a .libs/libimp-cyggobject-2.0-0.a .libs/libimp
-cyggmodule-2.0-0.a .libs/libimp-cygglib-2.0-0.a .libs/libimp-cygintl-3.a .libs/
libimp-cygiconv-2.a
gtkfilelist.lo: In function `g_bit_nth_lsf':
/usr/include/glib-2.0/glib/gutils.h:249: multiple definition of `_g_bit_nth_lsf'

gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:249: first defined here
gtkfilelist.lo: In function `g_bit_nth_msf':
/usr/include/glib-2.0/glib/gutils.h:262: multiple definition of `_g_bit_nth_msf'

gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:262: first defined here
gtkfilelist.lo: In function `g_bit_storage':
/usr/include/glib-2.0/glib/gutils.h:276: multiple definition of `_g_bit_storage'

gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:276: first defined here
gtkfilelist.lo: In function `g_trash_stack_push':
/usr/include/glib-2.0/glib/gutils.h:290: multiple definition of `_g_trash_stack_
push'
gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:290: first defined here
gtkfilelist.lo: In function `g_trash_stack_pop':
/usr/include/glib-2.0/glib/gutils.h:298: multiple definition of `_g_trash_stack_
pop'
gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:298: first defined here
gtkfilelist.lo: In function `g_trash_stack_peek':
/usr/include/glib-2.0/glib/gutils.h:315: multiple definition of `_g_trash_stack_
peek'
gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:315: first defined here
gtkfilelist.lo: In function `g_trash_stack_height':
/usr/include/glib-2.0/glib/gutils.h:324: multiple definition of `_g_trash_stack_
height'
gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:324: first defined here
gtkiconfilesel.lo: In function `g_bit_nth_lsf':
/usr/include/glib-2.0/glib/gutils.h:249: multiple definition of `_g_bit_nth_lsf'

gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:249: first defined here
gtkiconfilesel.lo: In function `g_bit_nth_msf':
/usr/include/glib-2.0/glib/gutils.h:262: multiple definition of `_g_bit_nth_msf'

gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:262: first defined here
gtkiconfilesel.lo: In function `g_bit_storage':
/usr/include/glib-2.0/glib/gutils.h:276: multiple definition of `_g_bit_storage'

gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:276: first defined here
gtkiconfilesel.lo: In function `g_trash_stack_push':
/usr/include/glib-2.0/glib/gutils.h:290: multiple definition of `_g_trash_stack_
push'
gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:290: first defined here
gtkiconfilesel.lo: In function `g_trash_stack_pop':
/usr/include/glib-2.0/glib/gutils.h:298: multiple definition of `_g_trash_stack_
pop'
gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:298: first defined here
gtkiconfilesel.lo: In function `g_trash_stack_peek':
/usr/include/glib-2.0/glib/gutils.h:315: multiple definition of `_g_trash_stack_
peek'
gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:315: first defined here
gtkiconfilesel.lo: In function `g_trash_stack_height':
/usr/include/glib-2.0/glib/gutils.h:324: multiple definition of `_g_trash_stack_
height'
gtkdirtree.lo:/usr/include/glib-2.0/glib/gutils.h:324: first defined here
/usr/lib/libcygwin.a(libcmain.o):: undefined reference to `_WinMain 16'
collect2: ld returned 1 exit status
make[2]: *** [libgtkextra-win32-2.0.la] Error 1
make[2]: Leaving directory `/cygdrive/c/Oranna-project/gtk+extra-2.1.1/gtkextra'

make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/c/Oranna-project/gtk+extra-2.1.1'
make: *** [all] Error 2

Joseph Turner window20002 ~/Oranna-project/gtk+extra-2.1.1
$

Cheers

Joe

-- 
A great leader does not lead nations, a great leader Leads People.



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