环境:fc7
编译器:不使用fc7自带编译器gcc4.1.2,使用制作的gcc3.3.6
出错:
make[4]: Entering directory `/home/source/minigui/minigui1.3.x/libminigui-1.3.3/src/newgal'
source='stretch.c' object='stretch.lo' libtool=yes \
depfile='.deps/stretch.Plo' tmpdepfile='.deps/stretch.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../include -g -O2 -D__MINIGUI_LIB__ -D_REENTRANT -g -Wall -Wstrict-prototypes -pipe -UNDEBUG -D_DEBUG -DENABLE_DUMMYVIDEO -DENABLE_FBCON -DENABLE_QVFB -c -o stretch.lo `test -f 'stretch.c' || echo './'`stretch.c
rm -f .libs/stretch.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I../include -g -O2 -D__MINIGUI_LIB__ -D_REENTRANT -g -Wall -Wstrict-prototypes -pipe -UNDEBUG -D_DEBUG -DENABLE_DUMMYVIDEO -DENABLE_FBCON -DENABLE_QVFB -c stretch.c -MT stretch.lo -MD -MP -MF .deps/stretch.TPlo -fPIC -DPIC -o .libs/stretch.lo
stretch.c:265:47: missing terminating " character
stretch.c:267:25: missing terminating " character
make[4]: *** [stretch.lo] 错误 1
make[4]: Leaving directory `/home/source/minigui/minigui1.3.x/libminigui-1.3.3/src/newgal'
make[3]: *** [all-recursive] 错误 1
make[3]: Leaving directory `/home/source/minigui/minigui1.3.x/libminigui-1.3.3/src/newgal'
make[2]: *** [all-recursive] 错误 1
make[2]: Leaving directory `/home/source/minigui/minigui1.3.x/libminigui-1.3.3/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/home/source/minigui/minigui1.3.x/libminigui-1.3.3'
make: *** [all] 错误 2
修改libminigui-1.3.3/src/newgal/stretch.c文件:
265行:
__asm__ __volatile__ ("
call _copy_row
"
: "=&D" (u1), "=&S" (u2)
: "0" (dstp), "1" (srcp)
: "memory" );
改为如下:
__asm__ __volatile__ (
"call _copy_row"
: "=&D" (u1), "=&S" (u2)
: "0" (dstp), "1" (srcp)
: "memory" );
重新编译就OK了。
阅读(2023) | 评论(0) | 转发(0) |