😭make: *** [Makefile:499: build-info.h] Error 2 #3052
-
I use I UNAME_S: Linux
I UNAME_P: x86_64
I UNAME_M: x86_64
I CFLAGS: -I. -Icommon -DNDEBUG -DGGML_USE_K_QUANTS -DGGML_USE_CUBLAS -I/usr/local/cuda/include -I/opt/cuda/include -I/targets/x86_64-linux/include -O3 -std=c11 -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -Wmissing-prototypes -Werror=implicit-int -Wno-unused-function -pthread -march=native -mtune=native
I CXXFLAGS: -I. -Icommon -DNDEBUG -DGGML_USE_K_QUANTS -DGGML_USE_CUBLAS -I/usr/local/cuda/include -I/opt/cuda/include -I/targets/x86_64-linux/include -O3 -std=c++11 -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -Wno-format-truncation -pthread -march=native -mtune=native
I LDFLAGS: -lcublas -lculibos -lcudart -lcublasLt -lpthread -ldl -lrt -L/usr/local/cuda/lib64 -L/opt/cuda/lib64 -L/targets/x86_64-linux/lib
I CC: cc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
I CXX: g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
: not foundld-info.sh: 2:
: not foundld-info.sh: 5:
scripts/build-info.sh: 24: Syntax error: end of file unexpected (expecting "then")
make: *** [Makefile:499: build-info.h] Error 2 here is my setup and environment info: GPU A100
Python 3.10.12
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
If make is down, use
|
Beta Was this translation helpful? Give feedback.
-
Hi @satelliter. The symptoms you've described point to a line-ending mismatch. This often happens when a file with Windows-style line endings (CRLF) is executed on a Unix or Linux system, which expects Unix-style line endings (LF). Breakdown of Symptoms
Potential Causes
Solutions
Additional Information NeededTo further assist you and prevent similar issues in the future, could you provide us with more information?
Your answers could help us figure out what happened more precisely and take steps to prevent it for other users. |
Beta Was this translation helpful? Give feedback.
If make is down, use
cmake