| Summary: | darwin build ../glxcmds.c:891: error: ‘gc’ undeclared (first use in this function) | ||
|---|---|---|---|
| Product: | Mesa | Reporter: | Vinson Lee <vlee> |
| Component: | GLX | Assignee: | Jeremy Huddleston Sequoia <jeremyhu> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | medium | ||
| Version: | git | ||
| Hardware: | x86 (IA32) | ||
| OS: | Mac OS X (All) | ||
| Whiteboard: | |||
| i915 platform: | i915 features: | ||
|
Description
Vinson Lee
2010-05-01 13:29:23 UTC
4d63be67f320839d115987211d0d9b4297f6d17d mesa: 4d63be67f320839d115987211d0d9b4297f6d17d (7.8)
The originally reported build error is fixed.
However, the darwin build still does not complete due to perhaps a separate unrelated issue.
$ make
Making sources for darwin
make[3]: Nothing to be done for `default'.
make[3]: Nothing to be done for `default'.
make[3]: Nothing to be done for `default'.
make[2]: Nothing to be done for `all'.
(cd shader/slang/library && make) || exit 1 ;
make[3]: Nothing to be done for `default'.
/bin/sh ../../../../bin/mklib -o OSMesa -linker 'gcc' -ldflags '' \
-major 7 -minor 8 -patch 1 \
-install ../../../../lib \
-id /usr/X11/lib/libOSMesa.7.dylib \
-L../../../../lib -lGL osmesa.o ../../../../src/mesa/libmesa.a ../../../../src/mesa/libglapi.a ../../../../src/glsl/cl/libglslcl.a ../../../../src/glsl/pp/libglslpp.a
mklib: Making Darwin shared library: libOSMesa.7.8.dylib
Undefined symbols:
"_gl_dispatch_stub_361", referenced from:
_static_functions in libglapi.a(glapi_getproc.o)
"_gl_dispatch_stub_356", referenced from:
_static_functions in libglapi.a(glapi_getproc.o)
"_gl_dispatch_stub_362", referenced from:
_static_functions in libglapi.a(glapi_getproc.o)
"_gl_dispatch_stub_357", referenced from:
_static_functions in libglapi.a(glapi_getproc.o)
"_gl_dispatch_stub_363", referenced from:
_static_functions in libglapi.a(glapi_getproc.o)
"_gl_dispatch_stub_358", referenced from:
_static_functions in libglapi.a(glapi_getproc.o)
"_gl_dispatch_stub_364", referenced from:
_static_functions in libglapi.a(glapi_getproc.o)
"_gl_dispatch_stub_359", referenced from:
_static_functions in libglapi.a(glapi_getproc.o)
"_gl_dispatch_stub_365", referenced from:
_static_functions in libglapi.a(glapi_getproc.o)
"_gl_dispatch_stub_366", referenced from:
_static_functions in libglapi.a(glapi_getproc.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
mklib: Installing libOSMesa.7.8.dylib libOSMesa.7.dylib libOSMesa.dylib in ../../../../lib
mv: rename libOSMesa.7.8.dylib to ../../../../lib/libOSMesa.7.8.dylib: No such file or directory
make[4]: *** [../../../../lib/libOSMesa.dylib] Error 1
make[3]: *** [default] Error 1
make[2]: *** [driver_subdirs] Error 2
make[1]: *** [subdirs] Error 1
make: *** [default] Error 1
Please fix for master as well. It's fixed in 7.8, and that fix will get merged into master when appropriate... As for the OSMesa linking issue... I can't reproduce that on Leoaprd/ppc+i386+ppc64+x86_64 or Snow Leopard/ppc+i386+x86_64 That is a separate issue, and you should open up a new bug explaining your configuration and how you're building to get that error. Closing bug. 'make darwin' works for me on 7.8 and master. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.