[問題] 在ubuntu上執行make發生錯誤

看板LinuxDev作者 (HI~)時間14年前 (2011/08/26 14:04), 編輯推噓0(002)
留言2則, 2人參與, 最新討論串1/2 (看更多)
大家好,我最近在ubuntu的終端機上執行./configure *-> make -> makefile ./configure的部份沒有問題,順利通過,但是在make的部份卻出現以下錯誤 g++ -DHAVE_CONFIG_H -I. -I.. -I../CommonLibs -I../Control -I../GSM -I../SIP -I../SMS -I../TRXManager -I../Globals -I../CLI -I../HLR -O3 -g -lpthread -g -O2 -MT F16Test.o -MD -MP -MF .deps/F16Test.Tpo -c -o F16Test.o F16Test.cpp In file included from F16Test.cpp:25: F16.h:35:error: 'int32_t'does not name a type F16.h:50:error: 'int32_t'does not name a type F16.h:61:error: ISO C++ forbids declaration of 'int32_t' with no type F16.h:61:error: expect';'before '&' token ..... .... .. .. 接下來都是F16.h的錯誤,大概有100行都是顯示類似的錯誤 請問有高手能告訴我這該怎麼解決嗎 ˊoˋ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.127.205.250

08/26 15:03, , 1F
g++不認識int32_t.....
08/26 15:03, 1F

08/26 15:22, , 2F
加一行 #include <stdint.h>
08/26 15:22, 2F
文章代碼(AID): #1ELpTVkg (LinuxDev)
文章代碼(AID): #1ELpTVkg (LinuxDev)