mdadm -git compile error
am 01.07.2011 10:26:39 von mathias.burenMorning,
Using the git of today I see this:
$ make
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
Assemble.o Assemble.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
Build.o Build.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
Create.o Create.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
Detail.o Detail.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
Examine.o Examine.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
Grow.o Grow.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
Monitor.o Monitor.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
dlink.o dlink.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
Kill.o Kill.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
Query.o Query.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
Incremental.o Incremental.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
mdopen.o mdopen.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
super0.o super0.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
super1.o super1.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
super-ddf.o super-ddf.c
gcc -Wall -Werror -Wstrict-prototypes -Wextra -Wno-unused-parameter
-ggdb -DSendmail=3D\""/usr/sbin/sendmail -t"\"
-DCONFFILE=3D\"/etc/mdadm.conf\" -DCONFFILE2=3D\"/etc/mdadm/mdadm.conf\=
"
-DMAP_DIR=3D\"/dev/.mdadm\" -DMAP_FILE=3D\"map\"
-DMDMON_DIR=3D\"/dev/.mdadm\"
-DFAILED_SLOTS_DIR=3D\"/dev/.mdadm/failed-slots\" -DUSE_PTHREADS -c -=
o
super-intel.o super-intel.c
super-intel.c: In function â=98validate_geometry_imsmâ=99:
super-intel.c:5208:8: error: passing argument 6 of
â=98validate_geometry_imsm_containerâ=99 makes pointer from i=
nteger without
a cast [-Werror]
super-intel.c:4715:12: note: expected â=98char *â=99 but argu=
ment is of type
â=98long long unsigned intâ=99
super-intel.c:5208:8: error: passing argument 7 of
â=98validate_geometry_imsm_containerâ=99 from incompatible po=
inter type
[-Werror]
super-intel.c:4715:12: note: expected â=98long long unsigned int *=
â=99 but
argument is of type â=98char *â=99
super-intel.c:5208:8: error: passing argument 8 of
â=98validate_geometry_imsm_containerâ=99 makes integer from p=
ointer without
a cast [-Werror]
super-intel.c:4715:12: note: expected â=98intâ=99 but argumen=
t is of type
â=98long long unsigned int *â=99
super-intel.c:5208:8: error: too many arguments to function
â=98validate_geometry_imsm_containerâ=99
super-intel.c:4715:12: note: declared here
cc1: all warnings being treated as errors
make: *** [super-intel.o] Error 1
Regards,
/M
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" i=
n
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html