- 论坛徽章:
- 0
|
找到makefile里,将-Wall -Wwrite-strings -Werror去掉编编看
群雄逐鹿中原 发表于 2010-06-08 10:14 ![]()
我开始就这样做了,出错如下:
make all-am
source='debug.c' object='debug.lo' libtool=yes \
DEPDIR=.deps depmode=none /bin/ksh ./depcomp \
/bin/ksh ./libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.
-D_GNU_SOURCE -D_REENTRANT -g -belf -c -o debug.lo debug.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -D_GNU_SOURCE -D_REENTRANT -g -belf -c
debug.c -KPIC -DPIC -o .libs/debug.o
"./debug.h", line 40: error: invalid token in #define macro parameters: ...
"./debug.h", line 41: error: invalid token in #define macro parameters: ...
"./debug.h", line 42: error: invalid token in #define macro parameters: ...
"./debug.h", line 43: error: invalid token in #define macro parameters: ...
*** Error code 1 (bu21)
*** Error code 1 (bu21) |
|