On 03/12/14 01:52, Andy Ray wrote: > /home/andyman/dev/github/forks/rumpkernel/src-netbsd-arm/sys/rump/dev/lib/libcgd/../../../../dev/cgd.c: > In function 'cgd_modcmd': > /home/andyman/dev/github/forks/rumpkernel/src-netbsd-arm/sys/rump/dev/lib/libcgd/../../../../dev/cgd.c:1028:7: > error: passing argument 3 of 'devsw_attach' from incompatible pointer > type [-Werror] > &cgd_cdevsw, &cmajor); > ^ > In file included from > /home/andyman/dev/github/forks/rumpkernel/src-netbsd-arm/sys/rump/dev/lib/libcgd/../../../../dev/cgd.c:52:0: > /home/andyman/dev/github/forks/rumpkernel/src-netbsd-arm/sys/rump/dev/lib/libcgd/../../../../sys/conf.h:104:5: > note: expected '__devmajor_t *' but argument is of type 'int *' > int devsw_attach(const char *, const struct bdevsw *, devmajor_t *, > ^ > /home/andyman/dev/github/forks/rumpkernel/src-netbsd-arm/sys/rump/dev/lib/libcgd/../../../../dev/cgd.c:1028:7: > error: passing argument 5 of 'devsw_attach' from incompatible pointer > type [-Werror] > &cgd_cdevsw, &cmajor); > ^ > In file included from > /home/andyman/dev/github/forks/rumpkernel/src-netbsd-arm/sys/rump/dev/lib/libcgd/../../../../dev/cgd.c:52:0: > /home/andyman/dev/github/forks/rumpkernel/src-netbsd-arm/sys/rump/dev/lib/libcgd/../../../../sys/conf.h:104:5: > note: expected '__devmajor_t *' but argument is of type 'int *' > int devsw_attach(const char *, const struct bdevsw *, devmajor_t *, > ^ > cc1: all warnings being treated as errors > *** [cgd.o] Error code 1
That was certainly causing a bit of a headscratch for a while, but then I noticed that I was looking at a newer version of sources, where that particular mistake had already been fixed in the NetBSD tree a few weeks ago by Justin. Justin, can you pull that up to repo.rumpkernel.org/src-netbsd along with any other fixes you might have done in the same domain of errors? (I was planning to update src-netbsd to the latest NetBSD HEAD today, but then I got distracted by Ted Nelson's lectures on youtube ... maybe tomorrow ...) ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ rumpkernel-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rumpkernel-users
