Re: Build failure



On Wed, 2006-09-13 at 17:28 -0400, Mike Emmel wrote:
> Hi all I'm trying to get the directfb port to build agian and ran into
> the following.
> 
> The problem seems to be that in the library builds we define
> -DGDK_COMPILATION
> 
> But not in the app builds ?
> 
> 
> 
> /bin/sh ../libtool --mode=link gcc  -DG_DISABLE_DEPRECATED -g -O2 -g
> -Wall  -ldl -o gtk-query-immodules-2.0  queryimmodules.o
> libgtk-directfb-2.0.la ../gdk-pixbuf/libgdk_pixbuf-2.0.la
> ../gdk/libgdk-directfb-2.0.la
> gcc -DG_DISABLE_DEPRECATED -g -O2 -g -Wall -o
> .libs/gtk-query-immodules-2.0 queryimmodules.o
> ./.libs/libgtk-directfb-2.0.so
> ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.so
> ../gdk/.libs/libgdk-directfb-2.0.so -L/home/memmel/Source/Build/lib
> -lz -lpthread -lpng12 -ldl -lm -Wl,--rpath
> -Wl,/home/memmel/Source/Build/lib -Wl,--rpath
> -Wl,/home/memmel/Source/FreeType/freetype-2.1.10/builds/unix/lib
> ../gdk/.libs/libgdk-directfb-2.0.so: undefined reference to
> `IA__gdk_colormap_change'

Remove -DGDK_DISABLE_DEPRECATED from your directfb/Makefile.am.  While
at it, please do so for quartz/Makefile.am too.  I made this change in
Makefile.am and x11/Makefile.am to get symbol aliasing work better.

For consistency one should also remove -DGDK_PIXBUF_DISABLE_DEPRECATED
from gdk-pixbuf/pixops/Makefile.am


-- 
behdad
http://behdad.org/

"Commandment Three says Do Not Kill, Amendment Two says Blood Will Spill"
        -- Dan Bern, "New American Language"




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