From: Robert I. <rob...@cs...> - 2002-12-29 23:39:47
|
Hi, My latest issues is as follows with regards to manually compiling gtk+2. I have got past ./configure, which runs smoothly. When I then run make it eventually comes up with the following errors: /bin/sh ../libtool --mode=link gcc -I/sw/include -Wall -L/sw/lib -o libgdk_pixbuf-2.0.la -rpath /usr/local/lib -version-info 0:6:0 - export-symbols-regex "^[^_].*" gdk-pixbuf.lo gdk-pixbuf-animation.lo gdk-pixbuf-data.lo gdk-pixbuf-io.lo gdk-pixbuf-loader.lo gdk-pix buf-scale.lo gdk-pixbuf-util.lo gdk-pixdata.lo gdk-pixbuf-enum-types.lo pixops/libpixops.la -L/sw/lib -lgmodule-2.0 -lgobject-2.0 - lglib-2.0 -lintl -liconv -lm -liconv -lintl -liconv rm -fr .libs/libgdk_pixbuf-2.0.la .libs/libgdk_pixbuf-2.0.* .libs/libgdk_pixbuf-2.0.* generating symbol list for `libgdk_pixbuf-2.0.la' /usr/bin/nm -p gdk-pixbuf.lo gdk-pixbuf-animation.lo gdk-pixbuf-data.lo gdk-pixbuf-io.lo gdk-pixbuf-loader.lo gdk-pixbuf-scale.lo gd k-pixbuf-util.lo gdk-pixdata.lo gdk-pixbuf-enum-types.lo pixops/.libs/libpixops.al | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRS T]*\)[ ][ ]*\(_\)\([_A-Za-z][_A-Za-z0-9]*\)$/\1 \2\3 \3/p' | sed 's/.* //' | sort | uniq > .libs/libgdk_pixbuf-2.0.exp egrep -e "^[^_].*" ".libs/libgdk_pixbuf-2.0.exp" > ".libs/libgdk_pixbuf-2.0.expT" mv -f ".libs/libgdk_pixbuf-2.0.expT" ".libs/libgdk_pixbuf-2.0.exp" gcc -dynamiclib -flat_namespace -undefined suppress -o .libs/libgdk_pixbuf-2.0.0.0.6.dylib gdk-pixbuf.lo gdk-pixbuf-animation.lo gdk -pixbuf-data.lo gdk-pixbuf-io.lo gdk-pixbuf-loader.lo gdk-pixbuf-scale.lo gdk-pixbuf-util.lo gdk-pixdata.lo gdk-pixbuf-enum-types.lo -all_load pixops/.libs/libpixops.al -L/sw/lib pixops/.libs/libpixops.al -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lm -lintl -liconv - lc -install_name /usr/local/lib/libgdk_pixbuf-2.0.0.dylib -compatibility_version 1 -current_version 1.6 ld: multiple definitions of symbol _pixops_composite pixops/.libs/libpixops.al(pixops.lo) definition of _pixops_composite in section (__TEXT,__text) pixops/.libs/libpixops.al(pixops.lo) definition of _pixops_composite in section (__TEXT,__text) ld: multiple definitions of symbol _pixops_composite_color pixops/.libs/libpixops.al(pixops.lo) definition of _pixops_composite_color in section (__TEXT,__text) pixops/.libs/libpixops.al(pixops.lo) definition of _pixops_composite_color in section (__TEXT,__text) ld: multiple definitions of symbol _pixops_scale pixops/.libs/libpixops.al(pixops.lo) definition of _pixops_scale in section (__TEXT,__text) pixops/.libs/libpixops.al(pixops.lo) definition of _pixops_scale in section (__TEXT,__text) ld: warning multiple definitions of symbol _locale_charset /sw/lib/libiconv.dylib(localcharset.lo) definition of _locale_charset /sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset /usr/bin/libtool: internal link edit command failed make[3]: *** [libgdk_pixbuf-2.0.la] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all-recursive-am] Error 2 Having done some research on the internet, it seems lots of other people are having this issue when compiling things on Mac OS X. However no-one seems to have a solution! People suggest that it is a problem to do with libtool that mainly affects Darwin. I realise this may be moving out of the realms of beginners-fink, but when fink installs gtk+2 itself, it manages to compile successfully so surely the answer can be found. Anyone with any suggestions? Robert |