libxfcegui4 compile error part 2 :->

Danny Milosavljevic danny.milo at gmx.net
Sat Jul 24 11:57:50 CEST 2004


Hi,

now its that:

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..
-I../../xfce4-modules/headers -DXTH
READS -DXUSE_MTSAFE_API -D_REENTRANT -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/i
nclude -I/opt/fdo//include -I/usr/X11R6/include -I/usr/include/atk-1.0
-I/usr/in
clude/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/glib
-2.0/include -I/usr/include/xfce4 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/in
clude -DPACKAGE_DATA_DIR=\"/usr/share\"
-DPACKAGE_LOCALE_DIR=\"/usr/share/locale
\" -I/usr/include/libxml2 -march=athlon-xp -O2 -pipe
-fomit-frame-pointer -MT libxfce4_mime_la-mime.lo -MD -MP
-MF .deps/libxfce4_mime_la-mime.Tpo -c mime.c  -fPIC -DPIC
-o .libs/libxfce4_mime_la-mime.o
mime.c:70: error: conflicting types for `mime_add'
/usr/include/xfce4/xfce4-modules/mime.h:149: error: previous declaration
of `mime_add'
mime.c: In function `g_module_check_init':
mime.c:104: warning: assignment from incompatible pointer type
make[3]: *** [libxfce4_mime_la-mime.lo] Fehler 1
make[3]: Leaving directory
`/var/tmp/portage/libxfcegui4-4.0.99/work/xfce4/libxfcegui4/xfce4-modules/mime-applications'
make[2]: *** [all-recursive] Fehler 1

Seems like a chicken-egg problem ;)
(xfce4-modules headers are taken from /usr/include before they are even
put there, which I think this subdirectory libxfcegui4/xfce4-modules
would do?) [and so it takes too old version and fails]

Then again, I might be wrong.

cheers,
   Danny

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20040724/f6a026cd/attachment.pgp>


More information about the Xfce4-dev mailing list