>On Sunday, January 20, 2002, at 11:09 PM, Jeremy Higgs wrote: >> >>Have a look in the source for an ltmain.sh file, and look for the >>version in that. If it is 1.3.5, you need to update the libtool >>scripts for Darwin compatibility, using "UpdateLibtool: true" in >>the .info. If the version is 1.4 or above, updating the scripts >>aren't necessary, as version 1.4 and above have inbuilt support for >>Darwin/MacOS X. >> >The ltmain.sh is version 1.4, and the old .info for gdk-pixbuf had >"UpdateLibtool: true" >set, so I deleted that and the compile went somewhat farther. But >it again errored on >a libtool problem, this time with an error message I've seen more >often in the message >archives: > >>cc -dynamiclib -undefined suppress -o >>.libs/libgdk_pixbuf.2.0.0.dylib gdk-pixbuf.lo >>gdk-pixbuf-animation.lo gdk-pixbuf-data.lo gdk-pixbuf-drawable.lo >>gdk-pixbuf-io.lo gdk-pixbuf-loader.lo gdk-pixbuf-render.lo >>gdk-pixbuf-scale.lo gdk-pixbuf-util.lo gdk-pixbuf-parse-color.lo >>-all_load pixops/.libs/libpixops.al -L/sw/lib -lgmodule -lglib >>-ldl -L/usr/X11R6/lib -lgtk -lgdk -lgmodule -lglib -ldl -lintl >>-lXext -lX11 -lm pixops/.libs/libpixops.al -lc -install_name /sw/ >>lib/libgdk_pixbuf.2.dylib -compatibility_version 3 -current_version 3.0 >>ld: -undefined error must be used when -twolevel_namespace is in effect >>/usr/bin/libtool: internal link edit command failed >>make[3]: *** [libgdk_pixbuf.la] Error 1 >>make[2]: *** [all-recursive] Error 1 >>make[1]: *** [all-recursive] Error 1 >>make: *** [all-recursive-am] Error 2 >>### make failed, exit code 2 >>Failed: compiling gdk-pixbuf-0.15.0-1 failed > >Now, I've seen this error in the archives but am unclear on how to fix it. > I think >I am supposed to change the compiler flag "-undefined suppress" but >I'm not sure >where. > >Steve Wall
Yep... You need to add '-flat_namespace' to the undefined flags for Darwin in the configure script, and make a patch for it. That should fix the error. _______________________________________________ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel