Skip to content

Instantly share code, notes, and snippets.

@greg-hellings
Created February 17, 2020 17:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save greg-hellings/a6756fdf6081038fe97569f74a28f00e to your computer and use it in GitHub Desktop.
Save greg-hellings/a6756fdf6081038fe97569f74a28f00e to your computer and use it in GitHub Desktop.
[  2%] Building CXX object CMakeFiles/sword.dir/src/keys/treekeyidx.cpp.o
In file included from /usr/include/asm/types.h:26,
                 from /usr/include/linux/types.h:5,
                 from /usr/include/linux/stat.h:5,
                 from /usr/include/bits/statx.h:31,
                 from /usr/include/sys/stat.h:446,
                 from /home/vagrant/sword/include/filemgr.h:26,
                 from /home/vagrant/sword/src/keys/treekeyidx.cpp:31:
/usr/include/asm-generic/int-l64.h:29:25: error: conflicting declaration ‘typedef long int __s64’
   29 | typedef __signed__ long __s64;
      |                         ^~~~~
In file included from /home/vagrant/sword/include/swkey.h:31,
                 from /home/vagrant/sword/include/treekey.h:27,
                 from /home/vagrant/sword/include/treekeyidx.h:27,
                 from /home/vagrant/sword/src/keys/treekeyidx.cpp:24:
/home/vagrant/sword/include/sysdata.h:45:44: note: previous declaration as ‘typedef long long int __s64’
   45 | __extension__ typedef __signed__ long long __s64;
      |                                            ^~~~~
In file included from /usr/include/asm/types.h:26,
                 from /usr/include/linux/types.h:5,
                 from /usr/include/linux/stat.h:5,
                 from /usr/include/bits/statx.h:31,
                 from /usr/include/sys/stat.h:446,
                 from /home/vagrant/sword/include/filemgr.h:26,
                 from /home/vagrant/sword/src/keys/treekeyidx.cpp:31:
/usr/include/asm-generic/int-l64.h:30:23: error: conflicting declaration ‘typedef long unsigned int __u64’
   30 | typedef unsigned long __u64;
      |                       ^~~~~
In file included from /home/vagrant/sword/include/swkey.h:31,
                 from /home/vagrant/sword/include/treekey.h:27,
                 from /home/vagrant/sword/include/treekeyidx.h:27,
                 from /home/vagrant/sword/src/keys/treekeyidx.cpp:24:
/home/vagrant/sword/include/sysdata.h:46:42: note: previous declaration as ‘typedef long long unsigned int __u64’
   46 | __extension__ typedef unsigned long long __u64;
      |                                          ^~~~~
make[2]: *** [CMakeFiles/sword.dir/build.make:141: CMakeFiles/sword.dir/src/keys/treekeyidx.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:330: CMakeFiles/sword.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment