Code Monkey home page Code Monkey logo

ncpfs-module's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

hundertzwei

ncpfs-module's Issues

wont compile on kernel 6.6

>>> Emerging (10 of 14) net-fs/ncpfs-modules-9999::linamh
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     6.6.0-xanmod1-dist
 * Checking for suitable kernel configuration options ...                                                                                                                                                  [ ok ]
>>> Unpacking source...
 * Repository id: EnzephaloN_ncpfs-module.git
 * To override fetched repository properties, use:
 *   EGIT_OVERRIDE_REPO_ENZEPHALON_NCPFS_MODULE
 *   EGIT_OVERRIDE_BRANCH_ENZEPHALON_NCPFS_MODULE
 *   EGIT_OVERRIDE_COMMIT_ENZEPHALON_NCPFS_MODULE
 *   EGIT_OVERRIDE_COMMIT_DATE_ENZEPHALON_NCPFS_MODULE
 * 
 * Fetching https://github.com/EnzephaloN/ncpfs-module.git ...
git fetch https://github.com/EnzephaloN/ncpfs-module.git +refs/heads/master:refs/heads/master
git symbolic-ref refs/git-r3/net-fs/ncpfs-modules/0/__main__ refs/heads/master
 * Checking out https://github.com/EnzephaloN/ncpfs-module.git to /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 ...
git checkout --quiet master
GIT update -->
   repository:               https://github.com/EnzephaloN/ncpfs-module.git
   at the commit:            11f1407afe4473526d372293454b7bf66c36ada8
>>> Source unpacked in /var/tmp/portage/net-fs/ncpfs-modules-9999/work
>>> Preparing source in /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 ...
ln: failed to create symbolic link 'Module.symvers': File exists
 * Preparing ncpfs module
make -j12 -s HOSTCC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-m elf_x86_64' KDIR=/usr/src/linux M=/var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 all 
/var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c: In function ‘ncp_update_dates’:
/var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c:158:16: error: ‘struct inode’ has no member named ‘i_ctime’; did you mean ‘i_atime’?
  158 |         inode->i_ctime.tv_sec = ncp_date_dos2unix(nwi->creationTime, nwi->creationDate);
      |                ^~~~~~~
      |                i_atime
/var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c:162:16: error: ‘struct inode’ has no member named ‘i_ctime’; did you mean ‘i_atime’?
  162 |         inode->i_ctime.tv_nsec = 0;
      |                ^~~~~~~
      |                i_atime
make[3]: *** [scripts/Makefile.build:243: /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/usr/src/linux-6.6.0-xanmod1-dist/Makefile:2068: /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make: *** [Makefile:49: all] Error 2

Problem with make on linuxmint 21.1 (linux as of 15 march 2023)

make[1]: Entering directory '/usr/src/linux-headers-5.15.0-67-generic'
CC [M] /home/rwdeane/ncpfs-module/dir.o
CC [M] /home/rwdeane/ncpfs-module/file.o
CC [M] /home/rwdeane/ncpfs-module/inode.o
CC [M] /home/rwdeane/ncpfs-module/ioctl.o
CC [M] /home/rwdeane/ncpfs-module/mmap.o
CC [M] /home/rwdeane/ncpfs-module/ncplib_kernel.o
CC [M] /home/rwdeane/ncpfs-module/sock.o
CC [M] /home/rwdeane/ncpfs-module/ncpsign_kernel.o
CC [M] /home/rwdeane/ncpfs-module/getopt.o
CC [M] /home/rwdeane/ncpfs-module/symlink.o
/home/rwdeane/ncpfs-module/symlink.c:44:61: warning: ‘struct folio’ declared inside parameter list will not be visible outside of this definition or declaration
44 | static int ncp_symlink_read_folio(struct file *file, struct folio *folio)
| ^~~~~
/home/rwdeane/ncpfs-module/symlink.c: In function ‘ncp_symlink_read_folio’:
/home/rwdeane/ncpfs-module/symlink.c:46:36: error: invalid use of undefined type ‘struct folio’
46 | struct inode *inode = folio->mapping->host;
| ^~

build problems with 6.8.0

Emerging (1 of 2) net-fs/ncpfs-modules-9999::linamh

  • Fetching files in the background.
  • To view fetch progress, run in another terminal:
  • tail -f /var/log/emerge-fetch.log
  • Determining the location of the kernel source code
  • Found kernel source directory:
  • /usr/src/linux
    
  • Found sources for kernel version:
  • 6.8.0-xanmod1-dist
    
  • Checking for suitable kernel configuration options ... [ ok ]

Unpacking source...

Source unpacked in /var/tmp/portage/net-fs/ncpfs-modules-9999/work
Preparing source in /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 ...
Source prepared.
Configuring source in /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 ...
Source configured.
Compiling source in /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 ...
ln: failed to create symbolic link 'Module.symvers': File exists

  • Preparing ncpfs module
    make -j12 -s HOSTCC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-m elf_x86_64' KDIR=/usr/src/linux M=/var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 all
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:87:6: warning: no previous prototype for ‘new_dentry_update_name_case’ [-Wmissing-prototypes]
    87 | void new_dentry_update_name_case(struct dentry *dentry, const struct qstr *name)
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    In file included from ./include/linux/kernel.h:22,
    from ./include/linux/cpumask.h:10,
    from ./arch/x86/include/asm/paravirt.h:21,
    from ./arch/x86/include/asm/cpuid.h:62,
    from ./arch/x86/include/asm/processor.h:19,
    from ./arch/x86/include/asm/timex.h:5,
    from ./include/linux/timex.h:67,
    from ./include/linux/time32.h:13,
    from ./include/linux/time.h:60,
    from /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:15:
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c: In function ‘ncp_invalidate_dircache_entries’:
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:44: error: ‘struct dentry’ has no member named ‘d_subdirs’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~
    ./include/linux/container_of.h:19:33: note: in definition of macro ‘container_of’
    19 | void *__mptr = (void *)(ptr);
    | ^~~
    ./include/linux/list.h:612:9: note: in expansion of macro ‘list_entry’
    612 | list_entry((ptr)->next, type, member)
    | ^~~~~~~~~~
    ./include/linux/list.h:778:20: note: in expansion of macro ‘list_first_entry’
    778 | for (pos = list_first_entry(head, typeof(pos), member);
    | ^~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    In file included from ./include/linux/init.h:5,
    from ./arch/x86/include/asm/mem_encrypt.h:15,
    from ./include/linux/mem_encrypt.h:17,
    from ./arch/x86/include/asm/processor-flags.h:6,
    from ./arch/x86/include/asm/processor.h:5:
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:44: error: ‘struct dentry’ has no member named ‘d_subdirs’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~
    ./include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
    78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
    | ^~~~
    ./include/linux/container_of.h:20:9: note: in expansion of macro ‘static_assert’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~~~
    ./include/linux/container_of.h:20:23: note: in expansion of macro ‘__same_type’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~
    ./include/linux/list.h:601:9: note: in expansion of macro ‘container_of’
    601 | container_of(ptr, type, member)
    | ^~~~~~~~~~~~
    ./include/linux/list.h:612:9: note: in expansion of macro ‘list_entry’
    612 | list_entry((ptr)->next, type, member)
    | ^~~~~~~~~~
    ./include/linux/list.h:778:20: note: in expansion of macro ‘list_first_entry’
    778 | for (pos = list_first_entry(head, typeof(pos), member);
    | ^~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:57: error: ‘struct dentry’ has no member named ‘d_child’; did you mean ‘d_children’?
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~
    ./include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
    78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
    | ^~~~
    ./include/linux/container_of.h:20:9: note: in expansion of macro ‘static_assert’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~~~
    ./include/linux/container_of.h:20:23: note: in expansion of macro ‘__same_type’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~
    ./include/linux/list.h:601:9: note: in expansion of macro ‘container_of’
    601 | container_of(ptr, type, member)
    | ^~~~~~~~~~~~
    ./include/linux/list.h:612:9: note: in expansion of macro ‘list_entry’
    612 | list_entry((ptr)->next, type, member)
    | ^~~~~~~~~~
    ./include/linux/list.h:778:20: note: in expansion of macro ‘list_first_entry’
    778 | for (pos = list_first_entry(head, typeof(pos), member);
    | ^~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:44: error: ‘struct dentry’ has no member named ‘d_subdirs’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~
    ./include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
    78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
    | ^~~~
    ./include/linux/container_of.h:20:9: note: in expansion of macro ‘static_assert’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~~~
    ./include/linux/container_of.h:21:23: note: in expansion of macro ‘__same_type’
    21 | __same_type(
    (ptr), void),
    | ^~~~~~~~~~~
    ./include/linux/list.h:601:9: note: in expansion of macro ‘container_of’
    601 | container_of(ptr, type, member)
    | ^~~~~~~~~~~~
    ./include/linux/list.h:612:9: note: in expansion of macro ‘list_entry’
    612 | list_entry((ptr)->next, type, member)
    | ^~~~~~~~~~
    ./include/linux/list.h:778:20: note: in expansion of macro ‘list_first_entry’
    778 | for (pos = list_first_entry(head, typeof(pos), member);
    | ^~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    ././include/linux/compiler_types.h:383:27: error: expression in static assertion is not an integer
    383 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ./include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
    78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
    | ^~~~
    ./include/linux/container_of.h:20:9: note: in expansion of macro ‘static_assert’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~~~
    ./include/linux/container_of.h:20:23: note: in expansion of macro ‘__same_type’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~
    ./include/linux/list.h:601:9: note: in expansion of macro ‘container_of’
    601 | container_of(ptr, type, member)
    | ^~~~~~~~~~~~
    ./include/linux/list.h:612:9: note: in expansion of macro ‘list_entry’
    612 | list_entry((ptr)->next, type, member)
    | ^~~~~~~~~~
    ./include/linux/list.h:778:20: note: in expansion of macro ‘list_first_entry’
    778 | for (pos = list_first_entry(head, typeof(pos), member);
    | ^~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    In file included from ./include/uapi/linux/posix_types.h:5,
    from ./include/uapi/linux/types.h:14,
    from ./include/linux/types.h:6,
    from ./include/uapi/linux/sysinfo.h:5,
    from ./include/uapi/linux/kernel.h:5,
    from ./include/linux/cache.h:5,
    from ./include/linux/time.h:5:
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:57: error: ‘struct dentry’ has no member named ‘d_child’; did you mean ‘d_children’?
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~
    ./include/linux/stddef.h:16:58: note: in definition of macro ‘offsetof’
    16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER)
    | ^~~~~~
    ./include/linux/list.h:601:9: note: in expansion of macro ‘container_of’
    601 | container_of(ptr, type, member)
    | ^~~~~~~~~~~~
    ./include/linux/list.h:612:9: note: in expansion of macro ‘list_entry’
    612 | list_entry((ptr)->next, type, member)
    | ^~~~~~~~~~
    ./include/linux/list.h:778:20: note: in expansion of macro ‘list_first_entry’
    778 | for (pos = list_first_entry(head, typeof(pos), member);
    | ^~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    In file included from ./include/linux/smp.h:12,
    from ./include/linux/lockdep.h:14,
    from ./include/linux/spinlock.h:63,
    from ./include/linux/vmalloc.h:5,
    from /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:19:
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:57: error: ‘struct dentry’ has no member named ‘d_child’; did you mean ‘d_children’?
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~
    ./include/linux/list.h:769:16: note: in definition of macro ‘list_entry_is_head’
    769 | (&pos->member == (head))
    | ^~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:44: error: ‘struct dentry’ has no member named ‘d_subdirs’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~
    ./include/linux/list.h:769:27: note: in definition of macro ‘list_entry_is_head’
    769 | (&pos->member == (head))
    | ^~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:57: error: ‘struct dentry’ has no member named ‘d_child’; did you mean ‘d_children’?
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~
    ./include/linux/container_of.h:19:33: note: in definition of macro ‘container_of’
    19 | void __mptr = (void )(ptr);
    | ^~~
    ./include/linux/list.h:645:9: note: in expansion of macro ‘list_entry’
    645 | list_entry((pos)->member.next, typeof(
    (pos)), member)
    | ^~~~~~~~~~
    ./include/linux/list.h:780:20: note: in expansion of macro ‘list_next_entry’
    780 | pos = list_next_entry(pos, member))
    | ^~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:57: error: ‘struct dentry’ has no member named ‘d_child’; did you mean ‘d_children’?
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~
    ./include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
    78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
    | ^~~~
    ./include/linux/container_of.h:20:9: note: in expansion of macro ‘static_assert’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~~~
    ./include/linux/container_of.h:20:23: note: in expansion of macro ‘__same_type’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~
    ./include/linux/list.h:601:9: note: in expansion of macro ‘container_of’
    601 | container_of(ptr, type, member)
    | ^~~~~~~~~~~~
    ./include/linux/list.h:645:9: note: in expansion of macro ‘list_entry’
    645 | list_entry((pos)->member.next, typeof(
    (pos)), member)
    | ^~~~~~~~~~
    ./include/linux/list.h:780:20: note: in expansion of macro ‘list_next_entry’
    780 | pos = list_next_entry(pos, member))
    | ^~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:57: error: ‘struct dentry’ has no member named ‘d_child’; did you mean ‘d_children’?
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~
    ./include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
    78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
    | ^~~~
    ./include/linux/container_of.h:20:9: note: in expansion of macro ‘static_assert’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~~~
    ./include/linux/container_of.h:20:23: note: in expansion of macro ‘__same_type’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~
    ./include/linux/list.h:601:9: note: in expansion of macro ‘container_of’
    601 | container_of(ptr, type, member)
    | ^~~~~~~~~~~~
    ./include/linux/list.h:645:9: note: in expansion of macro ‘list_entry’
    645 | list_entry((pos)->member.next, typeof(
    (pos)), member)
    | ^~~~~~~~~~
    ./include/linux/list.h:780:20: note: in expansion of macro ‘list_next_entry’
    780 | pos = list_next_entry(pos, member))
    | ^~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:57: error: ‘struct dentry’ has no member named ‘d_child’; did you mean ‘d_children’?
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~
    ./include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
    78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
    | ^~~~
    ./include/linux/container_of.h:20:9: note: in expansion of macro ‘static_assert’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~~~
    ./include/linux/container_of.h:21:23: note: in expansion of macro ‘__same_type’
    21 | __same_type(
    (ptr), void),
    | ^~~~~~~~~~~
    ./include/linux/list.h:601:9: note: in expansion of macro ‘container_of’
    601 | container_of(ptr, type, member)
    | ^~~~~~~~~~~~
    ./include/linux/list.h:645:9: note: in expansion of macro ‘list_entry’
    645 | list_entry((pos)->member.next, typeof(
    (pos)), member)
    | ^~~~~~~~~~
    ./include/linux/list.h:780:20: note: in expansion of macro ‘list_next_entry’
    780 | pos = list_next_entry(pos, member))
    | ^~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    ././include/linux/compiler_types.h:383:27: error: expression in static assertion is not an integer
    383 | #define __same_type(a, b) __builtin_types_compatible_p(typeof(a), typeof(b))
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ./include/linux/build_bug.h:78:56: note: in definition of macro ‘__static_assert’
    78 | #define __static_assert(expr, msg, ...) _Static_assert(expr, msg)
    | ^~~~
    ./include/linux/container_of.h:20:9: note: in expansion of macro ‘static_assert’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~~~
    ./include/linux/container_of.h:20:23: note: in expansion of macro ‘__same_type’
    20 | static_assert(__same_type(
    (ptr), ((type )0)->member) ||
    | ^~~~~~~~~~~
    ./include/linux/list.h:601:9: note: in expansion of macro ‘container_of’
    601 | container_of(ptr, type, member)
    | ^~~~~~~~~~~~
    ./include/linux/list.h:645:9: note: in expansion of macro ‘list_entry’
    645 | list_entry((pos)->member.next, typeof(
    (pos)), member)
    | ^~~~~~~~~~
    ./include/linux/list.h:780:20: note: in expansion of macro ‘list_next_entry’
    780 | pos = list_next_entry(pos, member))
    | ^~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:57: error: ‘struct dentry’ has no member named ‘d_child’; did you mean ‘d_children’?
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~
    ./include/linux/stddef.h:16:58: note: in definition of macro ‘offsetof’
    16 | #define offsetof(TYPE, MEMBER) __builtin_offsetof(TYPE, MEMBER)
    | ^~~~~~
    ./include/linux/list.h:601:9: note: in expansion of macro ‘container_of’
    601 | container_of(ptr, type, member)
    | ^~~~~~~~~~~~
    ./include/linux/list.h:645:9: note: in expansion of macro ‘list_entry’
    645 | list_entry((pos)->member.next, typeof(
    (pos)), member)
    | ^~~~~~~~~~
    ./include/linux/list.h:780:20: note: in expansion of macro ‘list_next_entry’
    780 | pos = list_next_entry(pos, member))
    | ^~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:429:9: note: in expansion of macro ‘list_for_each_entry’
    429 | list_for_each_entry(dentry, &parent->d_subdirs, d_child) {
    | ^~~~~~~~~~~~~~~~~~~
    make[3]: *** [scripts/Makefile.build:243: /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.o] Error 1
    make[3]: *** Waiting for unfinished jobs....
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c: In function ‘ncp_update_dates’:
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c:157:16: error: ‘struct inode’ has no member named ‘i_mtime’; did you mean ‘__i_mtime’?
    157 | inode->i_mtime.tv_sec = ncp_date_dos2unix(nwi->modifyTime, nwi->modifyDate);
    | ^~~~~~~
    | __i_mtime
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c:159:16: error: ‘struct inode’ has no member named ‘i_atime’; did you mean ‘__i_atime’?
    159 | inode->i_atime.tv_sec = ncp_date_dos2unix(0, nwi->lastAccessDate);
    | ^~~~~~~
    | __i_atime
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c:160:16: error: ‘struct inode’ has no member named ‘i_atime’; did you mean ‘__i_atime’?
    160 | inode->i_atime.tv_nsec = 0;
    | ^~~~~~~
    | __i_atime
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c:161:16: error: ‘struct inode’ has no member named ‘i_mtime’; did you mean ‘__i_mtime’?
    161 | inode->i_mtime.tv_nsec = 0;
    | ^~~~~~~
    | __i_mtime
    make[3]: *** [scripts/Makefile.build:243: /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.o] Error 1
    make[2]: *** [/usr/src/linux-6.8.0-xanmod1-dist/Makefile:2073: /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999] Error 2
    make[1]: *** [Makefile:240: __sub-make] Error 2
    make: *** [Makefile:49: all] Error 2

Kernel 6.3.1 incompatible

` * Determining the location of the kernel source code

  • Found kernel source directory:
  • /usr/src/linux
    
  • Found sources for kernel version:
  • 6.3.1-xanmod1-dist
    
  • Checking for suitable kernel configuration options ... [ ok ]

Unpacking source...

Source unpacked in /var/tmp/portage/net-fs/ncpfs-modules-9999/work
Preparing source in /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 ...
Source prepared.
Configuring source in /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 ...
Source configured.
Compiling source in /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 ...
ln: failed to create symbolic link 'Module.symvers': File exists

  • Preparing ncpfs module
    make -j12 -s HOSTCC=x86_64-pc-linux-gnu-gcc 'LDFLAGS=-m elf_x86_64' KDIR=/usr/src/linux M=/var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999 all
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/ioctl.c: In function ‘ncp_ioctl’:
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/ioctl.c:877:48: error: passing argument 1 of ‘inode_permission’ from incompatible pointer type [-Werror=incompatible-pointer-types]
    877 | ret = inode_permission(&init_user_ns, inode, MAY_WRITE);
    | ^~~~~~~~~~~~~
    | |
    | struct user_namespace *
    In file included from ./include/linux/compat.h:17,
    from /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/ioctl.c:12:
    ./include/linux/fs.h:2476:22: note: expected ‘struct mnt_idmap *’ but argument is of type ‘struct user_namespace *’
    2476 | int inode_permission(struct mnt_idmap *, struct inode *, int);
    | ^~~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/ioctl.c:889:48: error: passing argument 1 of ‘inode_permission’ from incompatible pointer type [-Werror=incompatible-pointer-types]
    889 | ret = inode_permission(&init_user_ns, inode, MAY_WRITE);
    | ^~~~~~~~~~~~~
    | |
    | struct user_namespace *
    ./include/linux/fs.h:2476:22: note: expected ‘struct mnt_idmap *’ but argument is of type ‘struct user_namespace *’
    2476 | int inode_permission(struct mnt_idmap *, struct inode , int);
    | ^~~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:62:27: error: initialization of ‘int (
    )(struct mnt_idmap *, struct inode *, struct dentry , umode_t, bool)’ {aka ‘int ()(struct mnt_idmap *, struct inode *, struct dentry , short unsigned int, _Bool)’} from incompatible pointer type ‘int ()(struct user_namespace *, struct inode *, struct dentry , umode_t, bool)’ {aka ‘int ()(struct user_namespace *, struct inode *, struct dentry , short unsigned int, _Bool)’} [-Werror=incompatible-pointer-types]
    62 | .create = ncp_create,
    | ^~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:62:27: note: (near initialization for ‘ncp_dir_inode_operations.create’)
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:65:27: error: initialization of ‘int (
    )(struct mnt_idmap *, struct inode *, struct dentry *, const char )’ from incompatible pointer type ‘int ()(struct user_namespace *, struct inode *, struct dentry *, const char )’ [-Werror=incompatible-pointer-types]
    65 | .symlink = ncp_symlink,
    | ^~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:65:27: note: (near initialization for ‘ncp_dir_inode_operations.symlink’)
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:66:27: error: initialization of ‘int (
    )(struct mnt_idmap *, struct inode *, struct dentry , umode_t)’ {aka ‘int ()(struct mnt_idmap *, struct inode *, struct dentry , short unsigned int)’} from incompatible pointer type ‘int ()(struct user_namespace *, struct inode *, struct dentry , umode_t)’ {aka ‘int ()(struct user_namespace *, struct inode *, struct dentry , short unsigned int)’} [-Werror=incompatible-pointer-types]
    66 | .mkdir = ncp_mkdir,
    | ^~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:66:27: note: (near initialization for ‘ncp_dir_inode_operations.mkdir’)
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:68:27: error: initialization of ‘int (
    )(struct mnt_idmap *, struct inode *, struct dentry , umode_t, dev_t)’ {aka ‘int ()(struct mnt_idmap *, struct inode *, struct dentry , short unsigned int, unsigned int)’} from incompatible pointer type ‘int ()(struct user_namespace *, struct inode *, struct dentry , umode_t, dev_t)’ {aka ‘int ()(struct user_namespace *, struct inode *, struct dentry , short unsigned int, unsigned int)’} [-Werror=incompatible-pointer-types]
    68 | .mknod = ncp_mknod,
    | ^~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:68:27: note: (near initialization for ‘ncp_dir_inode_operations.mknod’)
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:69:27: error: initialization of ‘int (
    )(struct mnt_idmap *, struct inode *, struct dentry *, struct inode *, struct dentry , unsigned int)’ from incompatible pointer type ‘int ()(struct user_namespace *, struct inode *, struct dentry *, struct inode *, struct dentry , unsigned int)’ [-Werror=incompatible-pointer-types]
    69 | .rename = ncp_rename,
    | ^~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:69:27: note: (near initialization for ‘ncp_dir_inode_operations.rename’)
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:70:27: error: initialization of ‘int (
    )(struct mnt_idmap *, struct dentry *, struct iattr )’ from incompatible pointer type ‘int ()(struct user_namespace *, struct dentry *, struct iattr )’ [-Werror=incompatible-pointer-types]
    70 | .setattr = ncp_notify_change,
    | ^~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.c:70:27: note: (near initialization for ‘ncp_dir_inode_operations.setattr’)
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/file.c:262:27: error: initialization of ‘int (
    )(struct mnt_idmap *, struct dentry *, struct iattr )’ from incompatible pointer type ‘int ()(struct user_namespace *, struct dentry *, struct iattr )’ [-Werror=incompatible-pointer-types]
    262 | .setattr = ncp_notify_change,
    | ^~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/file.c:262:27: note: (near initialization for ‘ncp_file_inode_operations.setattr’)
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:252: /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/file.o] Error 1
    make[2]: *** Waiting for unfinished jobs....
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c:250:27: error: initialization of ‘int (
    )(struct mnt_idmap *, struct dentry *, struct iattr )’ from incompatible pointer type ‘int ()(struct user_namespace *, struct dentry *, struct iattr *)’ [-Werror=incompatible-pointer-types]
    250 | .setattr = ncp_notify_change,
    | ^~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c:250:27: note: (near initialization for ‘ncp_symlink_inode_operations.setattr’)
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c: In function ‘ncp_notify_change’:
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c:883:34: error: passing argument 1 of ‘setattr_prepare’ from incompatible pointer type [-Werror=incompatible-pointer-types]
    883 | result = setattr_prepare(mnt_userns, dentry, attr);
    | ^~~~~~~~~~
    | |
    | struct user_namespace *
    In file included from ./include/linux/huge_mm.h:8,
    from ./include/linux/mm.h:855,
    from /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c:21:
    ./include/linux/fs.h:2947:21: note: expected ‘struct mnt_idmap *’ but argument is of type ‘struct user_namespace *’
    2947 | int setattr_prepare(struct mnt_idmap *, struct dentry *, struct iattr *);
    | ^~~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c:945:46: error: passing argument 1 of ‘setattr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
    945 | setattr_copy(mnt_userns, inode, &tmpattr);
    | ^~~~~~~~~~
    | |
    | struct user_namespace *
    ./include/linux/fs.h:2949:19: note: expected ‘struct mnt_idmap *’ but argument is of type ‘struct user_namespace *’
    2949 | void setattr_copy(struct mnt_idmap *, struct inode *inode,
    | ^~~~~~~~~~~~~~~~~~
    /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.c:1017:22: error: passing argument 1 of ‘setattr_copy’ from incompatible pointer type [-Werror=incompatible-pointer-types]
    1017 | setattr_copy(mnt_userns, inode, attr);
    | ^~~~~~~~~~
    | |
    | struct user_namespace *
    ./include/linux/fs.h:2949:19: note: expected ‘struct mnt_idmap *’ but argument is of type ‘struct user_namespace *’
    2949 | void setattr_copy(struct mnt_idmap *, struct inode *inode,
    | ^~~~~~~~~~~~~~~~~~
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:252: /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/ioctl.o] Error 1
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:252: /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/inode.o] Error 1
    cc1: some warnings being treated as errors
    make[2]: *** [scripts/Makefile.build:252: /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999/dir.o] Error 1
    make[1]: *** [Makefile:2180: /var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999] Error 2
    make: *** [Makefile:49: all] Error 2
  • ERROR: net-fs/ncpfs-modules-9999::linamh failed (compile phase):
  • emake failed
  • If you need support, post the output of emerge --info '=net-fs/ncpfs-modules-9999::linamh',
  • the complete build log and the output of emerge -pqv '=net-fs/ncpfs-modules-9999::linamh'.
  • The complete build log is located at '/var/tmp/portage/net-fs/ncpfs-modules-9999/temp/build.log'.
  • The ebuild environment file is located at '/var/tmp/portage/net-fs/ncpfs-modules-9999/temp/environment'.
  • Working directory: '/var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999'
  • S: '/var/tmp/portage/net-fs/ncpfs-modules-9999/work/ncpfs-modules-9999'

Failed to emerge net-fs/ncpfs-modules-9999, Log file:
`

No compilling...

Hello.
I try compile this module, but I have a lot of errors:
make -C /lib/modules/5.10.0-8-amd64/build M=/home/leonid/ncpfs-module modules make[1]: вход в каталог «/usr/src/linux-headers-5.10.0-8-amd64» CC [M] /home/leonid/ncpfs-module/dir.o In file included from /home/leonid/ncpfs-module/ncp_fs.h:102, from /home/leonid/ncpfs-module/dir.c:25: /home/leonid/ncpfs-module/ncplib_kernel.h:189:2: error: unknown type name ‘time_t’ 189 | time_t mtime; | ^~~~~~ /home/leonid/ncpfs-module/dir.c:62:13: error: initialization of ‘int (*)(struct inode *, struct dentry *, umode_t, bool)’ {aka ‘int (*)(struct inode *, struct dentry *, short unsigned int, _Bool)’} from incompatible pointer type ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, umode_t, bool)’ {aka ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, short unsigned int, _Bool)’} [-Werror=incompatible-pointer-types] 62 | .create = ncp_create, | ^~~~~~~~~~ /home/leonid/ncpfs-module/dir.c:62:13: note: (near initialization for ‘ncp_dir_inode_operations.create’) /home/leonid/ncpfs-module/dir.c:65:13: error: initialization of ‘int (*)(struct inode *, struct dentry *, const char *)’ from incompatible pointer type ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, const char *)’ [-Werror=incompatible-pointer-types] 65 | .symlink = ncp_symlink, | ^~~~~~~~~~~ /home/leonid/ncpfs-module/dir.c:65:13: note: (near initialization for ‘ncp_dir_inode_operations.symlink’) /home/leonid/ncpfs-module/dir.c:66:12: error: initialization of ‘int (*)(struct inode *, struct dentry *, umode_t)’ {aka ‘int (*)(struct inode *, struct dentry *, short unsigned int)’} from incompatible pointer type ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, umode_t)’ {aka ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, short unsigned int)’} [-Werror=incompatible-pointer-types] 66 | .mkdir = ncp_mkdir, | ^~~~~~~~~ /home/leonid/ncpfs-module/dir.c:66:12: note: (near initialization for ‘ncp_dir_inode_operations.mkdir’) /home/leonid/ncpfs-module/dir.c:68:12: error: initialization of ‘int (*)(struct inode *, struct dentry *, umode_t, dev_t)’ {aka ‘int (*)(struct inode *, struct dentry *, short unsigned int, unsigned int)’} from incompatible pointer type ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, umode_t, dev_t)’ {aka ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, short unsigned int, unsigned int)’} [-Werror=incompatible-pointer-types] 68 | .mknod = ncp_mknod, | ^~~~~~~~~ /home/leonid/ncpfs-module/dir.c:68:12: note: (near initialization for ‘ncp_dir_inode_operations.mknod’) /home/leonid/ncpfs-module/dir.c:69:13: error: initialization of ‘int (*)(struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int)’ from incompatible pointer type ‘int (*)(struct user_namespace *, struct inode *, struct dentry *, struct inode *, struct dentry *, unsigned int)’ [-Werror=incompatible-pointer-types] 69 | .rename = ncp_rename, | ^~~~~~~~~~ /home/leonid/ncpfs-module/dir.c:69:13: note: (near initialization for ‘ncp_dir_inode_operations.rename’) /home/leonid/ncpfs-module/dir.c:70:13: error: initialization of ‘int (*)(struct dentry *, struct iattr *)’ from incompatible pointer type ‘int (*)(struct user_namespace *, struct dentry *, struct iattr *)’ [-Werror=incompatible-pointer-types] 70 | .setattr = ncp_notify_change, | ^~~~~~~~~~~~~~~~~ /home/leonid/ncpfs-module/dir.c:70:13: note: (near initialization for ‘ncp_dir_inode_operations.setattr’) /home/leonid/ncpfs-module/dir.c:407:8: error: unknown type name ‘time_t’ 407 | static time_t ncp_obtain_mtime(struct dentry *dentry) | ^~~~~~ /home/leonid/ncpfs-module/dir.c: In function ‘ncp_readdir’: /home/leonid/ncpfs-module/dir.c:445:2: error: unknown type name ‘time_t’; did you mean ‘ktime_t’? 445 | time_t mtime = 0; | ^~~~~~ | ktime_t
How to fix it?
Thank you.

Libs

Hello, EnzephaloN.
Can you list pkgs for build this ncpfs-module in Debian 11?
Thank you.

Can not compile on kali3 kernel 6.5.0

DKMS make.log for ncpfs-2.2.6 for kernel 6.5.0-kali3-amd64 (x86_64)
piektdiena, 2024. gada 19. janvāris, 14:12:22 EET
make -C /lib/modules/6.5.0-kali3-amd64/build M=/var/lib/dkms/ncpfs/2.2.6/build modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-kali3-amd64'
CC [M] /var/lib/dkms/ncpfs/2.2.6/build/dir.o
CC [M] /var/lib/dkms/ncpfs/2.2.6/build/file.o
CC [M] /var/lib/dkms/ncpfs/2.2.6/build/inode.o
/var/lib/dkms/ncpfs/2.2.6/build/inode.c: In function ‘ncp_update_dates’:
/var/lib/dkms/ncpfs/2.2.6/build/inode.c:158:9: error: implicit declaration of function ‘inode_set_ctime’; did you mean ‘node_set_state’? [-Werror=implicit-function-declaration]
158 | inode_set_ctime(inode, ncp_date_dos2unix(nwi->creationTime, nwi->creationDate), 0);
| ^~~~~~~~~~~~~~~
| node_set_state
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-6.5.0-kali3-common/scripts/Makefile.build:248: /var/lib/dkms/ncpfs/2.2.6/build/inode.o] Error 1
make[2]: *** [/usr/src/linux-headers-6.5.0-kali3-common/Makefile:2059: /var/lib/dkms/ncpfs/2.2.6/build] Error 2
make[1]: *** [/usr/src/linux-headers-6.5.0-kali3-common/Makefile:246: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-kali3-amd64'
make: *** [Makefile:48: all] Error 2

ncpfs for Kernel 5.6 got a system call error

Hello,

i want use the kernel module for a debian 11 (5.10.0-27-amd64). I use the branch for 5.6.
It compiles perfectly and the module was installed correctly too.

But if i want mount a novell file share, i've got an error message:

"mount(2) system call failed: Channel number out of range"

Is there any known reason for this?

Thx a lot for this project.

Best regards,
Andreas

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.