[GH-ISSUE #8666] TERMUX ERROR #5615

Closed
opened 2026-04-12 16:53:09 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @NeKosmico on GitHub (Jan 29, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8666

What is the issue?

I wanted to run Ollama in the termux (Android) application, everything was going well... Until the following happened in this part:

~/ollama $ go build .
# github.com/ollama/ollama/discover
gpu_info_cudart.c:61:13: warning: comparison of different enumeration types ('cudartReturn_t' (aka 'enum cudartReturn_enum') and 'enum cudaError_enum') [-Wenum-compare]
gpu_info_cudart.c:171:60: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
./gpu_info.h:33:23: note: expanded from macro 'LOG'
gpu_info_cudart.c:172:59: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
./gpu_info.h:33:23: note: expanded from macro 'LOG'
gpu_info_cudart.c:173:59: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
./gpu_info.h:33:23: note: expanded from macro 'LOG'
# github.com/ollama/ollama/discover
gpu_info_nvcuda.c:196:63: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
./gpu_info.h:33:23: note: expanded from macro 'LOG'
gpu_info_nvcuda.c:197:62: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat]
./gpu_info.h:33:23: note: expanded from macro 'LOG'

I don't know if there is any solution or not, Your answers are appreciated :'3

OS

Linux

GPU

No response

CPU

No response

Ollama version

0.5.12

Originally created by @NeKosmico on GitHub (Jan 29, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8666 ### What is the issue? I wanted to run Ollama in the termux (Android) application, everything was going well... Until the following happened in this part: ```bash ~/ollama $ go build . # github.com/ollama/ollama/discover gpu_info_cudart.c:61:13: warning: comparison of different enumeration types ('cudartReturn_t' (aka 'enum cudartReturn_enum') and 'enum cudaError_enum') [-Wenum-compare] gpu_info_cudart.c:171:60: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] ./gpu_info.h:33:23: note: expanded from macro 'LOG' gpu_info_cudart.c:172:59: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] ./gpu_info.h:33:23: note: expanded from macro 'LOG' gpu_info_cudart.c:173:59: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] ./gpu_info.h:33:23: note: expanded from macro 'LOG' # github.com/ollama/ollama/discover gpu_info_nvcuda.c:196:63: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] ./gpu_info.h:33:23: note: expanded from macro 'LOG' gpu_info_nvcuda.c:197:62: warning: format specifies type 'unsigned long' but the argument has type 'uint64_t' (aka 'unsigned long long') [-Wformat] ./gpu_info.h:33:23: note: expanded from macro 'LOG' ``` I don't know if there is any solution or not, Your answers are appreciated :'3 ### OS Linux ### GPU _No response_ ### CPU _No response_ ### Ollama version 0.5.12
GiteaMirror added the bug label 2026-04-12 16:53:09 -05:00
Author
Owner

@rick-github commented on GitHub (Jan 29, 2025):

These look like warnings. Did the build fail?

ollama is not officially supported on termux. From another post about installation:

pkg install tur-repo
pkg install ollama
<!-- gh-comment-id:2622078116 --> @rick-github commented on GitHub (Jan 29, 2025): These look like warnings. Did the build fail? ollama is not officially supported on termux. From [another post](https://github.com/ollama/ollama/issues/8634#issuecomment-2621526531) about installation: ``` pkg install tur-repo pkg install ollama ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#5615