Re: [Evolution-hackers] How to create portable modules

2008-08-07 Thread Tor Lillqvist
> What configure arguments do I use to build evolution so that the following
> portability warnings don't appear:

> *** Warning: Linking the shared library liborg-gnome-calendar-weather.la
> against the loadable module
> *** libevolution-calendar.so is not portable!

Just ignore the warnings. The way to avoid them would be to
restructure the code, and that isn't happening soon (?). What they
warn against works fine on all platforms that Evolution runs on anyway
(Linux, Solaris, maybe other ELF-based POSIX systems, Windows).

If Evolution would be ported to some other kind of system (non-ELF
POSIXes like (older?) AIX or HP-UX, OpenVMS, etc), there are more
serious things that need fixing, like the circular dependencies
between shared libraries.

--tml
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] How to create portable modules

2008-08-07 Thread Gary Ilijevich

Greetings all,

What configure arguments do I use to build evolution so that the following 
portability warnings don't appear:

mv -f .deps/calendar-weather.Tpo .deps/calendar-weather.Plo
/usr/bin/libtool --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC -DLDAP_DEPRECATED
-I/usr/include/et -Wno-sign-compare-DG_DISABLE_DEPRECATED=1
-DPANGO_DISABLE_DEPRECATED=1   -DGDK_PIXBUF_DISABLE_DEPRECATED=1
-DGDK_DISABLE_DEPRECATED=1  -DEDS_DISABLE_DEPRECATED=1
-Wdeclaration-after-statement   -Werror-implicit-function-declaration
-UGNOME_DISABLE_DEPRECATED -fno-strict-aliasing -module -avoid-version
-o liborg-gnome-calendar-weather.la
-rpath /usr/lib64/evolution/2.22/plugins
calendar-weather.lo ../../calendar/gui/libevolution-calendar.la -pthread
-lgtkhtml-3.14 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2
-lgnomecanvas-2 -lart_lgpl_2 -lecal-1.2 -ledataserverui-1.2 -lglade-2.0
-lebook-1.2 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lpangocairo-1.0 -lpango-1.0 -lcairo -lgnome-2 -lpopt -ledataserver-1.2
-lxml2 -lgconf-2 -lbonobo-2 -lbonobo-activation -lgmodule-2.0 -ldl
-lORBit-2 -lgthread-2.0 -lrt -lgobject-2.0 -lglib-2.0

*** Warning: Linking the shared library liborg-gnome-calendar-weather.la
against the loadable module
*** libevolution-calendar.so is not portable!


Thanks,
Gary Ilijevich

_
Reveal your inner athlete and share it with friends on Windows Live.
http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers