Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Os X Mavericks Error 1 on make command #40

Open
GoogleCodeExporter opened this issue Jun 7, 2015 · 3 comments
Open

Os X Mavericks Error 1 on make command #40

GoogleCodeExporter opened this issue Jun 7, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link



I start ./configure command and this is result : 
MacBook-Pro-de-MacBook:LaPrivate MacBook$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking for main in -lm... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for memory.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking for unistd.h... (cached) yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for int8_t... yes
checking for size_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for memset... yes
checking for pow... yes
checking build system type... i386-apple-darwin13.1.0
checking host system type... i386-apple-darwin13.1.0
checking for cudaMalloc in -lcudart... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands

when i try to execute the next command : make i obtain this error : 

MacBook-Pro-de-MacBook:LaPrivate MacBook$ make
/Volumes/LaCie - 4Go/Applications/Xcode.app/Contents/Developer/usr/bin/make  
all-recursive
make: /Volumes/LaCie: No such file or directory
make: *** [all] Error 1

thank you for your helping !

Original issue reported on code.google.com by [email protected] on 6 Mar 2014 at 11:25

@GoogleCodeExporter
Copy link
Author

I got the same issue, did you succeed ?

Original comment by [email protected] on 2 Apr 2014 at 5:13

@GoogleCodeExporter
Copy link
Author

nvcc compiler not found for me, although xcode/nvidia driver installed.

mbp-de-le:truecrack LEHoangTung$ make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in src
cat Cuda/Core.cu > Cuda.cu 
cat Cuda/Pkcs5.cu >> Cuda.cu
cat Cuda/Aes.cu >> Cuda.cu
cat Cuda/Serpent.cu >> Cuda.cu
cat Cuda/Twofish.cu >> Cuda.cu
cat Cuda/Crypto.cu >> Cuda.cu
cat Cuda/Xts.cu >> Cuda.cu
cat Cuda/Rmd160.alternative.cu >> Cuda.cu
cat Cuda/Sha2.cu >> Cuda.cu
cat Cuda/Whirlpool.cu >> Cuda.cu
nvcc -c Cuda.cu -g -I./Common/ -I./Crypto/ -I./Cuda/ -I./Main/ -I./ 
-I/usr/local/cuda/include/ -DTC_MACOSX  -D_GPU_ -gencode 
arch=compute_10,code=sm_10 -gencode arch=compute_20,code=sm_20 -gencode 
arch=compute_30,code=sm_30 -gencode arch=compute_35,code=sm_35 -ftz=true 
-use_fast_math --opencc-options -OPT:Olimit=0  -o Cuda.o
make[2]: nvcc: No such file or directory
make[2]: *** [Cuda.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Original comment by [email protected] on 24 Apr 2014 at 8:46

@GoogleCodeExporter
Copy link
Author

Add the directory to your path and the compilation will be ok...

At the end of building process you should see... Finished building all...

Add this paths using command line 

export PATH=$PATH:/usr/local/cuda/bin

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib

good luck !

Original comment by [email protected] on 24 Apr 2014 at 9:49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant