Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arm32有些包编译出错 #8

Open
geniusgogo opened this issue Dec 19, 2022 · 3 comments
Open

arm32有些包编译出错 #8

geniusgogo opened this issue Dec 19, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@geniusgogo
Copy link

Xmake 版本

2.7.3

操作系统版本和架构

ubuntu 20.04

描述问题

xmake buildroot --menuconfig
note: install or modify (m) these packages (pass -y to skip confirm)?
in rt-xrepo:
-> curl 7.70.0 [toolchains:"arm-linux-musleabi"]
please input: y (y/n/m)
y
=> install curl 7.70.0 .. failed

attempt to concatenate a nil value (global 'CROSS_COMPILE')
if you want to get more verbose errors, please see:
-> /home/geniusgogo/.xmake/cache/packages/2212/c/curl/7.70.0/installdir.failed/logs/install.txt
error: install failed!

xmake buildroot --menuconfig
^[[Anote: install or modify (m) these packages (pass -y to skip confirm)?
in rt-xrepo:
-> wget 1.20 [toolchains:"arm-linux-musleabi"]
please input: y (y/n/m)
y
=> install wget 1.20 .. failed

/usr/bin/make all-recursive
make[1]: Entering directory '/home/geniusgogo/.xmake/cache/packages/2212/w/wget/1.20/source'
Making all in lib
make[2]: Entering directory '/home/geniusgogo/.xmake/cache/packages/2212/w/wget/1.20/source/lib'
GEN alloca.h
GEN fcntl.h
GEN fnmatch.h
GEN getopt.h
GEN getopt-cdefs.h
GEN arpa/inet.h
GEN inttypes.h
GEN limits.h
GEN langinfo.h
GEN locale.h
GEN netdb.h
GEN signal.h
GEN spawn.h
if you want to get more verbose errors, please see:
-> /home/geniusgogo/.xmake/cache/packages/2212/w/wget/1.20/installdir.failed/logs/install.txt
error: install failed!
warning: includes("scripts/buildoption.lua") cannot find any files!

期待的结果

类似于:
=> install zlib 1.2.8 .. ok
=> install dropbear 2022.82 .. ok
=> install pcre 8.44 .. ok
=> install busybox 1.32.0 .. ok
=> install openssl 1.1.1i .. ok

工程配置

No response

附加信息和错误日志

No response

@geniusgogo geniusgogo added the bug Something isn't working label Dec 19, 2022
@geniusgogo
Copy link
Author

aarch64的话更加严重

@waruqi
Copy link
Member

waruqi commented Dec 19, 2022

xmake buildroot --menuconfig
attempt to concatenate a nil value (global 'CROSS_COMPILE')

smartbuild ? 这个看着跟 xmake 没啥关系,你应该到 smartbuild 那边反馈。。CROSS_COMPILE 看着也是 smartbuild 里面的脚本,不是 xmake 里面的。。

@waruqi
Copy link
Member

waruqi commented Dec 19, 2022

最新仓库 移到 https://gitee.com/rtthread/smart-build 这里了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants