direct cpp compilation on aarch64-ostl-linux-gcc failed
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 40.3k
- Forks
- 3.7k
- PR merge metrics
- No merged PRs in 30d
Description
tried to compile the routines unsuccefully
would you please hlp ?
(bitnet-cpp) triumph@triumph-HP-Z6-G5-Workstation-Desktop-PC:~/github/BitNet/src$ $CC
aarch64-ostl-linux-gcc: fatal error: no input files
bitnet-cpp) triumph@triumph-HP-Z6-G5-Workstation-Desktop-PC:~/github/BitNet/src$ $CC ggml-bitnet-mad.cpp ggml-bitnet-lut.cpp -I ../include -I ../3rdparty/llama.cpp/ggml/include/ -I ../3rdparty/llama.cpp/ggml/src/ -o bitnet
/home/triumph/STM32MPU-Ecosystem-v5.1.0/Developer-Package/SDK/sysroots/x86_64-ostl_sdk-linux/usr/libexec/aarch64-ostl-linux/gcc/aarch64-ostl-linux/12.3.0/ld: /home/triumph/STM32MPU-Ecosystem-v5.1.0/Developer-Package/SDK/sysroots/cortexa35-ostl-linux/usr/lib/crt1.o: in function _start': /usr/src/debug/glibc/2.37-r1/csu/../sysdeps/aarch64/start.S:110: undefined reference to main'
/home/triumph/STM32MPU-Ecosystem-v5.1.0/Developer-Package/SDK/sysroots/x86_64-ostl_sdk-linux/usr/libexec/aarch64-ostl-linux/gcc/aarch64-ostl-linux/12.3.0/ld: /tmp/ccFRcgOi.o: in function quantize_i2_s': ggml-bitnet-mad.cpp:(.text+0x28): undefined reference to ggml_row_size'
/home/triumph/STM32MPU-Ecosystem-v5.1.0/Developer-Package/SDK/sysroots/x86_64-ostl_sdk-linux/usr/libexec/aarch64-ostl-linux/gcc/aarch64-ostl-linux/12.3.0/ld: ggml-bitnet-mad.cpp:(.text+0x74): undefined reference to `fmax'
collect2: error: ld returned 1 exit status
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the command from src using ggml-bitnet-mad.cpp and ggml-bitnet-lut.cpp with the listed include paths, then inspect the linker errors for the missing main, ggml_row_size, and fmax symbols. Compare this with the repository's supported build entry point; the issue is done when the documented aarch64 compilation path completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100