Hi,

I attempted to build under Linux today and ended up with the following
command and subsequent error:

cc -ffreestanding -c -O GGDEFINE -fno-common -fno-stack-protector
-Wall -Werror -DOSS_LITTLE_ENDIAN  -I../../include
-I../../kernel/framework/include -I../../kernel/OS/Linux
-I../../kernel/nonfree/include -I../.. ossplay.c -o ./ossplay.o
cc: GGDEFINE: No such file or directory

Tracking this error down led me to cmd/ossplay/.config where I saw
that the makefile includes did not have the proper braces.  The
following patch fixes the makefile includes.  I see in a previous
message from Francois that his compile line also shows 'cc -c -O
GGDEFINE ....'  which looks to me like he will experience this issue
as well.

diff -r c77f8f8d4296 cmd/ossplay/.config
--- a/cmd/ossplay/.config       Mon Aug 10 12:35:53 2009 +0300
+++ b/cmd/ossplay/.config       Mon Aug 10 11:41:30 2009 -0400
@@ -1,3 +1,3 @@
-cflags=$OGGDEFINE
-ldflags=$DLOPENLDFLAGS
+cflags=$(OGGDEFINE)
+ldflags=$(DLOPENLDFLAGS)
 forgetos=VxWorks

-alexander k ho
_______________________________________________
oss-devel mailing list
oss-devel@mailman.opensound.com
http://mailman.opensound.com/mailman/listinfo/oss-devel

Reply via email to