|
|
发表于 2007-2-24 19:22:48
|
显示全部楼层
It turns out that ext2_err.[ch] is auto-generated by
uClinux-dist-20051014/user/e2fsprogs/lib/et/compile_et which, in turn,
is
generated from
uClinux-dist-20051014/user/e2fsprogs/lib/et/compile_et.sh.in
by subtituting variables. On this substitution pass, the line
DIR="${DIR- at datadir@/et}"
is substituted to
DIR="${DIR-/usr/share/et}"
instead of
DIR="${DIR-/path/to/uClinux-dist-20051014/user/e2fsprogs/lib/et}"
This causes the et_h.awk and et_c.awk programs from my suse-10.1 system
to be used instead of the ones which are bundled with uClinux. Since
libcom_err on suse-10.1 is adopted to the 2.6 kernel, it tries to use
functions not available on uclinux's 2.4 kernel.
I know I can[color="Red"] edit compile_et to (temporarily) fix the problem, but this
would be only a dirty kludge. What would be the clean way to cause the
correct @datadir@ subtitution to be used?
这些应该有帮助吧。具体我也不懂。 |
|