http://bugs.freedesktop.org/show_bug.cgi?id=25663
--- Comment #8 from Ben Matthews <mbe...@gmail.com> 2009-12-16 09:32:44 PST --- Aside from one missed semicolon that branch now compiles with xlc (though I do see some weird linker warnings at the end) The fix is here: diff --git a/src/mesa/main/dlopen.c b/src/mesa/main/dlopen.c index 325de4b..81e0320 100644 --- a/src/mesa/main/dlopen.c +++ b/src/mesa/main/dlopen.c @@ -68,7 +68,7 @@ GenericFunc _mesa_dlsym(void *handle, const char *fname) { #if defined(__blrts) - return (GenericFunc) NULL + return (GenericFunc) NULL; #elif defined(__DJGPP__) /* need '_' prefix on symbol names */ char fname2[1000]; Linker error (which I haven't seen/noticed before.. I'm pretty new to xlc) /bgl/BlueLight/ppcfloor/blrts-gnu/powerpc-bgl-blrts-gnu/bin/ld: warning: cannot find entry symbol dantic; defaulting to 002000a0 Which I assume is coming from the -pedantic flag here (a couple lines up, but I'm doing parallel builds so it doesn't take all day so the sequencing is non-deterministic) /opt/ibmcmp/vacpp/bg/8.0/bin/blrts_xlc -c -I../../include -O3 -pedantic -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE readtex.c I have no idea why it's there or what it's supposed to do. Unfortunately I don't have any easy code to do runtime testing yet (the application of this is proving even harder to build). -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev