- 论坛徽章:
- 0
|
立下计划,为sqwebmail写一个邮件内容查找的hack
我最后一步make出错,出错信息
Compiling cs_func.c
In file included from cs_func.c:39:
cs_func.h:31:7: warning: no newline at end of file
cs_func.c: In function `cs_show_parts':
cs_func.c:63: warning: int format, off_t arg (arg 2)
cs_func.c:64: warning: int format, off_t arg (arg 2)
cs_func.c: In function `cs_check':
cs_func.c:78: warning: passing arg 2 of `rfc2045_mimepos' from incompatible poin
ter type
cs_func.c:78: warning: passing arg 3 of `rfc2045_mimepos' from incompatible poin
ter type
cs_func.c:78: warning: passing arg 4 of `rfc2045_mimepos' from incompatible poin
ter type
cs_func.c:78: warning: passing arg 5 of `rfc2045_mimepos' from incompatible poin
ter type
cs_func.c:78: warning: passing arg 6 of `rfc2045_mimepos' from incompatible poin
ter type
cs_func.c: In function `cs_check_body':
cs_func.c:139: warning: passing arg 2 of `rfc2045_mimeinfo' from incompatible po
inter type
cs_func.c:139: warning: passing arg 3 of `rfc2045_mimeinfo' from incompatible po
inter type
cs_func.c:139: warning: passing arg 4 of `rfc2045_mimeinfo' from incompatible po
inter type
cs_func.c:165: warning: implicit declaration of function `quoted_printable_decod
e'
cs_func.c:165: warning: initialization makes pointer from integer without a cast
cs_func.c: In function `cs_debug':
cs_func.c:228: warning: declaration of `p' shadows a parameter
cs_func.c:232: warning: passing arg 1 of `rfc2045_mimepos' from incompatible poi
nter type
cs_func.c:234: warning: int format, off_t arg (arg 2)
cs_func.c:234: warning: int format, off_t arg (arg 3)
cs_func.c:234: warning: int format, off_t arg (arg 4)
cs_func.c:234: warning: int format, off_t arg (arg 5)
cs_func.c:234: warning: int format, off_t arg (arg 6)
cs_func.c:238: warning: assignment from incompatible pointer type
cs_func.c:261: warning: int format, off_t arg (arg 2)
cs_func.c:261: warning: int format, off_t arg (arg 3)
cs_func.c:262: warning: int format, off_t arg (arg 4)
cs_func.c:276: warning: int format, off_t arg (arg 2)
cs_func.c:277: warning: int format, off_t arg (arg 2)
cs_func.c:224: warning: unused variable `header'
cs_func.c:224: warning: unused variable `value'
cs_func.c:225: warning: unused variable `save_subject'
cs_func.c:226: warning: unused variable `save_date'
cs_func.c:228: warning: unused variable `newpart'
cs_func.c:230: warning: unused variable `pos'
cs_func.c:228: warning: `p' might be used uninitialized in this function
cs_func.c: In function `write_url':
cs_func.c:365: warning: unused variable `folder_index_entry_start'
cs_func.c:366: warning: unused variable `folder_index_entry_end'
cs_func.c:322: warning: unused variable `i'
cs_func.c:328: warning: unused variable `selectalllab'
cs_func.c: In function `cs_search_box':
cs_func.c:486: warning: implicit declaration of function `get_msgfilename'
cs_func.c:486: warning: initialization makes pointer from integer without a cast
cs_func.c:464: warning: unused variable `i'
cs_func.c:464: warning: unused variable `found'
cs_func.c:469: warning: unused variable `beforelab'
cs_func.c:469: warning: unused variable `afterlab'
cs_func.c:470: warning: unused variable `nomsg'
cs_func.c:470: warning: unused variable `selectalllab'
cs_func.c:471: warning: unused variable `qerrmsg'
cs_func.c: In function `cs_do_search':
cs_func.c:665: warning: implicit declaration of function `xlate_mdir'
cs_func.c:665: warning: assignment makes pointer from integer without a cast
cs_func.c:666: warning: implicit declaration of function `countcurnew'
cs_func.c:731: warning: implicit declaration of function `list_folder'
gcc -I/home/vpopmail/include -g -O2 -Wall -I.. -I./.. -o sqwebmail addressbo
ok.o args.o attachments.o auth.o autoresponse.o buf.o filter.o folder.o gpg.o ht
ml.o ldaplist.o logindomainlist.o maildir.o mailfilter.o mailinglist.o newmsg.o
newmsg_create.o newmsg_newdraft.o pref.o rfc2646html.o sqconfig.o sqwebmail.o to
ken.o cs_func.o ../maildir/libmaildir.a ../rfc2045/librfc2045.a ../rfc822/libr
fc822.a ../http11/libhttp11.a ../cgi/libcgi.a ../authlib/libauth.a ../ldapaddres
sbook/libaddressbook.a ../gpglib/libgpg.a ../unicode/libunicode.a ../random128/l
ibrandom128.a ../md5/libmd5.a ../numlib/libnumlib.a ../gdbmobj/libgdbmobj.a `cat
../authlib/libauth.dep` -lgdbm -lcrypt -L/home/vpopmail/lib -lvpopmail -lm -l
strfunc -lcrypt
cs_func.o(.text+0x83e): In function `write_url':
/home/wangxu/software/wmail-1.00rc1.20030724/sqwebmail/cs_func.c:422: undefined
reference to `folder_msg_unlink'
cs_func.o(.text+0x8d3):/home/wangxu/software/wmail-1.00rc1.20030724/sqwebmail/cs
_func.c:449: undefined reference to `folder_msg_unlink'
collect2: ld returned 1 exit status
make[3]: *** [sqwebmail] Error 1
make[3]: Leaving directory `/home/wangxu/software/wmail-1.00rc1.20030724/sqwebma
il'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/wangxu/software/wmail-1.00rc1.20030724/sqwebma
il'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/wangxu/software/wmail-1.00rc1.20030724/sqwebma
il'
make: *** [all-recursive] Error 1 |
|