[問題] maple在redhat7.3上

看板Maple (BBS架站)作者 (機殼電源專賣)時間14年前 (2010/06/03 11:27), 編輯推噓1(104)
留言5則, 2人參與, 最新討論串1/1
我在/home/bbs/src/lib目錄裡,執行 make 出現下面情形 gcc -O2 -s -pipe -fomit-frame-pointer -Wunused -I../include -c f_map.c f_map.c: In function `f_map': f_map.c:31: `NULL' undeclared (first use in this function) f_map.c:31: (Each undeclared identifier is reported only once f_map.c:31: for each function it appears in.) make: *** [f_map.o] Error 1 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.40.126.34

06/03 21:47, , 1F
NULL沒宣告 暴力法: f_map.c加#define NULL 0
06/03 21:47, 1F

08/28 21:30, , 2F
123
08/28 21:30, 2F

08/28 21:30, , 3F
1test_1
08/28 21:30, 3F

08/28 21:30, , 4F
test_2
08/28 21:30, 4F

08/28 21:30, , 5F
test_3
08/28 21:30, 5F
文章代碼(AID): #1C1o4_mn (Maple)
文章代碼(AID): #1C1o4_mn (Maple)