Giter Site home page Giter Site logo

decache's People

Contributors

phoenix3200 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

decache's Issues

how to compile ?

I run make command but too many error occurs, how I can compile it ?

make
/Users/bla/Desktop/decache-master/theos/makefiles/targets/Darwin/iphone.mk:41: Deploying to iOS 3.0 while building for 6.0 will generate armv7-only binaries.
Making all for tool decache...
In file included from reexport.mm:16:
./common.h:1:10: fatal error: 'iostream' file not found
#include <iostream>
         ^
1 error generated.
In file included from decache.mm:2:
./common.h:1:10: fatal error: 'iostream' file not found
#include <iostream>
         ^
1 error generated.
 Compiling decache.mm...
In file included from decache.mm:4:
./reexport.h:34:81: error: implicit conversion of NULL constant to 'uintptr_t' (aka 'unsigned long') [-Werror,-Wnull-conversion]
                void (*callback)(exported_node* node, uintptr_t context), uintptr_t context = NULL,
                                                                                            ~ ^~~~
                                                                                              0
decache.mm:198:9: error: implicit conversion of NULL constant to 'uintptr_t' (aka 'unsigned long') [-Werror,-Wnull-conversion]
        return NULL;
        ~~~~~~ ^~~~
               0
decache.mm:945:12: error: unused variable 'nsyms' [-Werror,-Wunused-variable]
                                                        int nsyms = sym->nsyms;
                                                            ^
decache.mm:1001:18: error: unused variable 'v' [-Werror,-Wunused-variable]
                                                                uint32_t v = nl[j].n_value;
                                                                         ^
decache.mm:974:12: error: unused variable 'nsyms' [-Werror,-Wunused-variable]
                                                        int nsyms = sym->nsyms;
                                                            ^
decache.mm:855:12: error: unused variable 'pcbase_old' [-Werror,-Wunused-variable]
        uintptr_t pcbase_old = -fbuf + 4 + tseg->old.vmaddr.start + shared_cache_slide;
                  ^
decache.mm:793:12: error: unused variable 'psvm' [-Werror,-Wunused-variable]
        uintptr_t psvm = tseg->old.vmaddr.start + pss->addr;
                  ^
decache.mm:856:12: error: unused variable 'pcbase_act' [-Werror,-Wunused-variable]
        uintptr_t pcbase_act = -fbuf + 4 + tseg->fix.vmaddr.start;
                  ^
decache.mm:1115:17: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
                                int rX = op & 0x7 | ((op & 0x80) ? 0x8 : 0);
                                         ~~~^~~~~ ~
decache.mm:1115:17: note: place parentheses around the '&' expression to silence this warning
                                int rX = op & 0x7 | ((op & 0x80) ? 0x8 : 0);
                                            ^
                                         (       )
decache.mm:1161:34: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
                                                     | (lval >> 12) & 0xF
                                                     ~ ~~~~~~~~~~~~~^~~~~
decache.mm:1161:34: note: place parentheses around the '&' expression to silence this warning
                                                     | (lval >> 12) & 0xF
                                                                    ^
                                                       (                 )
decache.mm:1162:33: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
                                                     | (lval >> 1) & 0x400
                                                     ~ ~~~~~~~~~~~~^~~~~~~
decache.mm:1162:33: note: place parentheses around the '&' expression to silence this warning
                                                     | (lval >> 1) & 0x400
                                                                   ^
                                                       (                  )
decache.mm:1163:34: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
                                                     | (lval << 20) & 0x70000000
                                                     ~ ~~~~~~~~~~~~~^~~~~~~~~~~~
decache.mm:1163:34: note: place parentheses around the '&' expression to silence this warning
                                                     | (lval << 20) & 0x70000000
                                                                    ^
                                                       (                        )
decache.mm:1164:25: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
                                                                 | (lval << 16) & 0xFF0000;
                                                                 ~ ~~~~~~~~~~~~~^~~~~~~~~~
decache.mm:1164:25: note: place parentheses around the '&' expression to silence this warning
                                                                 | (lval << 16) & 0xFF0000;
                                                                                ^
                                                                   (                      )
decache.mm:1167:34: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
                                                     | (hval >> 12) & 0xF
                                                     ~ ~~~~~~~~~~~~~^~~~~
decache.mm:1167:34: note: place parentheses around the '&' expression to silence this warning
                                                     | (hval >> 12) & 0xF
                                                                    ^
                                                       (                 )
decache.mm:1168:33: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
                                                     | (hval >> 1) & 0x400
                                                     ~ ~~~~~~~~~~~~^~~~~~~
decache.mm:1168:33: note: place parentheses around the '&' expression to silence this warning
                                                     | (hval >> 1) & 0x400
                                                                   ^
                                                       (                  )
decache.mm:1169:34: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
                                                     | (hval << 20) & 0x70000000
                                                     ~ ~~~~~~~~~~~~~^~~~~~~~~~~~
decache.mm:1169:34: note: place parentheses around the '&' expression to silence this warning
                                                     | (hval << 20) & 0x70000000
                                                                    ^
                                                       (                        )
decache.mm:1170:25: error: '&' within '|' [-Werror,-Wbitwise-op-parentheses]
                                                                 | (hval << 16) & 0xFF0000;
                                                                 ~ ~~~~~~~~~~~~~^~~~~~~~~~
decache.mm:1170:25: note: place parentheses around the '&' expression to silence this warning
                                                                 | (hval << 16) & 0xFF0000;
                                                                                ^
                                                                   (                      )
decache.mm:1957:6: error: add explicit braces to avoid dangling else [-Werror,-Wdangling-else]
                                        else
                                        ^
decache.mm:2343:32: error: operator '<<' has lower precedence than '-'; '-' will be evaluated first [-Werror,-Wshift-op-parentheses]
                uint32_t lowestOffset = 1<<31-1;
                                         ~~~~^~
decache.mm:2343:32: note: place parentheses around the '-' expression to silence this warning
                uint32_t lowestOffset = 1<<31-1;
                                             ^
                                           (   )
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[2]: *** [obj/decache.mm.9f94129a.o] Error 1
make[1]: *** [internal-tool-all_] Error 2
make: *** [decache.all.tool.variables] Error 2
MacBook-Pro:decache-master bla$

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.