Jump to content
XPEnology Community

How can I complie compat-drivers for xpenology?


kyo-3

Recommended Posts

Hey,guys,I have found my Ralink RT5372 Wireless card can't work on Xpenology 4.1 2668 but Ubuntu,And I'm trying to use compat-drivers,When I try to complie it,some errors show:

 

kyo@ubuntu:~/Downloads/compat-drivers-3.8.3-2$ sudo make ARCH=x86_64 CROSS_COMPILE=/home/kyo/Downloads/x86_64-linux-gnu/bin/x86_64-linux-gnu- KLIB=/home/kyo/Downloads/Linux-3.x KLIB_BUILD=/home/kyo/Downloads/linux-3.x
[sudo] password for kyo: 
make -C /home/kyo/Downloads/linux-3.x M=/home/kyo/Downloads/compat-drivers-3.8.3-2 modules
make[1]: Entering directory `/home/kyo/Downloads/linux-3.x'
 CC [M]  /home/kyo/Downloads/compat-drivers-3.8.3-2/compat/compat-3.3.o
In file included from include/linux/security.h:26,
                from include/net/sock.h:53,
                from include/net/xfrm.h:17,
                from /home/kyo/Downloads/compat-drivers-3.8.3-2/compat/compat-3.3.c:16:
include/linux/fsnotify.h: In function 'SYNO_ArchiveModify':
include/linux/fsnotify.h:40: error: 'struct inode' has no member named 'i_syno_mutex'
include/linux/fsnotify.h:41: error: 'struct inode' has no member named 'i_mode2'
include/linux/fsnotify.h:41: error: 'ALL_SYNO_ARCHIVE' undeclared (first use in this function)
include/linux/fsnotify.h:41: error: (Each undeclared identifier is reported only once
include/linux/fsnotify.h:41: error: for each function it appears in.)
include/linux/fsnotify.h:42: error: 'struct inode' has no member named 'i_syno_mutex'
include/linux/fsnotify.h:46: error: 'struct inode' has no member named 'i_archive_version'
include/linux/fsnotify.h:47: error: 'struct super_block' has no member named 's_archive_version'
include/linux/fsnotify.h:49: error: 'struct inode' has no member named 'i_archive_version'
include/linux/fsnotify.h:50: error: 'const struct inode_operations' has no member named 'synosetxattr'
include/linux/fsnotify.h:55: error: 'const struct inode_operations' has no member named 'synosetxattr'
make[3]: *** [/home/kyo/Downloads/compat-drivers-3.8.3-2/compat/compat-3.3.o] Error 1
make[2]: *** [/home/kyo/Downloads/compat-drivers-3.8.3-2/compat] Error 2
make[1]: *** [_module_/home/kyo/Downloads/compat-drivers-3.8.3-2] Error 2
make[1]: Leaving directory `/home/kyo/Downloads/linux-3.x'
make: *** [modules] Error 2

I found the members named in fs.h

 

There's no error when compling the Andy928's kernel,can somebody help?Thanks

Link to comment
Share on other sites

×
×
  • Create New...