作者knko ()
看板PttCurrent
标题[问题] kubuntu x86_64编译错误 变数重复定义
时间Wed Dec 15 19:05:44 2021
我在使用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
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 150.117.157.24 (台湾)
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/PttCurrent/M.1639566347.A.1E1.html