[vorbis-dev] Compiling ogg123 under powerpc-apple-darwin6.1

Frederick Wheelock fcw23 at drexel.edu
Wed Nov 6 20:43:21 PST 2002



Running gcc3 and running into a syntax error in ogg123's buffer.c :

...
gcc -DLOCALEDIR=\"/usr/local/share/locale\"  -DPACKAGE=\"vorbis-tools\" 
-DVERSION=\"1.0\" -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_ALLOCA=1 
-DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DHAVE_LIMITS_H=1 
-DHAVE_LOCALE_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 
-DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETCWD=1 -DHAVE_GETEGID=1 
-DHAVE_GETEUID=1 -DHAVE_GETGID=1 -DHAVE_GETUID=1 -DHAVE_MUNMAP=1 
-DHAVE_PUTENV=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_STRCHR=1 
-DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRTOUL=1 
-DHAVE_LC_MESSAGES=1 -DENABLE_NLS=1 -DHAVE_CURL=1 -DHAVE_PTHREAD=1 
-DHAVE_ALLOCA=1 -DHAVE_ATEXIT=1  -I../include -I../intl    -fno-common 
-O4 -Wall -fsigned-char -ffast-math  -c buffer.c
buffer.c:76: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:84: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:92: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:193: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:199: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:208: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:215: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:219: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:261: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:268: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:287: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:309: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:317: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:317: undefined type, found `DEBUG'
buffer.c:318: syntax error, missing `;' after `buf'
buffer.c:323: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:326: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:333: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:433: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:448: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:459: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:473: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:488: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:500: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:518: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:530: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:536: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:570: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:580: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:587: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:602: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:733: only 1 arg to macro 'DEBUG' (2 expected)
buffer.c:750: only 1 arg to macro 'DEBUG' (2 expected)
cpp-precomp: warning: errors during smart preprocessing, retrying in 
basic mode
make[1]: *** [buffer.o] Error 1
make: *** [all-recursive] Error 1
...

I'm not real good at C programming.

Thanks in advance for your help.

Fred

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list