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

Running build_rootfs failed! when 'mc' package enabled. luckfox pico A. buildroot #186

Open
allex1978 opened this issue Oct 28, 2024 · 1 comment

Comments

@allex1978
Copy link

I'm unable to build the buildroot firmware with MidnightCommander app on luckfox pico A .

[99/510] Linking target glib/libglib-2.0.so.0.7200.3
FAILED: glib/libglib-2.0.so.0.7200.3
.....
.....
.....
/usr/bin/ld: glib/libglib-2.0.so.0.7200.3.p/gconvert.c.o: in function g_iconv_open': gconvert.c:(.text+0x50b): undefined reference to libiconv_open'
/usr/bin/ld: gconvert.c:(.text+0x574): undefined reference to libiconv_open' /usr/bin/ld: gconvert.c:(.text+0x5a4): undefined reference to libiconv_open'
/usr/bin/ld: gconvert.c:(.text+0x60a): undefined reference to libiconv_open' /usr/bin/ld: glib/libglib-2.0.so.0.7200.3.p/gconvert.c.o: in function g_iconv':
gconvert.c:(.text+0x625): undefined reference to libiconv' /usr/bin/ld: glib/libglib-2.0.so.0.7200.3.p/gconvert.c.o: in function g_iconv_close':
gconvert.c:(.text+0x635): undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status
[103/510] Generating gio/gdbus-daemon-generated with a custom command
ninja: build stopped: subcommand failed.
make[1]: *** [package/pkg-generic.mk:293: /home/alex/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6/output/build/host-libglib2-2.72.3/.stamp_built] Error 1
make[1]: Leaving directory '/home/alex/luckfox-pico/sysdrv/source/buildroot/buildroot-2023.02.6'
make: *** [Makefile:617: buildroot] Error 2
make: Leaving directory '/home/alex/luckfox-pico/sysdrv'
[build.sh:error] Running build_rootfs failed!
[build.sh:error] exit code 2 from line 839:

@luckfox-eng33
Copy link
Contributor

Hi, the buildroot option does not allow us to make sure that all programs are working, but you can retrieve the dependencies and why the errors are there yourself!

In the buildroot directory you can get some helpful information with the following commands

make graph-build

make graph-size

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants