Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@mobile-vcs-1:~/setup/ffmpeg-old # ./configure --enable-nonfree --enable-cuda-nvcc --enable-cuvid --enable-nvenc --enable-libnpp --extra-cflags=-I/usr/local/cuda-10.0/include/ --extra-ldflags=-L/usr/local/cuda-10.0/lib64/
- ERROR: failed checking for nvcc.
- If you think configure made a mistake, make sure you are using the latest
- version from Git. If the latest version fails, report the problem to the
- [email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
- Include the log file "ffbuild/config.log" produced by configure as this will help
- solve the problem.
- Last page or so of ffbuild/config.log:
- gcc -L/usr/local/cuda-10.0/lib64/ -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.BrPLE2kI/test /tmp/ffconf.BrPLE2kI/test.o -lm
- check_mathfunc sinf 1 -lm
- test_ld cc -lm
- test_cc
- BEGIN /tmp/ffconf.BrPLE2kI/test.c
- 1 #include <math.h>
- 2 float foo(float f, float g) { return sinf(f); }
- 3 int main(void){ return (int) foo; }
- END /tmp/ffconf.BrPLE2kI/test.c
- gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/usr/local/cuda-10.0/include/ -std=c11 -fomit-frame-pointer -fPIC -I/usr/local/include -pthread -c -o /tmp/ffconf.BrPLE2kI/test.o /tmp/ffconf.BrPLE2kI/test.c
- /tmp/ffconf.BrPLE2kI/test.c: In function 'main':
- /tmp/ffconf.BrPLE2kI/test.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- int main(void){ return (int) foo; }
- ^
- gcc -L/usr/local/cuda-10.0/lib64/ -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.BrPLE2kI/test /tmp/ffconf.BrPLE2kI/test.o -lm
- check_mathfunc trunc 1 -lm
- test_ld cc -lm
- test_cc
- BEGIN /tmp/ffconf.BrPLE2kI/test.c
- 1 #include <math.h>
- 2 float foo(float f, float g) { return trunc(f); }
- 3 int main(void){ return (int) foo; }
- END /tmp/ffconf.BrPLE2kI/test.c
- gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/usr/local/cuda-10.0/include/ -std=c11 -fomit-frame-pointer -fPIC -I/usr/local/include -pthread -c -o /tmp/ffconf.BrPLE2kI/test.o /tmp/ffconf.BrPLE2kI/test.c
- /tmp/ffconf.BrPLE2kI/test.c: In function 'main':
- /tmp/ffconf.BrPLE2kI/test.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- int main(void){ return (int) foo; }
- ^
- gcc -L/usr/local/cuda-10.0/lib64/ -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.BrPLE2kI/test /tmp/ffconf.BrPLE2kI/test.o -lm
- check_mathfunc truncf 1 -lm
- test_ld cc -lm
- test_cc
- BEGIN /tmp/ffconf.BrPLE2kI/test.c
- 1 #include <math.h>
- 2 float foo(float f, float g) { return truncf(f); }
- 3 int main(void){ return (int) foo; }
- END /tmp/ffconf.BrPLE2kI/test.c
- gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/usr/local/cuda-10.0/include/ -std=c11 -fomit-frame-pointer -fPIC -I/usr/local/include -pthread -c -o /tmp/ffconf.BrPLE2kI/test.o /tmp/ffconf.BrPLE2kI/test.c
- /tmp/ffconf.BrPLE2kI/test.c: In function 'main':
- /tmp/ffconf.BrPLE2kI/test.c:3:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- int main(void){ return (int) foo; }
- ^
- gcc -L/usr/local/cuda-10.0/lib64/ -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.BrPLE2kI/test /tmp/ffconf.BrPLE2kI/test.o -lm
- check_complexfunc cabs 1
- test_ld cc
- test_cc
- BEGIN /tmp/ffconf.BrPLE2kI/test.c
- 1 #include <complex.h>
- 2 #include <math.h>
- 3 float foo(complex float f, complex float g) { return cabs(f * I); }
- 4 int main(void){ return (int) foo; }
- END /tmp/ffconf.BrPLE2kI/test.c
- gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/usr/local/cuda-10.0/include/ -std=c11 -fomit-frame-pointer -fPIC -I/usr/local/include -pthread -c -o /tmp/ffconf.BrPLE2kI/test.o /tmp/ffconf.BrPLE2kI/test.c
- /tmp/ffconf.BrPLE2kI/test.c: In function 'main':
- /tmp/ffconf.BrPLE2kI/test.c:4:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- int main(void){ return (int) foo; }
- ^
- gcc -L/usr/local/cuda-10.0/lib64/ -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.BrPLE2kI/test /tmp/ffconf.BrPLE2kI/test.o
- /tmp/ffconf.BrPLE2kI/test.o: In function `foo':
- test.c:(.text+0xb3): undefined reference to `cabs'
- collect2: error: ld returned 1 exit status
- check_complexfunc cexp 1
- test_ld cc
- test_cc
- BEGIN /tmp/ffconf.BrPLE2kI/test.c
- 1 #include <complex.h>
- 2 #include <math.h>
- 3 float foo(complex float f, complex float g) { return cexp(f * I); }
- 4 int main(void){ return (int) foo; }
- END /tmp/ffconf.BrPLE2kI/test.c
- gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -I/usr/local/cuda-10.0/include/ -std=c11 -fomit-frame-pointer -fPIC -I/usr/local/include -pthread -c -o /tmp/ffconf.BrPLE2kI/test.o /tmp/ffconf.BrPLE2kI/test.c
- /tmp/ffconf.BrPLE2kI/test.c: In function 'main':
- /tmp/ffconf.BrPLE2kI/test.c:4:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
- int main(void){ return (int) foo; }
- ^
- gcc -L/usr/local/cuda-10.0/lib64/ -Wl,--as-needed -Wl,-z,noexecstack -o /tmp/ffconf.BrPLE2kI/test /tmp/ffconf.BrPLE2kI/test.o
- /tmp/ffconf.BrPLE2kI/test.o: In function `foo':
- test.c:(.text+0xb1): undefined reference to `cexp'
- collect2: error: ld returned 1 exit status
- check_nvcc cuda_nvcc
- test_nvcc
- BEGIN /tmp/ffconf.BrPLE2kI/test.cu
- 1 extern "C" {
- 2 __global__ void hello(unsigned char *data) {}
- 3 }
- END /tmp/ffconf.BrPLE2kI/test.cu
- nvcc -gencode arch=compute_30,code=sm_30 -O2 -m64 -ptx -c -o /tmp/ffconf.BrPLE2kI/test.o /tmp/ffconf.BrPLE2kI/test.cu
- cc1plus: fatal error: cuda_runtime.h: No such file or directory
- compilation terminated.
- ERROR: failed checking for nvcc.
Advertisement
Add Comment
Please, Sign In to add comment