按这种方式会出错。。
make:进入目录'/home/cbzh/下载/qq/myqq3/src'
rm -f *.o
rm -f ../myqq
gcc -c -Wall -o qqsocket.o qqsocket.c
gcc -c -Wall -o qqcrypt.o qqcrypt.c
gcc -c -Wall -o md5.o md5.c
gcc -c -Wall -o debug.o debug.c
gcc -c -Wall -o qqclient.o qqclient.c
gcc -c -Wall -o memory.o memory.c
gcc -c -Wall -o config.o config.c
gcc -c -Wall -o packetmgr.o packetmgr.c
gcc -c -Wall -o qqpacket.o qqpacket.c
gcc -c -Wall -o prot_login.o prot_login.c
gcc -c -Wall -o protocol.o protocol.c
gcc -c -Wall -o prot_misc.o prot_misc.c
gcc -c -Wall -o prot_im.o prot_im.c
gcc -c -Wall -o prot_user.o prot_user.c
gcc -c -Wall -o list.o list.c
gcc -c -Wall -o buddy.o buddy.c
gcc -c -Wall -o group.o group.c
gcc -c -Wall -o qun.o qun.c
gcc -c -Wall -o prot_group.o prot_group.c
gcc -c -Wall -o prot_qun.o prot_qun.c
gcc -c -Wall -o prot_buddy.o prot_buddy.c
gcc -c -Wall -o loop.o loop.c
gcc -c -Wall -o utf8.o utf8.c
utf8.c: In function ‘gb_to_utf8’:
utf8.c:101: warning: unused variable ‘c’
gcc -c -Wall -o myqq.o myqq.c
myqq.c: In function ‘setcolor’:
myqq.c:173: warning: format not a string literal and no format arguments
myqq.c: In function ‘buddy_msg_callback’:
myqq.c:503: warning: format not a string literal and no format arguments
myqq.c:511: warning: format not a string literal and no format arguments
myqq.c: In function ‘qun_msg_callback’:
myqq.c:544: warning: format not a string literal and no format arguments
myqq.c:554: warning: format not a string literal and no format arguments
myqq.c: In function ‘main’:
myqq.c:682: warning: format not a string literal and no format arguments
myqq.c:720: warning: format not a string literal and no format arguments
myqq.c:726: warning: format not a string literal and no format arguments
myqq.c:730: warning: format not a string literal and no format arguments
myqq.c:765: warning: format not a string literal and no format arguments
myqq.c:798: warning: format not a string literal and no format arguments
myqq.c:805: warning: format not a string literal and no format arguments
myqq.c:810: warning: format not a string literal and no format arguments
myqq.c:823: warning: format not a string literal and no format arguments
myqq.c:829: warning: format not a string literal and no format arguments
myqq.c:859: warning: format not a string literal and no format arguments
myqq.c:861: warning: format not a string literal and no format arguments
myqq.c:869: warning: format not a string literal and no format arguments
myqq.c:871: warning: format not a string literal and no format arguments
myqq.c:883: warning: format not a string literal and no format arguments
myqq.c:886: warning: format not a string literal and no format arguments
myqq.c:895: warning: format not a string literal and no format arguments
myqq.c:898: warning: format not a string literal and no format arguments
myqq.c:915: warning: format not a string literal and no format arguments
gcc -c -Wall -o util.o util.c
gcc -c -Wall -o crc32.o crc32.c
gcc -c -Wall -o qqconn.o qqconn.c
gcc qqsocket.o qqcrypt.o md5.o debug.o qqclient.o memory.o config.o packetmgr.o qqpacket.o prot_login.o protocol.o prot_misc.o prot_im.o prot_user.o list.o buddy.o group.o qun.o prot_group.o prot_qun.o prot_buddy.o loop.o utf8.o myqq.o util.o crc32.o qqconn.o -lpthread -s -o ../myqq
done.
make:离开目录“/home/cbzh/下载/qq/myqq3/src”
有大侠知道怎么弄吗。。
