作者SentoS (HI~)
看板LinuxDev
標題[問題] 在ubuntu上執行make發生錯誤
時間Fri Aug 26 14:04:12 2011
大家好,我最近在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
→ stanely5:g++不認識int32_t..... 08/26 15:03
→ uranusjr:加一行 #include <stdint.h> 08/26 15:22