[root@localhost gmsv]# make
/bin/sh ./genver.sh
make[1]: Entering directory `/root/sa/gmsv/char'
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o char_base.o char_base.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o char.o char.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o char_event.o char_event.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o char_data.o char_data.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o skill.o skill.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o title.o title.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o addressbook.o addressbook.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o chatmagic.o chatmagic.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o event.o event.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o char_walk.o char_walk.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o encount.o encount.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o pet.o pet.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o enemy.o enemy.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o pet_event.o pet_event.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o char_talk.o char_talk.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o char_party.o char_party.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o char_item.o char_item.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o deathcontend.o deathcontend.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o chatroom.o chatroom.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o petmail.o petmail.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o trade.o trade.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o family.o family.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o defend.o defend.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I.. -I../include -c -o char_angel.o char_angel.c
rm -f libchar.a
ar cr libchar.a char_base.o char.o char_event.o char_data.o skill.o title.o addressbook.o chatmagic.o event.o char_walk.o encount.o pet.o enemy.o pet_event.o char_talk.o char_party.o char_item.o deathcontend.o chatroom.o petmail.o trade.o family.o defend.o char_angel.o
ranlib libchar.a
make[1]: Leaving directory `/root/sa/gmsv/char'
make[1]: Entering directory `/root/sa/gmsv/npc'
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I. -I../include -c -o readnpc.o readnpc.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I. -I../include -c -o npcgen.o npcgen.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I. -I../include -c -o npctemplate.o npctemplate.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I. -I../include -c -o npccreate.o npccreate.c
gcc -fprefetch-loop-arrays -march=pentium4 -w -O3 -pipe -fomit-frame-pointer -freg-struct-return -malign-double -maccumulate-outgoing-args -minline-all-stringops -mmmx -msse -msse2 -I. -I../include -c -o npcutil.o npcutil.c
npcutil.c: In function ‘NPC_Util_GetArgStr’:
npcutil.c:1150: 错误:赋值运算中的左值无效
make[1]: *** [npcutil.o] 错误 1
make[1]: Leaving directory `/root/sa/gmsv/npc'
make: *** [npc/libnpc.a] 错误 2
[root@localhost gmsv]#
请问错误原因是?如果是哪几个文件错误了。能发我一份吗?
1057772545@qq.com