[問題] maple在redhat7.3上

作者: HEC (機殼電源專賣)   2010-06-03 11:27:56
我在/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
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
作者: dendrobium (石斛蘭)   2010-06-03 21:47:00
NULL沒宣告 暴力法: f_map.c加#define NULL 0
作者: Lavchi (拉維奇)   2010-08-28 21:30:00
1231test_1test_2test_3
作者: dendrobium (石斛蘭)   2010-06-03 21:47:00
NULL沒宣告 暴力法: f_map.c加#define NULL 0
作者: Lavchi (拉維奇)   2010-08-28 21:30:00
1231test_1test_2test_3

Links booklink

Contact Us: admin [ a t ] ucptt.com