[問題] kubuntu x86_64編譯錯誤 變數重複定義

作者: knko (12345)   2021-12-15 19:05:44
我在使用kubuntu(x86_64)編譯此套軟體時執行pmake all install時發現錯誤,原因是/u
sr/bin/ld: /tmp/writemoney-42e226.o:/home/bbs/pttbbs/util/writemoney.c:5: multip
le definition of `now'; util_var.o:/home/bbs/pttbbs/util/../mbbsd/var.c:374: fir
st defined here,是於pttbbs.conf中有加入#define SHMALIGNEDSIZE (1048576*4)
#define TIMET64,似乎是爲重複定義但是我不確定是軟體還是我設定的問題,我使用的版
本最後的編輯是https://github.com/ptt/pttbbs/commit/576513c502a9bf5fcfa08ae52ee94
ed0c67be608

Links booklink

Contact Us: admin [ a t ] ucptt.com