{"action":"opened","issue":{"url":"https://api.github.com/repos/OpenAoE/aoe/issues/1","labels_url":"https://api.github.com/repos/OpenAoE/aoe/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/OpenAoE/aoe/issues/1/comments","events_url":"https://api.github.com/repos/OpenAoE/aoe/issues/1/events","html_url":"https://github.com/OpenAoE/aoe/issues/1","id":88512225,"number":1,"title":"make error on ubuntu 14.04.02 LTS","user":{"login":"lidaof","id":102806,"avatar_url":"https://avatars.githubusercontent.com/u/102806?v=3","gravatar_id":"","url":"https://api.github.com/users/lidaof","html_url":"https://github.com/lidaof","followers_url":"https://api.github.com/users/lidaof/followers","following_url":"https://api.github.com/users/lidaof/following{/other_user}","gists_url":"https://api.github.com/users/lidaof/gists{/gist_id}","starred_url":"https://api.github.com/users/lidaof/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lidaof/subscriptions","organizations_url":"https://api.github.com/users/lidaof/orgs","repos_url":"https://api.github.com/users/lidaof/repos","events_url":"https://api.github.com/users/lidaof/events{/privacy}","received_events_url":"https://api.github.com/users/lidaof/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-15T19:05:37Z","updated_at":"2015-06-15T19:05:37Z","closed_at":null,"body":"Dear aoe developer, \r\n\r\nthanks for maintaining this awesome tool.\r\nI tried to compile the driver package on ubuntu 14.04.02, but get an error, please see following:\r\n\r\n<pre>\r\ndl@cluster:~$ wget https://github.com/OpenAoE/aoe/archive/aoe6-85.zip\r\ndl@cluster:~$ sudo apt-get install build-essential linux-headers-`uname -r`\r\nReading package lists... Done\r\nBuilding dependency tree       \r\nReading state information... Done\r\nlinux-headers-3.16.0-30-generic is already the newest version.\r\nlinux-headers-3.16.0-30-generic set to manually installed.\r\nThe following extra packages will be installed:\r\n  binutils cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc gcc-4.8\r\n  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl\r\n  libasan0 libatomic1 libc-dev-bin libc6 libc6-dev libcloog-isl4 libdpkg-perl\r\n  libfakeroot libfile-fcntllock-perl libgcc-4.8-dev libgmp10 libgomp1 libisl10\r\n  libitm1 libmpc3 libmpfr4 libquadmath0 libstdc++-4.8-dev libtsan0\r\n  linux-libc-dev make manpages-dev\r\nSuggested packages:\r\n  binutils-doc cpp-doc gcc-4.8-locales debian-keyring g++-multilib\r\n  g++-4.8-multilib gcc-4.8-doc libstdc++6-4.8-dbg gcc-multilib autoconf\r\n  automake1.9 libtool flex bison gdb gcc-doc gcc-4.8-multilib libgcc1-dbg\r\n  libgomp1-dbg libitm1-dbg libatomic1-dbg libasan0-dbg libtsan0-dbg\r\n  libbacktrace1-dbg libquadmath0-dbg binutils-gold glibc-doc libstdc++-4.8-doc\r\n  make-doc\r\nThe following NEW packages will be installed:\r\n  binutils build-essential cpp cpp-4.8 dpkg-dev fakeroot g++ g++-4.8 gcc\r\n  gcc-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl\r\n  libalgorithm-merge-perl libasan0 libatomic1 libc-dev-bin libc6-dev\r\n  libcloog-isl4 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-4.8-dev\r\n  libgmp10 libgomp1 libisl10 libitm1 libmpc3 libmpfr4 libquadmath0\r\n  libstdc++-4.8-dev libtsan0 linux-libc-dev make manpages-dev\r\nThe following packages will be upgraded:\r\n  libc6\r\n1 upgraded, 34 newly installed, 0 to remove and 84 not upgraded.\r\nNeed to get 33.1 MB of archives.\r\nAfter this operation, 105 MB of additional disk space will be used.\r\nDo you want to continue? [Y/n] y\r\n\r\ndl@cluster:~$ sudo rm -rf /dev/etherd\r\ndl@cluster:~$ sudo su\r\nroot@cluster:/home/dl# find /lib/modules/`uname -r` -name aoe.ko -print0 | xargs -0 rm\r\nroot@cluster:/home/dl# cd\r\nroot@cluster:~# \r\nroot@cluster:~# \r\nroot@cluster:~# rmmod aoe\r\nrmmod: ERROR: Module aoe is not currently loaded\r\nroot@cluster:~# cd /home/dl/\r\nroot@cluster:/home/dl# ls\r\naoe6-85.zip\r\n\r\nroot@cluster:/home/dl# unzip aoe6-85.zip \r\nroot@cluster:/home/dl# ls\r\naoe6-85.zip  aoe-aoe6-85\r\nroot@cluster:/home/dl# cd aoe-aoe6-85/\r\nroot@cluster:/home/dl/aoe-aoe6-85# ls\r\naoetools-36  conf  COPYING  EtherDrive-2.6-HOWTO.sgml  EtherDrive-2.6-HOWTO.txt  linux  mak  Makefile  NEWS  pkg  README\r\nroot@cluster:/home/dl/aoe-aoe6-85# make\r\ncd aoetools-36 && make \r\nmake[1]: Entering directory `/home/dl/aoe-aoe6-85/aoetools-36'\r\n+ sed -e s!@devdir@!/dev/etherd!g -e s!@npershelf@!16!g aoe-discover.in\r\n+ sed -e s!@devdir@!/dev/etherd!g -e s!@npershelf@!16!g aoe-interfaces.in\r\n+ sed -e s!@devdir@!/dev/etherd!g -e s!@npershelf@!16!g aoe-mkshelf.in\r\n+ sed -e s!@devdir@!/dev/etherd!g -e s!@npershelf@!16!g aoe-revalidate.in\r\n+ sed -e s!@devdir@!/dev/etherd!g -e s!@npershelf@!16!g aoe-flush.in\r\n+ sed -e s!@devdir@!/dev/etherd!g -e s!@npershelf@!16!g aoe-stat.in\r\ncc -Wall -O -g -o aoeping.o -c aoeping.c\r\naoeping.c: In function ‘smart’:\r\naoeping.c:331:6: warning: variable ‘n’ set but not used [-Wunused-but-set-variable]\r\n  int n;\r\n      ^\r\ncc -Wall -O -g -o linux.o -c linux.c\r\ncc -Wall -O -g -o aoeping aoeping.o linux.o\r\ncc -Wall -O -g -o aoecfg.o -c aoecfg.c\r\ncc -Wall -O -g -o aoecfg aoecfg.o linux.o\r\ncc -Wall -O -g -o aoe-sancheck.o -c aoe-sancheck.c\r\naoe-sancheck.c: In function ‘jinput’:\r\naoe-sancheck.c:277:7: warning: variable ‘aa’ set but not used [-Wunused-but-set-variable]\r\n  Ata *aa;\r\n       ^\r\naoe-sancheck.c: In function ‘sancheck’:\r\naoe-sancheck.c:614:11: warning: variable ‘mtuflag’ set but not used [-Wunused-but-set-variable]\r\n  int mtu, mtuflag;\r\n           ^\r\ncc -Wall -O -g -o aoe-sancheck aoe-sancheck.o -lpthread\r\nmake[1]: Leaving directory `/home/dl/aoe-aoe6-85/aoetools-36'\r\nsh -c \"cd linux/drivers/block/aoe && rm -f *.o *.ko core\"\r\nensuring compatibility ... 1 \r\npatching file linux/drivers/block/aoe/disk_attr.h\r\n2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 \r\npatching file linux/drivers/block/aoe/aoe.h\r\nHunk #1 succeeded at 267 (offset 1 line).\r\n39 40 ok\r\necho > conf/done\r\nmake -C /lib/modules/3.16.0-30-generic/build CONFIG_ATA_OVER_ETH=m KDIR=/lib/modules/3.16.0-30-generic/build SUBDIRS=\"/home/dl/aoe-aoe6-85/linux/drivers/block/aoe\" EXTRA_CFLAGS=\"-DAOE_PARTITIONS=16 -DDEVSUBDIR='\\\"etherd\\\"' -DAOE_DYNDEVS=1\" modules\r\nmake[1]: Entering directory `/usr/src/linux-headers-3.16.0-30-generic'\r\n  CC [M]  /home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.o\r\nIn file included from include/linux/blkdev.h:18:0,\r\n                 from /home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:8:\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c: In function ‘aoe_bio_pagedec’:\r\ninclude/linux/bio.h:246:12: error: incompatible types when assigning to type ‘int’ from type ‘struct bvec_iter’\r\n  for (iter = (start);      \\\r\n            ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\ninclude/linux/bio.h:247:13: error: request for member ‘bi_size’ in something not a structure or union\r\n       (iter).bi_size &&      \\\r\n             ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\ninclude/linux/bio.h:64:53: error: request for member ‘bi_idx’ in something not a structure or union\r\n #define __bvec_iter_bvec(bvec, iter) (&(bvec)[(iter).bi_idx])\r\n                                                     ^\r\ninclude/linux/bio.h:67:3: note: in expansion of macro ‘__bvec_iter_bvec’\r\n  (__bvec_iter_bvec((bvec), (iter))->bv_page)\r\n   ^\r\ninclude/linux/bio.h:78:13: note: in expansion of macro ‘bvec_iter_page’\r\n  .bv_page = bvec_iter_page((bvec), (iter)), \\\r\n             ^\r\ninclude/linux/bio.h:84:2: note: in expansion of macro ‘bvec_iter_bvec’\r\n  bvec_iter_bvec((bio)->bi_io_vec, (iter))\r\n  ^\r\ninclude/linux/bio.h:248:11: note: in expansion of macro ‘bio_iter_iovec’\r\n   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \\\r\n           ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\nIn file included from include/linux/sched.h:17:0,\r\n                 from include/linux/blkdev.h:4,\r\n                 from /home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:8:\r\ninclude/linux/bio.h:70:12: error: request for member ‘bi_size’ in something not a structure or union\r\n  min((iter).bi_size,     \\\r\n            ^\r\ninclude/linux/kernel.h:711:9: note: in definition of macro ‘min’\r\n  typeof(x) _min1 = (x);   \\\r\n         ^\r\ninclude/linux/bio.h:79:13: note: in expansion of macro ‘bvec_iter_len’\r\n  .bv_len  = bvec_iter_len((bvec), (iter)), \\\r\n             ^\r\ninclude/linux/bio.h:84:2: note: in expansion of macro ‘bvec_iter_bvec’\r\n  bvec_iter_bvec((bio)->bi_io_vec, (iter))\r\n  ^\r\ninclude/linux/bio.h:248:11: note: in expansion of macro ‘bio_iter_iovec’\r\n   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \\\r\n           ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\ninclude/linux/bio.h:70:12: error: request for member ‘bi_size’ in something not a structure or union\r\n  min((iter).bi_size,     \\\r\n            ^\r\ninclude/linux/kernel.h:711:21: note: in definition of macro ‘min’\r\n  typeof(x) _min1 = (x);   \\\r\n                     ^\r\ninclude/linux/bio.h:79:13: note: in expansion of macro ‘bvec_iter_len’\r\n  .bv_len  = bvec_iter_len((bvec), (iter)), \\\r\n             ^\r\ninclude/linux/bio.h:84:2: note: in expansion of macro ‘bvec_iter_bvec’\r\n  bvec_iter_bvec((bio)->bi_io_vec, (iter))\r\n  ^\r\ninclude/linux/bio.h:248:11: note: in expansion of macro ‘bio_iter_iovec’\r\n   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \\\r\n           ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\ninclude/linux/bio.h:64:53: error: request for member ‘bi_idx’ in something not a structure or union\r\n #define __bvec_iter_bvec(bvec, iter) (&(bvec)[(iter).bi_idx])\r\n                                                     ^\r\ninclude/linux/kernel.h:712:9: note: in definition of macro ‘min’\r\n  typeof(y) _min2 = (y);   \\\r\n         ^\r\ninclude/linux/bio.h:71:6: note: in expansion of macro ‘__bvec_iter_bvec’\r\n      __bvec_iter_bvec((bvec), (iter))->bv_len - (iter).bi_bvec_done)\r\n      ^\r\ninclude/linux/bio.h:79:13: note: in expansion of macro ‘bvec_iter_len’\r\n  .bv_len  = bvec_iter_len((bvec), (iter)), \\\r\n             ^\r\ninclude/linux/bio.h:84:2: note: in expansion of macro ‘bvec_iter_bvec’\r\n  bvec_iter_bvec((bio)->bi_io_vec, (iter))\r\n  ^\r\ninclude/linux/bio.h:248:11: note: in expansion of macro ‘bio_iter_iovec’\r\n   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \\\r\n           ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\ninclude/linux/bio.h:71:55: error: request for member ‘bi_bvec_done’ in something not a structure or union\r\n      __bvec_iter_bvec((bvec), (iter))->bv_len - (iter).bi_bvec_done)\r\n                                                       ^\r\ninclude/linux/kernel.h:712:9: note: in definition of macro ‘min’\r\n  typeof(y) _min2 = (y);   \\\r\n         ^\r\ninclude/linux/bio.h:79:13: note: in expansion of macro ‘bvec_iter_len’\r\n  .bv_len  = bvec_iter_len((bvec), (iter)), \\\r\n             ^\r\ninclude/linux/bio.h:84:2: note: in expansion of macro ‘bvec_iter_bvec’\r\n  bvec_iter_bvec((bio)->bi_io_vec, (iter))\r\n  ^\r\ninclude/linux/bio.h:248:11: note: in expansion of macro ‘bio_iter_iovec’\r\n   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \\\r\n           ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\ninclude/linux/bio.h:64:53: error: request for member ‘bi_idx’ in something not a structure or union\r\n #define __bvec_iter_bvec(bvec, iter) (&(bvec)[(iter).bi_idx])\r\n                                                     ^\r\ninclude/linux/kernel.h:712:21: note: in definition of macro ‘min’\r\n  typeof(y) _min2 = (y);   \\\r\n                     ^\r\ninclude/linux/bio.h:71:6: note: in expansion of macro ‘__bvec_iter_bvec’\r\n      __bvec_iter_bvec((bvec), (iter))->bv_len - (iter).bi_bvec_done)\r\n      ^\r\ninclude/linux/bio.h:79:13: note: in expansion of macro ‘bvec_iter_len’\r\n  .bv_len  = bvec_iter_len((bvec), (iter)), \\\r\n             ^\r\ninclude/linux/bio.h:84:2: note: in expansion of macro ‘bvec_iter_bvec’\r\n  bvec_iter_bvec((bio)->bi_io_vec, (iter))\r\n  ^\r\ninclude/linux/bio.h:248:11: note: in expansion of macro ‘bio_iter_iovec’\r\n   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \\\r\n           ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\ninclude/linux/bio.h:71:55: error: request for member ‘bi_bvec_done’ in something not a structure or union\r\n      __bvec_iter_bvec((bvec), (iter))->bv_len - (iter).bi_bvec_done)\r\n                                                       ^\r\ninclude/linux/kernel.h:712:21: note: in definition of macro ‘min’\r\n  typeof(y) _min2 = (y);   \\\r\n                     ^\r\ninclude/linux/bio.h:79:13: note: in expansion of macro ‘bvec_iter_len’\r\n  .bv_len  = bvec_iter_len((bvec), (iter)), \\\r\n             ^\r\ninclude/linux/bio.h:84:2: note: in expansion of macro ‘bvec_iter_bvec’\r\n  bvec_iter_bvec((bio)->bi_io_vec, (iter))\r\n  ^\r\ninclude/linux/bio.h:248:11: note: in expansion of macro ‘bio_iter_iovec’\r\n   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \\\r\n           ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\nIn file included from include/linux/blkdev.h:18:0,\r\n                 from /home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:8:\r\ninclude/linux/bio.h:64:53: error: request for member ‘bi_idx’ in something not a structure or union\r\n #define __bvec_iter_bvec(bvec, iter) (&(bvec)[(iter).bi_idx])\r\n                                                     ^\r\ninclude/linux/bio.h:74:3: note: in expansion of macro ‘__bvec_iter_bvec’\r\n  (__bvec_iter_bvec((bvec), (iter))->bv_offset + (iter).bi_bvec_done)\r\n   ^\r\ninclude/linux/bio.h:80:15: note: in expansion of macro ‘bvec_iter_offset’\r\n  .bv_offset = bvec_iter_offset((bvec), (iter)), \\\r\n               ^\r\ninclude/linux/bio.h:84:2: note: in expansion of macro ‘bvec_iter_bvec’\r\n  bvec_iter_bvec((bio)->bi_io_vec, (iter))\r\n  ^\r\ninclude/linux/bio.h:248:11: note: in expansion of macro ‘bio_iter_iovec’\r\n   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \\\r\n           ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\ninclude/linux/bio.h:74:55: error: request for member ‘bi_bvec_done’ in something not a structure or union\r\n  (__bvec_iter_bvec((bvec), (iter))->bv_offset + (iter).bi_bvec_done)\r\n                                                       ^\r\ninclude/linux/bio.h:80:15: note: in expansion of macro ‘bvec_iter_offset’\r\n  .bv_offset = bvec_iter_offset((bvec), (iter)), \\\r\n               ^\r\ninclude/linux/bio.h:84:2: note: in expansion of macro ‘bvec_iter_bvec’\r\n  bvec_iter_bvec((bio)->bi_io_vec, (iter))\r\n  ^\r\ninclude/linux/bio.h:248:11: note: in expansion of macro ‘bio_iter_iovec’\r\n   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \\\r\n           ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\ninclude/linux/bio.h:248:41: warning: left-hand operand of comma expression has no effect [-Wunused-value]\r\n   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \\\r\n                                         ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\ninclude/linux/bio.h:249:45: error: request for member ‘bv_len’ in something not a structure or union\r\n       bio_advance_iter((bio), &(iter), (bvl).bv_len))\r\n                                             ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\ninclude/linux/bio.h:77:10: warning: passing argument 2 of ‘bio_advance_iter’ from incompatible pointer type [enabled by default]\r\n ((struct bio_vec) {      \\\r\n          ^\r\ninclude/linux/bio.h:84:2: note: in expansion of macro ‘bvec_iter_bvec’\r\n  bvec_iter_bvec((bio)->bi_io_vec, (iter))\r\n  ^\r\ninclude/linux/bio.h:248:11: note: in expansion of macro ‘bio_iter_iovec’\r\n   ((bvl = bio_iter_iovec((bio), (iter))), 1);  \\\r\n           ^\r\ninclude/linux/bio.h:252:2: note: in expansion of macro ‘__bio_for_each_segment’\r\n  __bio_for_each_segment(bvl, bio, iter, (bio)->bi_iter)\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:37:2: note: in expansion of macro ‘bio_for_each_segment’\r\n  bio_for_each_segment(bv, bio, i) {\r\n  ^\r\ninclude/linux/bio.h:234:20: note: expected ‘struct bvec_iter *’ but argument is of type ‘int *’\r\n static inline void bio_advance_iter(struct bio *bio, struct bvec_iter *iter,\r\n                    ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c: At top level:\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:352:2: warning: initialization from incompatible pointer type [enabled by default]\r\n  .release = aoeblk_release,\r\n  ^\r\n/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.c:352:2: warning: (near initialization for ‘aoe_bdops.release’) [enabled by default]\r\nmake[2]: *** [/home/dl/aoe-aoe6-85/linux/drivers/block/aoe/aoeblk.o] Error 1\r\nmake[1]: *** [_module_/home/dl/aoe-aoe6-85/linux/drivers/block/aoe] Error 2\r\nmake[1]: Leaving directory `/usr/src/linux-headers-3.16.0-30-generic'\r\nmake: *** [linux/drivers/block/aoe/aoe.ko] Error 2\r\n</pre>"}}