亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

Chinaunix

標題: libfastcommon安裝錯誤 [打印本頁]

作者: zhzjizhan    時間: 2015-04-17 14:03
標題: libfastcommon安裝錯誤

從github下載的程序libfastcommon-master,執(zhí)行./make.sh,報如下錯誤:

cc -Wall -D_FILE_OFFSET_BITS=64 -g -DDEBUG_FLAG -DOS_FREEBSD -DIOEVENT_USE_KQUEUE -c -fPIC -o sockopt.lo sockopt.c  
sockopt.c:1241:25: error: use of undeclared identifier 'fsbytes'; did you mean 'sbytes'?
        remain_bytes -= fsbytes;
                        ^~~~~~~
                        sbytes
sockopt.c:1231:15: note: 'sbytes' declared here
        off_t sbytes;
              ^
1 error generated.
*** Error code 1

Stop.
make: stopped in /usr/local/libfastcommon-master/src

看錯誤信息是變量申明的問題,是不是其他依賴庫要安裝?
系統(tǒng):FreeBSD zhz 10.1-RELEASE FreeBSD 10.1-RELEASE  i386;另外make.sh中的gcc修改成了cc(freebsd中只裝了cc)。
作者: zhzjizhan    時間: 2015-04-19 13:53
自己頂一下,沒人碰到過這個問題嗎?斑竹有空來看下啊。這個對系統(tǒng)是64位、32位有要求嗎?

作者: zhzjizhan    時間: 2015-04-24 14:24
沒辦法了,安裝了gcc,也不過,放棄了。錯誤如下:
root@zhz:/usr/local/libfastcommon-1.0.7 # ./make.sh
cc -Wall -D_FILE_OFFSET_BITS=64 -g -DDEBUG_FLAG -DOS_FREEBSD -DIOEVENT_USE_KQUEUE -c -fPIC -o hash.lo hash.c  
cc -Wall -D_FILE_OFFSET_BITS=64 -g -DDEBUG_FLAG -DOS_FREEBSD -DIOEVENT_USE_KQUEUE -c -fPIC -o chain.lo chain.c  
cc -Wall -D_FILE_OFFSET_BITS=64 -g -DDEBUG_FLAG -DOS_FREEBSD -DIOEVENT_USE_KQUEUE -c -fPIC -o shared_func.lo shared_func.c  
cc -Wall -D_FILE_OFFSET_BITS=64 -g -DDEBUG_FLAG -DOS_FREEBSD -DIOEVENT_USE_KQUEUE -c -fPIC -o ini_file_reader.lo ini_file_reader.c  
cc -Wall -D_FILE_OFFSET_BITS=64 -g -DDEBUG_FLAG -DOS_FREEBSD -DIOEVENT_USE_KQUEUE -c -fPIC -o logger.lo logger.c  
cc -Wall -D_FILE_OFFSET_BITS=64 -g -DDEBUG_FLAG -DOS_FREEBSD -DIOEVENT_USE_KQUEUE -c -fPIC -o sockopt.lo sockopt.c  
sockopt.c:1241:25: error: use of undeclared identifier 'fsbytes'; did you mean 'sbytes'?
        remain_bytes -= fsbytes;
                        ^~~~~~~
                        sbytes
sockopt.c:1231:15: note: 'sbytes' declared here
        off_t sbytes;
              ^
1 error generated.
*** Error code 1

Stop.
make: stopped in /usr/local/libfastcommon-1.0.7/src
作者: zhzjizhan    時間: 2015-04-27 09:09
已解決,修改sockopt.c, 1241行的fsbytes為sbytes;
作者: chinawiserv6    時間: 2015-05-05 15:31
好高深,懂不起
作者: 會計師會釣魚    時間: 2015-05-07 11:06
有點深   這得請專業(yè)人員
作者: happy_fish100    時間: 2015-05-11 18:34
謝謝反饋,代碼已更改。
作者: winyong    時間: 2015-05-11 22:29
樓主我認識你。。
作者: zhzjizhan    時間: 2015-05-12 09:06
真的假的你就認識我,稍稍透露點看看
作者: 8634129    時間: 2015-07-28 23:57
回復(fù) 7# happy_fish100


請問php上傳不成功,返回權(quán)限錯誤時什么原因。。。


   




歡迎光臨 Chinaunix (http://www.72891.cn/) Powered by Discuz! X3.2