Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Compile error at linux-2.6.34-gentoo #7

Closed
nevenchannyy opened this issue Jun 4, 2010 · 4 comments
Closed

Compile error at linux-2.6.34-gentoo #7

nevenchannyy opened this issue Jun 4, 2010 · 4 comments

Comments

@nevenchannyy
Copy link

behaviourism behlendorf-spl-5c04498 # ./configure       
checking metadata... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking spl license... GPL
checking spl config... all
checking kernel source directory... /usr/src/linux-2.6.34-gentoo
checking kernel build directory... /usr/src/linux-2.6.34-gentoo
checking kernel source version... 2.6.34-gentoo
checking kernel file name for module symbols... Module.symvers
checking whether debugging is enabled... no
checking whether basic kmem accounting is enabled... yes
checking whether detailed kmem tracking is enabled... no
checking whether atomic types use spinlocks... no
checking whether kernel defines atomic64_t... yes
checking whether kernel defines atomic64_cmpxchg... yes
checking whether kernel defines atomic64_xchg... yes
checking whether kernel defines uintptr_t... yes
checking whether INIT_WORK wants 3 args... no
checking whether register_sysctl_table() wants 2 args... no
checking whether set_shrinker() available... no
checking whether struct path used in struct nameidata... yes
checking whether symbol task_curr is exported... no
checking whether unnumbered sysctl support exists... no
checking whether fls64() is available... yes
checking whether symbol device_create is exported... yes
checking whether device_create() wants 5 args... yes
checking whether symbol class_device_create is exported... no
checking whether symbol set_normalized_timespec is exported... yes
checking whether set_normalized_timespec() is an inline... yes
checking whether timespec_sub() is available... yes
checking whether init_utsname() is available... yes
checking whether header linux/fdtable.h exists... yes
checking whether files_fdtable() is available... yes
checking whether header linux/uaccess.h exists... yes
checking whether kmalloc_node() is available... yes
checking whether symbol monotonic_clock is exported... no
checking whether struct inode has i_mutex... yes
checking whether struct mutex has owner... yes
checking whether mutex_lock_nested() is available... yes
checking whether symbol div64_64 is exported... no
checking whether symbol div64_u64 is exported... no
checking whether on_each_cpu() wants 3 args... yes
checking whether symbol kallsyms_lookup_name is exported... no
checking whether symbol get_vmalloc_info is exported... no
checking whether symbol *_pgdat exist... yes
checking whether symbol first_online_pgdat is exported... no
checking whether symbol next_online_pgdat is exported... no
checking whether symbol next_zone is exported... no
checking whether symbol pgdat_list is exported... no
checking whether global_page_state() is available... yes
checking whether page state NR_FREE_PAGES is available... yes
checking whether page state NR_INACTIVE is available... no
checking whether page state NR_INACTIVE_ANON is available... yes
checking whether page state NR_INACTIVE_FILE is available... yes
checking whether page state NR_ACTIVE is available... no
checking whether page state NR_ACTIVE_ANON is available... yes
checking whether page state NR_ACTIVE_FILE is available... yes
checking whether symbol get_zone_counts is needed... no
checking whether symbol set_fs_pwd is exported... no
checking whether set_fs_pwd() wants 2 args... yes
checking whether vfs_unlink() wants 2 args... yes
checking whether vfs_rename() wants 4 args... yes
checking whether struct cred exists... yes
checking whether symbol groups_search is exported... no
checking whether symbol __put_task_struct is exported... no
checking whether proc_handler() wants 5 args... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/Makefile
config.status: creating cmd/Makefile
config.status: creating module/Makefile
config.status: creating module/spl/Makefile
config.status: creating module/splat/Makefile
config.status: creating include/Makefile
config.status: creating scripts/Makefile
config.status: creating spl.spec
config.status: creating spl-modules.spec
config.status: creating spl_config.h
config.status: executing depfiles commands
config.status: executing libtool commands
behaviourism behlendorf-spl-5c04498 # make
make  all-recursive
make[1]: Entering directory `/root/zfs/behlendorf-spl-5c04498'
Making all in lib
make[2]: Entering directory `/root/zfs/behlendorf-spl-5c04498/lib'
/bin/sh ../libtool  --tag=CC --silent  --mode=compile gcc -DHAVE_CONFIG_H -include ../spl_config.h    -Wall -Wstrict-prototypes -Werror -Wshadow -D__USE_LARGEFILE64 -g -O2 -MT list.lo -MD -MP -MF .deps/list.Tpo -c -o list.lo list.c
mv -f .deps/list.Tpo .deps/list.Plo
/bin/sh ../libtool  --tag=CC --silent  --mode=link gcc -Wall -Wstrict-prototypes -Werror -Wshadow -D__USE_LARGEFILE64 -g -O2   -o libcommon.la  list.lo  
make[2]: Leaving directory `/root/zfs/behlendorf-spl-5c04498/lib'
Making all in cmd
make[2]: Entering directory `/root/zfs/behlendorf-spl-5c04498/cmd'
gcc -DHAVE_CONFIG_H -include ../spl_config.h -I../lib    -Wall -Wstrict-prototypes -Werror -Wshadow -D__USE_LARGEFILE64 -g -O2 -MT spl.o -MD -MP -MF .deps/spl.Tpo -c -o spl.o spl.c
mv -f .deps/spl.Tpo .deps/spl.Po
/bin/sh ../libtool  --tag=CC --silent  --mode=link gcc -Wall -Wstrict-prototypes -Werror -Wshadow -D__USE_LARGEFILE64 -g -O2   -o spl spl.o  
gcc -DHAVE_CONFIG_H -include ../spl_config.h -I../lib    -Wall -Wstrict-prototypes -Werror -Wshadow -D__USE_LARGEFILE64 -g -O2 -MT splat.o -MD -MP -MF .deps/splat.Tpo -c -o splat.o splat.c
mv -f .deps/splat.Tpo .deps/splat.Po
/bin/sh ../libtool  --tag=CC --silent  --mode=link gcc -Wall -Wstrict-prototypes -Werror -Wshadow -D__USE_LARGEFILE64 -g -O2 ../lib/libcommon.la  -o splat splat.o  
make[2]: Leaving directory `/root/zfs/behlendorf-spl-5c04498/cmd'
Making all in scripts
make[2]: Entering directory `/root/zfs/behlendorf-spl-5c04498/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/zfs/behlendorf-spl-5c04498/scripts'
Making all in module
make[2]: Entering directory `/root/zfs/behlendorf-spl-5c04498/module'
make -C /usr/src/linux-2.6.34-gentoo SUBDIRS=`pwd`  modules
make[3]: Entering directory `/usr/src/linux-2.6.34-gentoo'
  CC [M]  /root/zfs/behlendorf-spl-5c04498/module/spl/spl-debug.o
  CC [M]  /root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.o
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:660: error: unknown field 'ctl_name' specified in initializer
cc1: warnings being treated as errors
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:660: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:668: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:668: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:676: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:676: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:684: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:684: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:690: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:690: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:698: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:698: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:706: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:706: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:714: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:714: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:722: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:722: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:727: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:727: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:733: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:733: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:741: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:741: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:748: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:748: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:755: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:755: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:762: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:762: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:774: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:774: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:782: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:782: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:790: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:790: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:798: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:798: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:806: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:806: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:814: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:814: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:822: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:822: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:828: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:828: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:836: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:836: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:849: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:849: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:861: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:861: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:871: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:871: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:883: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:883: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:905: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:905: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:913: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:913: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:921: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:921: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:930: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:930: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:939: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:939: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:945: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:945: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:952: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:952: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:959: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:959: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:969: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:969: error: initialization makes pointer from integer without a cast
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:979: error: unknown field 'ctl_name' specified in initializer
/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.c:979: error: initialization makes pointer from integer without a cast
make[5]: *** [/root/zfs/behlendorf-spl-5c04498/module/spl/spl-proc.o] Error 1
make[4]: *** [/root/zfs/behlendorf-spl-5c04498/module/spl] Error 2
make[3]: *** [_module_/root/zfs/behlendorf-spl-5c04498/module] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.34-gentoo'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/root/zfs/behlendorf-spl-5c04498/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/zfs/behlendorf-spl-5c04498'
make: *** [all] Error 2
@tthtlc
Copy link

tthtlc commented Jun 9, 2010

Me too, I am on Ubuntu 9.04, kernel is 2.6.34-rc8 (linus tree), and got the following errors:

make[2]: Entering directory `/sda3/download/spl-0.4.9/module'
make -C /sdc1/download/linux-2.6-latest SUBDIRS=`pwd`  modules
make[3]: Entering directory `/sdc1/download/linux-2.6-latest'
  CC [M]  /root/download/spl-0.4.9/module/spl/spl-proc.o
/root/download/spl-0.4.9/module/spl/spl-proc.c:660: error: unknown field ‘ctl_name’ specified in initializer
cc1: warnings being treated as errors
/root/download/spl-0.4.9/module/spl/spl-proc.c:660: error: initialization makes pointer from integer without a cast
/root/download/spl-0.4.9/module/spl/spl-proc.c:668: error: unknown field ‘ctl_name’ specified in initializer
/root/download/spl-0.4.9/module/spl/spl-proc.c:668: error: initialization makes pointer from integer without a cast
/root/download/spl-0.4.9/module/spl/spl-proc.c:676: error: unknown field ‘ctl_name’ specified in initializer
/root/download/spl-0.4.9/module/spl/spl-proc.c:676: error: initialization makes pointer from integer without a cast
/root/download/spl-0.4.9/module/spl/spl-proc.c:684: error: unknown field ‘ctl_name’ specified in initializer
/root/download/spl-0.4.9/module/spl/spl-proc.c:684: error: initialization makes pointer from integer without a cast

The reason is because ".ctl_name" is no longer used in the latest kernel, so apply the following patch:

http://pastebin.com/q9bEJjpz

@tthtlc
Copy link

tthtlc commented Jun 9, 2010

The next error I got is:

>make
make  all-recursive
make[1]: Entering directory `/sda3/download/spl-0.4.9'
Making all in lib
make[2]: Entering directory `/sda3/download/spl-0.4.9/lib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/sda3/download/spl-0.4.9/lib'
Making all in cmd
make[2]: Entering directory `/sda3/download/spl-0.4.9/cmd'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/sda3/download/spl-0.4.9/cmd'
Making all in scripts
make[2]: Entering directory `/sda3/download/spl-0.4.9/scripts'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/sda3/download/spl-0.4.9/scripts'
Making all in module
make[2]: Entering directory `/sda3/download/spl-0.4.9/module'
make -C /sdc1/download/linux-2.6-latest SUBDIRS=`pwd`  modules
make[3]: Entering directory `/sdc1/download/linux-2.6-latest'
  CC [M]  /root/download/spl-0.4.9/module/spl/spl-vnode.o
In file included from /root/download/spl-0.4.9/module/spl/spl-vnode.c:27:
/sda3/download/spl-0.4.9/include/sys/vnode.h:48:1: error: "O_DSYNC" redefined
In file included from /sdc1/download/linux-2.6-latest/arch/x86/include/asm/fcntl.h:1,
                 from include/linux/fcntl.h:4,
                 from include/linux/fs.h:1097,
                 from include/linux/trace_seq.h:4,
                 from include/linux/ftrace_event.h:5,
                 from include/trace/syscall.h:6,
                 from include/linux/syscalls.h:75,
                 from /sda3/download/spl-0.4.9/include/sys/vnode.h:29,
                 from /root/download/spl-0.4.9/module/spl/spl-vnode.c:27:
include/asm-generic/fcntl.h:29:1: error: this is the location of the previous definition
make[5]: *** [/root/download/spl-0.4.9/module/spl/spl-vnode.o] Error 1
make[4]: *** [/root/download/spl-0.4.9/module/spl] Error 2
make[3]: *** [_module_/root/download/spl-0.4.9/module] Error 2
make[3]: Leaving directory `/sdc1/download/linux-2.6-latest'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/sda3/download/spl-0.4.9/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sda3/download/spl-0.4.9'
make: *** [all] Error 2

Anybody can help?

@nevenchannyy
Copy link
Author

Apply this patch in vnode.h

#ifndef O_SYNC
#define O_DSYNC<----><------>040000000
#endif

@behlendorf
Copy link
Contributor

Duplicate of issue #5.

This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants