Re: First steps towards importing gvirstor into -current
- From: Ivan Voras <ivoras@xxxxxx>
- Date: Fri, 02 Feb 2007 14:04:23 +0100
Pieter de Goeje wrote:
Hi, I tried the beta3a version from the wiki on an amd64 -CURRENT machine.
I made some changes (attached) to g_virstor.c and geom_virstor.c to let them
compile cleanly on AMD64. Both files contained instances of some printf
variant with format "%u" while the parameter was a size_t, so I changed the
format to "%zu".
Also, I needed to add -fPIC to the gcc command line to build geom_virstor.so.
For some reason, it wasnt able to find "path.h" so I included that one in the
search path.
Yes, I forgot to mention this - no testing was done on anything but i386.
Thanks for the patches!
After successfully building gvirstor (and loading it), I tried to use it:
# ./gvirstor label -s 10000 test /dev/ad0s3b
Assertion failed: (G_OPT_TYPE(opt) != 0), function parse_arguments,
file /usr/src/sbin/geom/core/geom.c, line 272.
Abort (core dumped)
Basically I'm stuck here.
Interesting. It seems that the geom main() couldn't parse command line
arguments. I don't know what to make of it.
Regards,
Pieter de Goeje
PS.
How do I download the latest sources from the p4 repository?
They are the same as in the tarball. I don't really know if you can
access p4 by an anonymous account.
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: First steps towards importing gvirstor into -current
- From: Pawel Jakub Dawidek
- Re: First steps towards importing gvirstor into -current
- References:
- First steps towards importing gvirstor into -current
- From: Ivan Voras
- Re: First steps towards importing gvirstor into -current
- From: Pieter de Goeje
- First steps towards importing gvirstor into -current
- Prev by Date: Re: cross release mergemaster question
- Next by Date: Re: cross release mergemaster question
- Previous by thread: Re: First steps towards importing gvirstor into -current
- Next by thread: Re: First steps towards importing gvirstor into -current
- Index(es):
Relevant Pages
|
|