看板 PttCurrent 關於我們 聯絡資訊
上游看起來修了 https://github.com/ptt/pttbbs/commit/2fae7442d4987b669b9c20d9e8fce80dd7bbdaff 補充一下 bbsdocker/image 專案建置環境變更的部分 預設 base image 改用 bullseye 新增 bookworm/testing, sid 版本作為 base image 提前測試 pttbbs 是否相容未來的 debian 穩定版本 (如果 Ubuntu 沒大改或許也對移植過去有幫助,但還是以測 Debian 為主) 目前可能要注意的是 Debian 逐漸淘汰 python2 所以 bookworm, sid 現在只提供 python-is-python3 除非手動改,不然腳本用 #!/usr/bin/env python 就不能代表 python2 了 現有 pttbbs 所包含到的 python 腳本如果會繼續沿用 需要再找機會測試能不能相容 -- ※ 引述《holishing ( )》之銘言: : 新版的 gcc 會嚴格限制 multiple definition : 所以在 Ubuntu Focal 或 Debian Bullseye 會遇到編譯錯誤 (以前只會警告) : 兩種解法: : 第一種是在編譯參數加上 -fcommon (讓它允許重複定義) : 第二種是把重複定義刪掉,例如參考以下修改: : https://github.com/bbsdocker/imageptt/blob/87c0ec3c/multipledef.patch : 應該就可以編譯過了 : ※ 引述《knko ()》之銘言: : : 我在使用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 : : ---- : : Sent from BePTT on my Samsung SM-M127F -- Paramore - Franklin And when we get home, I know we won't be home at all This place we live, it is not where we belong And I miss who we were in the town that we could call our own Going back to get away after everything has changed -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.116.252.158 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/PttCurrent/M.1649690220.A.F7B.html ※ 編輯: holishing (140.116.24.67 臺灣), 04/12/2022 02:23:49