Public bug reported: Binary package hint: basilisk2
Package: basilisk2 0.9.20070407-2 Description: Ubuntu 7.10 Release: 7.10 Kernel: Linux artoo 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux Recommended Priority: very, very low Trying to get ethernet emulation in BasiliskII to work. Got the following errors when trying to build kernel module sheep_net.c from /usr/share/doc/basilisk2/examples/NetDriver: make -C /lib/modules/2.6.22-14-generic/build M=$PWD modules make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic' CC [M] /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.o /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:22:26: error: linux/config.h: No such file or directory /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:29:31: error: linux/modversions.h: No such file or directory /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c: In function ‘demasquerade’: /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:283: error: ‘struct sk_buff’ has no member named ‘mac’ /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c: In function ‘masquerade’: /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:314: error: ‘struct sk_buff’ has no member named ‘mac’ /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c: In function ‘sheep_net_write’: /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:400: error: ‘struct sk_buff’ has no member named ‘nh’ /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:400: error: ‘struct sk_buff’ has no member named ‘h’ /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:401: error: ‘struct sk_buff’ has no member named ‘mac’ /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c: In function ‘sheep_net_ioctl’: /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:507: warning: passing argument 3 of ‘sk_alloc’ makes pointer from integer without a cast /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:507: warning: passing argument 4 of ‘sk_alloc’ makes integer from pointer without a cast /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:517: warning: assignment from incompatible pointer type /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c: In function ‘sheep_net_receiver’: /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:635: error: ‘struct sk_buff’ has no member named ‘h’ /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:635: error: ‘struct sk_buff’ has no member named ‘h’ /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:635: error: ‘struct sk_buff’ has no member named ‘h’ /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:635: error: ‘struct sk_buff’ has no member named ‘h’ /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:635: error: ‘struct sk_buff’ has no member named ‘h’ /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:635: error: ‘struct sk_buff’ has no member named ‘h’ /usr/share/doc/basilisk2/examples/NetDriver/sheep_net.c:648: error: ‘struct sk_buff’ has no member named ‘mac’ make[2]: *** [/usr/share/doc/basilisk2/examples/NetDriver/sheep_net.o] Error 1 make[1]: *** [_module_/usr/share/doc/basilisk2/examples/NetDriver] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic' make: *** [sheep_net.ko] Error 2 Apparantly, this is caused by changes in the kernel's module and network device interfaces. Possible solution is to 1) change references from <linux/config.h> to <linux/autoconf.h>, 2) comment out references to <linux/modversions.h> and MODVERSIONS macro, and 3) updating code that manipulates the skb data structures to the new network device interface (beyond my ability). Alternatively, there's a Basilisk II JIT project at http://gwenole.beauchesne.info/projects/basilisk2/ that seems to have superceded the original project from http://basilisk.cebix.net/. Neither project seems active, but the JIT project is more recent (2006 vs 2001). The JIT project borrowed the slirp code from the QEMU project (who got it from the original SLiRP project, I expect). This gives the emulator a user mode networking capability, requireing no custom kernel modules and no administrative privilege to activate. Updating to the JIT project would solve this networking problem plus offer better performance. ProblemType: Bug Architecture: i386 Date: Wed Apr 2 11:56:10 2008 DistroRelease: Ubuntu 7.10 Uname: Linux artoo 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux ** Affects: basilisk2 (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug -- BasiliskII has no networking because NetDriver 'sheet_net.c' doesn't compile on Gutsy/kernel 2.6.22 https://bugs.launchpad.net/bugs/210876 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs