Comments (10)
Bot detected the issue body's language is not English, translate it automatically.
Title: Error building link on Gitee Go's linux platform, missing add_syslinks("m")
Note: If you use vague expressions such as
unable/no effect/problem/error
when asking a question, but do not give any relevant auxiliary information according to the template below, there will be absolutely no feedback.
Describe the problem
Please describe the problem you are encountering as clearly and precisely as possible.
Expected results
Please describe your desired outcome as clearly and precisely as possible.
Error message
If possible, please try to attach the error output information during the running of the program.
Related environment
Please provide compilation and runtime environment information.
other information
Please provide any additional information to help us diagnose the problem.
from tbox.
你这个错误跟 tbox 没啥关系,是安装 tbox 包的配置里面 on_test 检测 tb_exit 尝试编译时候,缺 -lm
包的配置问题,得改包 而不是改 tbox/demo
from tbox.
Bot detected the issue body's language is not English, translate it automatically.
Your error has nothing to do with tbox. It is because the on_test detection tb_exit in the configuration of the tbox package is missing -lm when trying to compile.
Package configuration problem, you have to change the package instead of tbox/demo
from tbox.
from tbox.
再试试
xrepo update-repo
from tbox.
Bot detected the issue body's language is not English, translate it automatically.
try again
xrepo update-repo
from tbox.
Still error
from tbox.
linux 上我试了,可以的,-lm 也加上了。
仓库更新了么。
hecking for gcc ... /usr/bin/gcc
checking for the c compiler (cc) ... gcc
checking for flags (-fPIC) ... ok
> gcc "-fPIC" "-m64"
> /usr/bin/gcc -c -m64 -std=c99 -isystem /home/ruki/.xmake/packages/t/tbox/dev/7120a2256037488eba888d3e75fde43f/include -o /tmp/.xmake999/230831/_DCE8E5567C6A4B10875B0EAE2CE91540.o /tmp/.xmake999/230831/_302B6C47B7E64FF98E0D0C7234CBD3B7.c
checking for flags (-fdiagnostics-color=always) ... ok
> gcc "-fdiagnostics-color=always" "-m64"
checking for g++ ... /usr/bin/g++
checking for the linker (ld) ... g++
checking for /usr/bin/g++ ... ok
checking for flags (-fPIC) ... ok
> g++ "-fPIC" "-m64" "-m64"
> /usr/bin/g++ -o /tmp/.xmake999/230831/_DCE8E5567C6A4B10875B0EAE2CE91540.b /tmp/.xmake999/230831/_DCE8E5567C6A4B10875B0EAE2CE91540.o -m64 -L/home/ruki/.xmake/packages/t/tbox/dev/7120a2256037488eba888d3e75fde43f/lib -ltbox -lpthread -lm -ldl
> checking for c includes(tbox/tbox.h)
> checking for c funcs(tb_exit)
> checking for c links(tbox, pthread, m, dl)
> checking for c snippet(has_cfuncs)
=> install tbox dev .. ok
from tbox.
可以了,之前我用了自定义的XMAKE_REPO,所以还是出错
from tbox.
Bot detected the issue body's language is not English, translate it automatically.
It's ok, I used a custom XMAKE_REPO before, so I still got an error
from tbox.
Related Issues (20)
- error: implicit declaration of function 'CancelIoEx'; did you mean 'CancelIo' HOT 2
- file_info on Window does not support symbol link HOT 4
- WASM: file system support HOT 8
- The ARM assembly code of tbox is not compatible with Apple M1 HOT 12
- 启用 openssl 编译错误 HOT 8
- 开启force-utf8选项后,tb_file_init在mingw平台下的路径编码与Windows下不一致 HOT 9
- Implement `SortedDictionary` / `std::map` / `GTree` equivalent HOT 4
- Does TBOX also abort in out-of-memory situations like GLib? HOT 1
- Getting the current directory of a file returns inconsistent results on macOS HOT 5
- macOS M1安装tbox报arm相关错误 HOT 7
- Can't install tbox on Mac HOT 1
- Spawn a process in Qt app without the command prompt flash up on the screen. HOT 1
- tb_backtrace_symbols_name不同平台的返回值格式应该一致 HOT 1
- 建议将event的现有实现稍微增强一下 HOT 4
- tb_option_done 只认 -f=a.txt 这种形式,却不认 -f a.txt 这种形式 HOT 7
- platform/posix/semaphore.c 中的 tb_semaphore_wait 实现存在bug HOT 2
- round相关函数的实现有问题 HOT 1
- 异步http请求? HOT 3
- `tb_dynamic_init`应该设法返回错误信息 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tbox.