修改 src/CString_wx.h
找尋
Code: [Select]
friend CString operator+(const CString& str1, const CString& str2){替換成
Code: [Select]
friend CString operator+(const wxString(str1), const wxString(str2)){之後再重新編譯後就可以完成編譯囉, 目前執行上沒什麼問題, 可以ban掉不少血騾...呵呵

|
1
on: August 15, 2010, 01:03:42 AM
|
||
| Started by wugi - Last post by wugi | ||
|
2
on: August 04, 2010, 10:58:53 AM
|
||
| Started by wugi - Last post by wugi | ||
|
最近在網路瀏覽網頁的時候發現amule-dlp這個東東, 可以防止一些吸血騾, 我也抓下來試試能不能在我的BCM4780 NAS上跑...不過編譯的時候出現了問題....
Code: [Select] .... |
||
|
3
on: June 10, 2010, 12:28:43 AM
|
||
| Started by wugi - Last post by wugi | ||
|
$ git push
root@192.168.168.1's password: Counting objects: 4, done. Delta compression using up to 2 threads. Compressing objects: 100% (2/2), done. Writing objects: 100% (3/3), 315 bytes, done. Total 3 (delta 0), reused 0 (delta 0) remote: error: refusing to update checked out branch: refs/heads/master remote: error: By default, updating the current branch in a non-bare repository remote: error: is denied, because it will make the index and work tree inconsist ent remote: error: with what you pushed, and will require 'git reset --hard' to matc h remote: error: the work tree to HEAD. remote: error: remote: error: You can set 'receive.denyCurrentBranch' configuration variable to remote: error: 'ignore' or 'warn' in the remote repository to allow pushing into remote: error: its current branch; however, this is not recommended unless you remote: error: arranged to update its work tree to match what you pushed in some remote: error: other way. remote: error: remote: error: To squelch this message and still keep the default behaviour, set remote: error: 'receive.denyCurrentBranch' configuration variable to 'refuse'. To ssh://root@192.168.168.1/opt/git_root/a.git ! [remote rejected] master -> master (branch is currently checked out) error: failed to push some refs to 'ssh://root@192.168.168.1/opt/git_root/a.git' Administrator@BENQ-S73 /d/share/abc/ab/.git (GIT_DIR!) $ |
||
|
4
on: April 25, 2010, 11:57:02 PM
|
||
| Started by wugi - Last post by wugi | ||
|
PHP 5.3.2 compiled error with BCM4780 Debian 4.0 MIPSEL.
Configuration is below. ./configure --prefix=/usr --with-config-file-path=/etc/php --with-mysql --with-mysqli --with-iconv-dir --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-snmp --with-ttf --enable-gd-native-ttf --enable-gd-jis-conv --enable-ftp --with-gettext --with-imap --with-imap-ssl --with-mcrypt --with-ncurses --enable-pcntl --with-readline --with-xmlrpc --with-zip Quote ... It seems IMAP c-client issue. |
||
|
5
on: April 01, 2010, 12:17:26 AM
|
||
| Started by wugi - Last post by wugi | ||
|
Quote # ipsec verify Solution : Add below lines to /etc/ipsec.conf Code: [Select] conn blockIt will become below. Quote Checking your system to see if IPsec got installed and started correctly: Refer to : http://www.wretch.cc/blog/chunglai/25981765 |
||
|
6
Linux / Compile Problems / xl2tpd can't start correctly in CentOS 5.4 VM with default kernel 2.6.18-164.el5
on: March 31, 2010, 11:52:39 PM
|
||
| Started by wugi - Last post by wugi | ||
|
The message is below when I run "xl2tpd -D"
xl2tpd[7902]: setsockopt recvref[22]: Protocol not available xl2tpd[7902]: This binary does not support kernel L2TP. xl2tpd[7902]: open_controlfd: Unable to open /var/run/xl2tpd/l2tp-control for reading. It means the kernel doesn't support kernel L2TP, and it will need to recompile the kernel. |
||
|
7
on: March 31, 2010, 11:25:44 PM
|
||
| Started by wugi - Last post by wugi | ||
|
Compile fail with xl2tpd-1.2.4
Quote cc -DDEBUG_PPPD -DTRUST_PPPD_TO_DIE -O2 -fno-builtin -Wall -DSANITY -DLINUX -I./linux/include/ -DIP_ALLOCATION -c -o xl2tpd.o xl2tpd.c Solution: Install libpcap and libpcap-devel packages. Refer: http://lists.openswan.org/pipermail/users/2009-April/016446.html |
||
|
8
on: March 31, 2010, 11:22:24 PM
|
||
| Started by wugi - Last post by wugi | ||
|
Since there is no referred pcap.h and pcap-bpf.h in CentOS 5.4 even if I install libcap-devel, I prepare to compile the new libcap. (The libcap version in CentOS 5.4 is too old, it is 1.10)
When I compile libcap with version 2.19, I occur compile error. Quote make -C libcap all This problem is caused by he lost package libattr-devel Try to install by "yum install libattr-devel" |
||
|
9
Debian on Embedded NAS / MIPS/MIPSEL / Re: Compressed BCM47xx Debian image update - Revision 20091218 (該版本有些小問題..請自行評估下
on: December 28, 2009, 10:06:20 PM
|
||
| Started by wugi - Last post by wugi | ||
2. 無法切換語系, 執行 dpkg-reconfigure locales 錯誤... (網友rareway 反應) 發現一個暫時存的解決方案...只要將 /usr/lib/perl5/auto 目錄內的資料整個刪除或是更名(ex. auto.old) 就可以了 |
||
|
10
Debian on Embedded NAS / MIPS/MIPSEL / Re: Compressed BCM47xx Debian image update - Revision 20091218 (該版本有些小問題..請自行評估下載)
on: December 27, 2009, 11:50:32 PM
|
||
| Started by wugi - Last post by wugi | ||
|
1. perl-doc depends 版本變成 -1
如果安裝 perl-doc 之後再進行其它套件的話會出現perl的相依問題... ![]() 2. 無法切換語系, 執行 dpkg-reconfigure locales 錯誤... (網友rareway 反應) dpkg-reconfigure locales /usr/bin/perl: symbol lookup error: /usr/lib/perl5/auto/Locale/gettext/gettext.so: undefined symbol: Perl_Tstack_sp_ptr 這個好像是 /usr/lib/perl5/auto/Locale/gettext/gettext.so 太舊..? ==> 更新一下libperl-gettext 後是ok了, 不過又出現iconv的錯誤...該不會perl 相關的套件都要重編吧...><" |
||