Marten van der Honing wrote:
Hello,

I want to compile the mesa source for the directfb target but i get
the following error while doing: make linux-directfb .

glapi/glapitemp.h:4428: warning: 'NoOp_dispatch_stub_607' defined but not used
gcc -c -I../../include -I../../src/mesa -I../../src/mesa/main
-I../../src/mesa/glapi -I../../src/mesa/math -I../../src/mesa/tnl
-I../../src/mesa/shader -I../../src/mesa/shader/grammar
-I../../src/mesa/shader/slang -I../../src/mesa/swrast
-I../../src/mesa/swrast_setup -Wall -O3 -ffast-math -fPIC -std=c99
-D_GNU_SOURCE -D_POSIX_SOURCE -D_SVID_SOURCE -D_POSIX_C_SOURCE=199309L
-D_BSD_SOURCE -DPTHREADS -fno-strict-aliasing glapi/glthread.c -o
glapi/glthread.o
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 4: syntax error: unexpected end of file
make[4]: *** [libgl-core] Error 2

Where is the problem?

Looks like a missing quote char in the Makefile rule. I've fixed this in git and am attaching the patch.

-Brian

commit e2cccd0e7350651a85376be3a2b327e506de0364
Author: Brian <[EMAIL PROTECTED]>
Date:   Mon Dec 3 11:58:16 2007 -0700

    added missing quote char

diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index eea8eb9..d0c19f5 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -65,7 +65,7 @@ linux-solo: depend subdirs libmesa.a
 # Stand-alone Mesa libGL, no built-in drivers (DirectFB)
 
 libgl-core: $(CORE_OBJECTS)
-	@ $(TOP)/bin/mklib -o $(GL_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS) \
+	@ $(TOP)/bin/mklib -o $(GL_LIB) -linker '$(CC)' -ldflags '$(LDFLAGS)' \
 		-major $(MESA_MAJOR) -minor $(MESA_MINOR) -patch $(MESA_TINY) \
 		-install $(TOP)/$(LIB_DIR) $(MKLIB_OPTIONS) $(CORE_OBJECTS) \
 		$(GL_LIB_DEPS)
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to