作者HEC (机壳电源专卖)
看板Maple
标题[问题] maple在redhat7.3上
时间Thu Jun 3 11:27:56 2010
我在/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
1F:→ dendrobium:NULL没宣告 暴力法: f_map.c加#define NULL 0 06/03 21:47
2F:推 Lavchi:123 08/28 21:30
3F:→ Lavchi:1test_1 08/28 21:30
4F:→ Lavchi:test_2 08/28 21:30
5F:→ Lavchi:test_3 08/28 21:30