Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2007 12:20:54 -0700 (PDT)
From:      Arne "Wörner" <arne_woerner@yahoo.com>
To:        deniswork <deniswork@uzvik.kiev.ua>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Re[4]: graid5 compilation problem
Message-ID:  <595427.43219.qm@web30304.mail.mud.yahoo.com>
In-Reply-To: <1679825767.20070503221804@uzvik.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
--- deniswork@uzvik.kiev.ua wrote:
> I feel it didn't compiled:
> [root@82 /lib/geom]# cd /usr/src/sbin/geom/class/raid5
> [root@82 /usr/src/sbin/geom/class/raid5]#  make && make install
> Warning: Object directory not changed from original
> /usr/src/sbin/geom/class/raid5
> [root@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@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 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?595427.43219.qm>