password icon indicating copy to clipboard operation
password copied to clipboard

Issue building on Mac OS X 10.12

Open leeparayno opened this issue 8 years ago • 0 comments

Got this trying to make:

gcc -I../ -Icrypt_blowfish-1.3 -Wall -g -fPIC -Og -std=gnu99 -c -o password.o password.c error: invalid integral value 'g' in '-Og' error: invalid integral value 'g' in '-Og' make: *** [password.o] Error 1

Similar to this issue:

https://github.com/RedisLabsModules/redex/issues/6

Changing this line to be -03 worked:

#CFLAGS = -I$(RM_INCLUDE_DIR) -I$(BLOWFISH_DIR) -Wall -g -fPIC -Og -std=gnu99
CFLAGS = -I$(RM_INCLUDE_DIR) -I$(BLOWFISH_DIR) -Wall -g -fPIC -O3 -std=gnu99

Output from the make:

gcc -I../ -Icrypt_blowfish-1.3 -Wall -g -fPIC -O3 -std=gnu99   -c -o password.o password.c
gcc -I../ -Icrypt_blowfish-1.3 -Wall -g -fPIC -O3 -std=gnu99   -c -o crypt_blowfish-1.3/crypt_blowfish.o crypt_blowfish-1.3/crypt_blowfish.c
gcc -I../ -Icrypt_blowfish-1.3 -Wall -g -fPIC -O3 -std=gnu99   -c -o crypt_blowfish-1.3/crypt_gensalt.o crypt_blowfish-1.3/crypt_gensalt.c
gcc -I../ -Icrypt_blowfish-1.3 -Wall -g -fPIC -O3 -std=gnu99   -c -o crypt_blowfish-1.3/wrapper.o crypt_blowfish-1.3/wrapper.c
gcc    -c -o crypt_blowfish-1.3/x86.o crypt_blowfish-1.3/x86.S
ld -o password.so password.o crypt_blowfish-1.3/crypt_blowfish.o crypt_blowfish-1.3/crypt_gensalt.o crypt_blowfish-1.3/wrapper.o crypt_blowfish-1.3/x86.o -bundle -undefined dynamic_lookup  -lc 
ld: warning: -macosx_version_min not specified, assuming 10.10
ld: warning: ld: warning: object file (crypt_blowfish-1.3/crypt_blowfish.o) was built for newer OSX version (10.12) than being linked (10.10)object file (password.o) was built for newer OSX version (10.12) than being linked (10.10)

ld: warning: ld: warning: object file (crypt_blowfish-1.3/crypt_gensalt.o) was built for newer OSX version (10.12) than being linked (10.10)object file (crypt_blowfish-1.3/wrapper.o) was built for newer OSX version (10.12) than being linked (10.10)

ld: warning: object file (crypt_blowfish-1.3/x86.o) was built for newer OSX version (10.12) than being linked (10.10)

leeparayno avatar May 03 '17 22:05 leeparayno