Giter Site home page Giter Site logo

Comments (2)

danni-m avatar danni-m commented on June 7, 2024

This is weird, it works on my mac:

$ make all
/Library/Developer/CommandLineTools/usr/bin/make -C ../RedisModulesSDK/rmutil
make[1]: Nothing to be done for `all'.
cc -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o module.o module.c
clang: warning: -lc: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
cc -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o tsdb.o tsdb.c
clang: warning: -lc: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
cc -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o compaction.o compaction.c
clang: warning: -lc: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
cc -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o rdb.o rdb.c
clang: warning: -lc: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
cc -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o chunk.o chunk.c
clang: warning: -lc: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
cc -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o parse_policies.o parse_policies.c
clang: warning: -lc: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
cc -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o config.o config.c
clang: warning: -lc: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lm: 'linker' input unused [-Wunused-command-line-argument]
ld -o redis-tsdb-module.so module.o tsdb.o rdb.o compaction.o chunk.o parse_policies.o config.o -bundle -undefined dynamic_lookup  -L../RedisModulesSDK/rmutil -lrmutil -lc
ld: warning: No version-min specified on command line

Also with gcc-7:

 ✘ dannimoiseyev@Dannis-MBP  ~/code/timeseries-rl/src   master ●  CC=gcc-7 make clean all
rm -rf *.xo *.so *.o ./tests_runner
/Library/Developer/CommandLineTools/usr/bin/make -C ../RedisModulesSDK/rmutil
make[1]: Nothing to be done for `all'.
gcc-7 -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o module.o module.c
gcc-7 -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o tsdb.o tsdb.c
gcc-7 -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o compaction.o compaction.c
gcc-7 -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o rdb.o rdb.c
gcc-7 -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o chunk.o chunk.c
gcc-7 -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o parse_policies.o parse_policies.c
gcc-7 -I../RedisModulesSDK -Wall -g -fPIC -lc -lm -std=gnu99  -DREDIS_MODULE_TARGET   -c -o config.o config.c
ld -o redis-tsdb-module.so module.o tsdb.o rdb.o compaction.o chunk.o parse_policies.o config.o -bundle -undefined dynamic_lookup  -L../RedisModulesSDK/rmutil -lrmutil -lc
ld: warning: No version-min specified on command line

from redis-timeseries.

danni-m avatar danni-m commented on June 7, 2024

image

I don't have access to Sierra machine at the moment,
Try to reftech the submodules and use clang instead

from redis-timeseries.

Related Issues (20)

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.