graid5 compilation problem
Arne Wörner
arne_woerner at yahoo.com
Thu May 3 19:20:55 UTC 2007
--- deniswork at uzvik.kiev.ua wrote:
> I feel it didn't compiled:
> [root at 82 /lib/geom]# cd /usr/src/sbin/geom/class/raid5
> [root at 82 /usr/src/sbin/geom/class/raid5]# make && make install
> Warning: Object directory not changed from original
> /usr/src/sbin/geom/class/raid5
> [root at 82 /usr/src/sbin/geom/class/raid5]# ls /lib/geom/
> geom_concat.so geom_label.so geom_nop.so geom_shsec.so
> geom_eli.so geom_mirror.so geom_raid3.so geom_stripe.so
> [root at 82 /usr/src/sbin/geom/class/raid5]#
>
Hmm...
What is in /usr/src/sbin/geom/class/raid5 ?
Maybe it helps, when u do a "make clean" first?
Then it should look like this:
neo# cd /usr/src/sbin/geom/class/raid5
neo# make clean
rm -f graid5.8.gz graid5.8.cat.gz
rm -f geom_raid5.So subr.So geom_raid5.so subr.so geom_raid5.So.tmp subr.So.tmp
rm -f geom_raid5.so
neo# make depend
neo# make
Warning: Object directory not changed from original
/usr/src/sbin/geom/class/raid5
cc -fpic -DPIC -O2 -fno-strict-aliasing -pipe
-I/usr/src/sbin/geom/class/raid5/../.. -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -c geom_raid5.c -o geom_raid5.So
make installcc -fpic -DPIC -O2 -fno-strict-aliasing -pipe
-I/usr/src/sbin/geom/class/raid5/../.. -Wsystem-headers -Werror -Wall
-Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes
-Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings
-Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline
-Wnested-externs -Wredundant-decls -c
/usr/src/sbin/geom/class/raid5/../../misc/subr.c -o subr.So
building shared library geom_raid5.so
gzip -cn graid5.8 > graid5.8.gz
neo# make install
install -s -o root -g wheel -m 444 geom_raid5.so /lib/geom
install -o root -g wheel -m 444 graid5.8.gz /usr/share/man/man8
/sbin/graid5 -> /sbin/geom
neo# ls
.depend geom_raid5.So geom_raid5.so graid5.8.gz
Makefile geom_raid5.c graid5.8 subr.So
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the freebsd-geom
mailing list