[問題] gcc compile func called in func已刪文

看板Programming作者 (gecer)時間3年前 (2021/06/10 17:36), 編輯推噓0(001)
留言1則, 1人參與, 3年前最新討論串1/1
main mymath.c https://upload.cc/i1/2021/06/10/e3Ku8p.png
two.c https://upload.cc/i1/2021/06/10/px9U4T.png
three.c https://upload.cc/i1/2021/06/10/G7hmqk.png
mymath.h https://upload.cc/i1/2021/06/10/A4mCYr.png
makefile https://upload.cc/i1/2021/06/10/UewmN9.png
error https://upload.cc/i1/2021/06/10/8WV0wL.png
小弟在three.c內call two.c的function gcc 無法成功compile three.c 請問如何修正? -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.143.149.53 (臺灣) ※ 文章網址: https://www.ptt.cc/bbs/Programming/M.1623317786.A.A05.html

06/10 18:49, 3年前 , 1F
func2(8) 不是two(8)
06/10 18:49, 1F
文章代碼(AID): #1WmTqQe5 (Programming)
文章代碼(AID): #1WmTqQe5 (Programming)