- そのままコンパイルすると,次のようなエラーが出て停止する.
gmake: *** No rule to make target `<command-line>', needed by `miniperlmain.o'. Stop.
av$(OBJ_EXT): <command-line>
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "<stdin>"
-
- gcc-4.2系では以下になっていてcommand-lineのようにハイフンが入るようになった.
# 1 "<stdin>"
# 1 "<built-in>"
# 1 "<command-line>"
# 1 "<stdin>"
- makedepend.SHにcommand-lineをもつ行も削除させるようsedの条件を一行追加する.
*** makedepend.SH.dist Fri Jun 6 03:11:10 2003
--- makedepend.SH Fri Feb 29 04:13:55 2008
***************
*** 167,172 ****
--- 167,173 ----
-e '/^#.*<builtin>/d' \
-e '/^#.*<built-in>/d' \
-e '/^#.*<command line>/d' \
+ -e '/^#.*<command-line>/d' \
-e '/^#.*"-"/d' \
-e '/: file path prefix .* never used$/d' \
-e 's#\.[0-9][0-9]*\.c#'"$file.c#" \
-
- perl-5.10.0のmakedepend.SHは既に追加された状態になっている.
- リンク