xffm compile error on cygwin

Darth Punk of Borg darthpunk at myself.com
Thu Oct 21 09:48:35 CEST 2004


hi there,

i have successfully compiled:
xfce4/libxfce4util 
xfce4/libxfcegui4 
xfce4/libxfce4mcs 
xfce4/xfce-mcs-manager 
xfce4/xfce-mcs-plugins 
xfce4/xfce4-panel 
xfce4/xfwm4 
xfce4/xfce-utils 

but in xffm i am getting some undefined errors. i think they need the dbh lib, i am trying to fix it, but i have no luck :(.

my output is:

$ make
make  all-recursive
make[1]: Entering directory `/cygdrive/d/xfce4/xffm'
Making all in scramble
make[2]: Entering directory `/cygdrive/d/xfce4/xffm/scramble'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/d/xfce4/xffm/scramble'
Making all in fgr
make[2]: Entering directory `/cygdrive/d/xfce4/xffm/fgr'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/d/xfce4/xffm/fgr'
Making all in modules
make[2]: Entering directory `/cygdrive/d/xfce4/xffm/modules'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/cygdrive/d/xfce4/xffm/modules'
Making all in libs
make[2]: Entering directory `/cygdrive/d/xfce4/xffm/libs'
/bin/bash ../libtool --mode=link gcc  -g -O2   -o libxffm_actions.la -rpath /opt/xfce/4.1.90//lib -export-dynamic -version-info 1:0:0 -avoid-version -no-undefined -export-symbols ../utils/IMPORTS -L/usr/X11R6/lib libxffm_actions_la-new.lo libxffm_actions_la-new_win.lo libxffm_actions_la-print.lo libxffm_actions_la-rename.lo libxffm_actions_la-run.lo libxffm_actions_la-scramble.lo libxffm_actions_la-symlink.lo libxffm_actions_la-terminal.lo libxffm_actions_la-touch.lo libxffm_actions_la-xfdiff.lo -Wl,--export-dynamic -L/usr/X11R6/lib -L/opt/xfce/4.1.90/lib -lxfcegui4 -lgtk-x11-2.0 -lxfce4util -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lSM -lICE -lX11 -Wl,-R/opt/libs/dbh/1.0.20/lib -L/opt/libs/dbh/1.0.20/lib -ldbh -lm   

*** Warning: This system can not link to static lib archive /usr/lib/libdbh.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
rm -fr  .libs/libxffm_actions.dll.a
if test "x`/usr/bin/sed 1q ../utils/IMPORTS`" = xEXPORTS; then cp ../utils/IMPORTS .libs/cygxffm_actions.dll.def; else echo EXPORTS > .libs/cygxffm_actions.dll.def; cat ../utils/IMPORTS >> .libs/cygxffm_actions.dll.def; fi
 gcc -shared .libs/cygxffm_actions.dll.def  .libs/libxffm_actions_la-new.o .libs/libxffm_actions_la-new_win.o .libs/libxffm_actions_la-print.o .libs/libxffm_actions_la-rename.o .libs/libxffm_actions_la-run.o .libs/libxffm_actions_la-scramble.o .libs/libxffm_actions_la-symlink.o .libs/libxffm_actions_la-terminal.o .libs/libxffm_actions_la-touch.o .libs/libxffm_actions_la-xfdiff.o  -L/lib -L/usr/lib -L/usr/X11R6/lib -L/opt/xfce/4.1.90/lib /opt/xfce/4.1.90/lib/libxfcegui4.dll.a /opt/xfce/4.1.90/lib/libxfce4util.dll.a /usr/lib/libgtk-x11-2.0.dll.a /usr/lib/libgdk-x11-2.0.dll.a /usr/lib/libatk-1.0.dll.a /usr/lib/libgdk_pixbuf-2.0.dll.a /usr/lib/libpangoxft-1.0.dll.a /usr/lib/libpangox-1.0.dll.a /usr/lib/libpango-1.0.dll.a /usr/lib/libgobject-2.0.dll.a /usr/lib/libgmodule-2.0.dll.a /usr/lib/libglib-2.0.dll.a /usr/lib/libintl.dll.a /usr/lib/libiconv.dll.a -lSM -lICE -lX11 -L/opt/libs/dbh/1.0.20/lib  -Wl,--export-dynamic -Wl,--export-dynamic -Wl,-R/opt/libs/dbh/1.0.20/lib -o .libs/cygxffm_actions.dll -Wl,--image-base=0x10000000 -Wl,--out-implib,.libs/libxffm_actions.dll.a
Creating library file: .libs/libxffm_actions.dll.a
.libs/libxffm_actions_la-run.o(.text+0x8e): In function `save_to_open_history':
/cygdrive/d/xfce4/xffm/libs/run.c:87: undefined reference to `_DBH_open'
.libs/libxffm_actions_la-run.o(.text+0x121):/cygdrive/d/xfce4/xffm/libs/run.c:106: undefined reference to `_DBH_set_recordsize'
.libs/libxffm_actions_la-run.o(.text+0x129):/cygdrive/d/xfce4/xffm/libs/run.c:108: undefined reference to `_DBH_update'
.libs/libxffm_actions_la-run.o(.text+0x131):/cygdrive/d/xfce4/xffm/libs/run.c:109: undefined reference to `_DBH_close'
.libs/libxffm_actions_la-run.o(.text+0x160):/cygdrive/d/xfce4/xffm/libs/run.c:88: undefined reference to `_DBH_create'
.libs/libxffm_actions_la-run.o(.text+0x189):/cygdrive/d/xfce4/xffm/libs/run.c:90: undefined reference to `_DBH_create'
.libs/libxffm_actions_la-run.o(.text+0x227): In function `get_from_open_history':
/cygdrive/d/xfce4/xffm/libs/run.c:128: undefined reference to `_DBH_open'
.libs/libxffm_actions_la-run.o(.text+0x28d):/cygdrive/d/xfce4/xffm/libs/run.c:145: undefined reference to `_DBH_load'
.libs/libxffm_actions_la-run.o(.text+0x2c3):/cygdrive/d/xfce4/xffm/libs/run.c:155: undefined reference to `_DBH_close'
.libs/libxffm_actions_la-run.o(.text+0x2e4):/cygdrive/d/xfce4/xffm/libs/run.c:129: undefined reference to `_DBH_create'
.libs/libxffm_actions_la-run.o(.text+0x307):/cygdrive/d/xfce4/xffm/libs/run.c:131: undefined reference to `_DBH_create'
.libs/libxffm_actions_la-run.o(.text+0x792): In function `save_flags':
/cygdrive/d/xfce4/xffm/libs/run.c:227: undefined reference to `_DBH_open'
.libs/libxffm_actions_la-run.o(.text+0x7f5):/cygdrive/d/xfce4/xffm/libs/run.c:241: undefined reference to `_DBH_set_recordsize'
.libs/libxffm_actions_la-run.o(.text+0x7fd):/cygdrive/d/xfce4/xffm/libs/run.c:243: undefined reference to `_DBH_update'
.libs/libxffm_actions_la-run.o(.text+0x81d):/cygdrive/d/xfce4/xffm/libs/run.c:229: undefined reference to `_DBH_create'
.libs/libxffm_actions_la-run.o(.text+0x8cf): In function `recover_flags':
/cygdrive/d/xfce4/xffm/libs/run.c:262: undefined reference to `_DBH_open'
.libs/libxffm_actions_la-run.o(.text+0x91b):/cygdrive/d/xfce4/xffm/libs/run.c:274: undefined reference to `_DBH_load'
.libs/libxffm_actions_la-run.o(.text+0x80c): In function `save_flags':
/cygdrive/d/xfce4/xffm/libs/run.c:244: undefined reference to `_DBH_close'
.libs/libxffm_actions_la-run.o(.text+0x939): In function `recover_flags':
/cygdrive/d/xfce4/xffm/libs/run.c:277: undefined reference to `_DBH_close'
collect2: ld returned 1 exit status
make[2]: *** [libxffm_actions.la] Error 1
make[2]: Leaving directory `/cygdrive/d/xfce4/xffm/libs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/cygdrive/d/xfce4/xffm'
make: *** [all] Error 2

i guess this needs a simple fix, so i hope somebody can fix it soon.



Paul

-- 
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm




More information about the Xfce4-dev mailing list