Coder Social home page Coder Social logo

web10g-dlkm's People

Contributors

rapier1 avatar

Watchers

 avatar  avatar

Forkers

screw

web10g-dlkm's Issues

Kernel version >= 4.10 ktime.h does not have a member tv64

ktime.h does not longer (since version 4.10) include
union ktime {
s64 tv64;
};

so you can't access it directly and build for the latest version of we10g-dlkm fails with the following output

make -C /lib/modules/4.10.0-web10g+/build M=/mnt/git/web10g-dlkm
make[1]: Entering directory '/mnt/git/web10g'
 LD      /mnt/git/web10g-dlkm/built-in.o
 CC [M]  /mnt/git/web10g-dlkm/tcp_estats_mib_var.o
 CC [M]  /mnt/git/web10g-dlkm/tcp_estats_nl_mod.o
/mnt/git/web10g-dlkm/tcp_estats_nl_mod.c: In function ‘genl_list_conns’:
/mnt/git/web10g-dlkm/tcp_estats_nl_mod.c:575:24: error: field name not in record or union initializer
 ktime_t timestamp = { .tv64 = 0 };
                       ^
/mnt/git/web10g-dlkm/tcp_estats_nl_mod.c:575:24: note: (near initialization for ‘timestamp’)
/mnt/git/web10g-dlkm/tcp_estats_nl_mod.c:609:12: error: request for member ‘tv64’ in something not a structure or union
  timestamp.tv64 = (int64_t)timestamp_token;
           ^
/mnt/git/web10g-dlkm/tcp_estats_nl_mod.c:659:22: error: request for member ‘tv64’ in something not a structure or union
   (stats->current_ts.tv64 < timestamp.tv64)
                     ^
/mnt/git/web10g-dlkm/tcp_estats_nl_mod.c:659:39: error: request for member ‘tv64’ in something not a structure or union
   (stats->current_ts.tv64 < timestamp.tv64)
                                      ^
/mnt/git/web10g-dlkm/tcp_estats_nl_mod.c: In function ‘genl_read_all’:
/mnt/git/web10g-dlkm/tcp_estats_nl_mod.c:805:12: error: request for member ‘tv64’ in something not a structure or union
  timestamp.tv64 = (int64_t)timestamp_token;
           ^
/mnt/git/web10g-dlkm/tcp_estats_nl_mod.c:855:22: error: request for member ‘tv64’ in something not a structure or union
   (stats->current_ts.tv64 < timestamp.tv64)
                     ^
/mnt/git/web10g-dlkm/tcp_estats_nl_mod.c:855:39: error: request for member ‘tv64’ in something not a structure or union
   (stats->current_ts.tv64 < timestamp.tv64)
                                      ^
/mnt/git/web10g-dlkm/tcp_estats_nl_mod.c: In function ‘genl_get_timestamp’:
/mnt/git/web10g-dlkm/tcp_estats_nl_mod.c:1253:40: error: request for member ‘tv64’ in something not a structure or union
 timestamp_token = (uint64_t)(timestamp.tv64);
                                       ^
scripts/Makefile.build:294: recipe for target '/mnt/git/web10g-dlkm/tcp_estats_nl_mod.o' failed
make[2]: *** [/mnt/git/web10g-dlkm/tcp_estats_nl_mod.o] Error 1
Makefile:1490: recipe for target '_module_/mnt/git/web10g-dlkm' failed
make[1]: *** [_module_/mnt/git/web10g-dlkm] Error 2
make[1]: Leaving directory '/mnt/git/web10g'
Makefile:8: recipe for target 'all' failed
make: *** [all] Error 2

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.