Need help compiling xfce 4.6 on Cygwin 1.7

Rick rbonafied at gmail.com
Thu May 27 02:00:46 CEST 2010


Hi,

I'm attempting to compile xfce 4.6 in the latest cygwin environment 
(1.7) on an XP SP3 host.  Unfortunately, I've hit a roadblock I don't 
know how to get around it.  I've installed the full official set of 
packages for cygwin.

In short, when compiling exo-0.3.101, I get an undefined reference to 
'_hasmntopt'.  After searching, I don't see where anyone has gotten past 
this point.  Any suggestions?

Detail error barf here:

gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DDBUS_API_SUBJECT_TO_CHANGE 
-DG_LOG_DOMAIN=\"exo-mount\" -DLIBEXECDIR=\"/opt/xfce46/libexec\" 
-DLIBEXO_VERSION_API=\"0.3\" 
-DPACKAGE_LOCALE_DIR=\"/opt/xfce46/share/locale\" 
-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 -I/usr/include/pixm
an-1 -I/usr/include/freetype2 -I/usr/include/libpng12 
-I/opt/xfce46/include/xfce4 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -g -O2 -DNDEBUG -DG_DISABLE_CAST_CHECKS 
-MT exo_mount-main.o -MD -MP -MF .deps/exo_mount-main.Tpo -c -o 
exo_mount-main.o `test -f 'main.c' || echo './'`main.c
mv -f .deps/exo_mount-main.Tpo .deps/exo_mount-main.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc -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 -I/usr/include/pixman-1 
-I/usr/include/freetype2 -I/usr/include/libpng12 
-I/opt/xfce46/include/xfce4 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -g -O2 -DNDEBUG -DG_DISAB
LE_CAST_CHECKS -no-undefined -Wl,--as-needed -Wl,-O1 -o exo-mount.exe 
exo_mount-exo-mount-fstab.o exo_mount-exo-mount-utils.o exo_mount-main.o 
  -lgtk-x11-2.0 -l gdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 
-lpangocairo-1.0 -lgio-2.0 -lXinerama -lXi -lXrandr -lXcursor 
-lXcomposite -lXdamage -lpangoft2-1.0 -lXext -lXfixes -lcai
ro -lpixman-1 -lglitz -lpng12 -lxcb-render-util -lXrender -lxcb-render 
-lX11 -lxcb -lXau -lXdmcp -lpango-1.0 -lm -lfontconfig -lexpat 
-lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv 
-L/opt/xfce46/lib -lxfce4util -lglib-2.0 -lintl -liconv 
../exo/libexo-0.3.la ../exo-hal/libexo-hal-0.3.la
libtool: link: gcc -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 
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 
-I/opt/xfce46/include/xfce4 -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include -g -O2 -DNDEBUG -DG_DISABLE_CAST_CHECKS 
-Wl,--as-needed -Wl,-O1 -o .libs/exo-mount.exe 
exo_mount-exo-mount-fstab.o exo_mount-exo-mount-ut
ils.o exo_mount-main.o  -L/usr/lib -L/opt/xfce46/lib 
../exo/.libs/libexo-0.3.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/libpangocairo-1.0.dll.a 
/usr/lib/libgio-2.0.dll.a /usr/lib/libXinerama.dll.a 
/usr/lib/libXi.dll.a /usr/lib/libXra
ndr.dll.a /usr/lib/libXcursor.dll.a /usr/lib/libXcomposite.dll.a 
/usr/lib/libXdamage.dll.a /usr/lib/libpangoft2-1.0.dll.a 
/usr/lib/gcc/i686-pc-cygwin/4.3.4/libstdc++.dll.a /usr/lib/libXext.dll.a 
/usr/lib/libXfixes.dll.a /usr/lib/libcairo.dll.a 
/usr/lib/libpixman-1.dll.a /usr/lib/libglitz.dll.a -lpng12 
/usr/lib/libxcb-render-util.dll.a /usr/lib/libXrender.dll.a 
/usr/lib/libxcb-render.dll.a /usr/lib/libX11.dll.a /usr/lib/libxcb.dll.a 
/usr/lib/libXau.dll.a /usr/lib/libXdmcp.dll.a 
/usr/lib/libpango-1.0.dll.a /usr/lib/libfontconfig.dll.a 
/usr/lib/libexpat.dll.a /usr/lib/libfreetype.dll.a -lz 
/usr/lib/libgmodule-2.0.dll.a /opt/xfce46/lib/libxfce4util.dll.a 
/usr/lib/libgobject-2.0.dll.a ../exo-hal/.libs/libexo-hal-0.3.dll.a 
/usr/lib/libglib-2.0.dll.a /usr/lib/libpcre.dll.a /usr/lib/libintl.dll.a
/usr/lib/libiconv.dll.a -L/usr/lib/gcc/i686-pc-cygwin/4.3.4 
-L/opt/xfce46/lib 
../exo/.libs/libexo-0.3.a(libexo_0_3_la-exo-mount-point.o): In function 
`exo_mount_point_list_match_active':
/home/homedir/compile/xfce461/exo-0.3.101/exo/exo-mount-point.c:222: 
undefined reference to `_hasmntopt'
../exo/.libs/libexo-0.3.a(libexo_0_3_la-exo-mount-point.o): In function 
`exo_mount_point_list_match_configured':
/home/homedir/compile/xfce461/exo-0.3.101/exo/exo-mount-point.c:353: 
undefined reference to `_hasmntopt'
collect2: ld returned 1 exit status
make[2]: *** [exo-mount.exe] Error 1
make[2]: Leaving directory 
`/home/homedir/compile/xfce461/exo-0.3.101/exo-mount'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/homedir/compile/xfce461/exo-0.3.101'
make: *** [all] Error 2



More information about the Xfce mailing list