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

编译时第三步出现问题 #20

Open
ccbirds opened this issue Feb 21, 2020 · 5 comments
Open

编译时第三步出现问题 #20

ccbirds opened this issue Feb 21, 2020 · 5 comments

Comments

@ccbirds
Copy link

ccbirds commented Feb 21, 2020

执行命令:make csky_gx6605s_defconfig

报错:
make -C /home/czq/buildroot/buildroot-ded3f9954f158b5d9cd08ae76749eade72fcca3a O=/home/czq/buildroot/
make[1]: Entering directory '/home/czq/buildroot/buildroot-ded3f9954f158b5d9cd08ae76749eade72fcca3a'
Makefile:926: *** Please configure Buildroot first (e.g. "make menuconfig"). Stop.
make[1]: Leaving directory '/home/czq/buildroot/buildroot-ded3f9954f158b5d9cd08ae76749eade72fcca3a'
Makefile:52: recipe for target 'csky_gx6605s_defconfig' failed
make: *** [csky_gx6605s_defconfig] Error 2

请问是什么问题?应该怎么解决

@bzd2132
Copy link

bzd2132 commented Feb 22, 2020

试试 make CONF=csky_gx6605s_defconfig

@ccbirds
Copy link
Author

ccbirds commented Feb 22, 2020

命令:make CONF=csky_gx6605s_defconfig
还是报错,请问这是什么原因,应该怎么解决?
是VM虚拟机下的Ubuntu 18.04.4 LTS

make -C /home/czq/c-sky/buildroot/buildroot-ded3f9954f158b5d9cd08ae76749eade72fcca3a csky_gx6605s_defconfig O=/home/czq/c-sky/buildroot/csky_gx6605s_defconfig
make[1]: Entering directory '/home/czq/c-sky/buildroot/buildroot-ded3f9954f158b5d9cd08ae76749eade72fcca3a'
GEN /home/czq/c-sky/buildroot/csky_gx6605s_defconfig/Makefile

WARNING: unmet direct dependencies detected for BR2_PACKAGE_NTFS_3G
Depends on [n]: BR2_USE_WCHAR [=n] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_USE_MMU [=y] && !BR2_STATIC_LIBS [=n]
Selected by [y]:

  • BR2_PACKAGE_NTFS3G_CI [=y] && BR2_PACKAGE_CSKY_CI [=y]

WARNING: unmet direct dependencies detected for BR2_PACKAGE_NTFS_3G
Depends on [n]: BR2_USE_WCHAR [=n] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_USE_MMU [=y] && !BR2_STATIC_LIBS [=n]
Selected by [y]:

  • BR2_PACKAGE_NTFS3G_CI [=y] && BR2_PACKAGE_CSKY_CI [=y]

configuration written to /home/czq/c-sky/buildroot/csky_gx6605s_defconfig/.config

make[1]: Leaving directory '/home/czq/c-sky/buildroot/buildroot-ded3f9954f158b5d9cd08ae76749eade72fcca3a'
make -C /home/czq/c-sky/buildroot/csky_gx6605s_defconfig all
make[1]: Entering directory '/home/czq/c-sky/buildroot/csky_gx6605s_defconfig'
/usr/bin/make -j1 O=/home/czq/c-sky/buildroot/csky_gx6605s_defconfig HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" syncconfig
GEN /home/czq/c-sky/buildroot/csky_gx6605s_defconfig/Makefile

WARNING: unmet direct dependencies detected for BR2_PACKAGE_NTFS_3G
Depends on [n]: BR2_USE_WCHAR [=n] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_USE_MMU [=y] && !BR2_STATIC_LIBS [=n]
Selected by [y]:

  • BR2_PACKAGE_NTFS3G_CI [=y] && BR2_PACKAGE_CSKY_CI [=y]

WARNING: unmet direct dependencies detected for BR2_PACKAGE_NTFS_3G
Depends on [n]: BR2_USE_WCHAR [=n] && BR2_TOOLCHAIN_HAS_THREADS [=y] && BR2_USE_MMU [=y] && !BR2_STATIC_LIBS [=n]
Selected by [y]:

  • BR2_PACKAGE_NTFS3G_CI [=y] && BR2_PACKAGE_CSKY_CI [=y]

uclibc bb379dc1fb1544998838e5a3451f1937ea66ab27 Building
/usr/bin/make -j3 -C /home/czq/c-sky/buildroot/csky_gx6605s_defconfig/build/uclibc-bb379dc1fb1544998838e5a3451f1937ea66ab27 ARCH="csky" CROSS_COMPILE="/home/czq/c-sky/buildroot/csky_gx6605s_defconfig/host/bin/csky-buildroot-linux-uclibcabiv1-" UCLIBC_EXTRA_CFLAGS="" HOSTCC="/usr/bin/gcc" headers
Makefile.in:152: warning: overriding recipe for target 'include/bits/kernel_stat.h'
Makefile.in:148: warning: ignoring old recipe for target 'include/bits/kernel_stat.h'
make[3]: 'headers' is up to date.
/usr/bin/make -j3 -C /home/czq/c-sky/buildroot/csky_gx6605s_defconfig/build/uclibc-bb379dc1fb1544998838e5a3451f1937ea66ab27 ARCH="csky" CROSS_COMPILE="/home/czq/c-sky/buildroot/csky_gx6605s_defconfig/host/bin/csky-buildroot-linux-uclibcabiv1-" UCLIBC_EXTRA_CFLAGS="" HOSTCC="/usr/bin/gcc"
Makefile.in:152: warning: overriding recipe for target 'include/bits/kernel_stat.h'
Makefile.in:148: warning: ignoring old recipe for target 'include/bits/kernel_stat.h'
LD libuClibc-1.0.29.so
libc/libc_so.a(lstat.os): In function $d': lstat.c:(.text+0x70): undefined reference to __xstat32_conv'
libc/libc_so.a(lstat64.os): In function $d': lstat64.c:(.text+0x70): undefined reference to __xstat64_conv'
collect2: error: ld returned 1 exit status
libc/Makefile.in:77: recipe for target 'lib/libc.so' failed
make[3]: *** [lib/libc.so] Error 1
package/pkg-generic.mk:238: recipe for target '/home/czq/c-sky/buildroot/csky_gx6605s_defconfig/build/uclibc-bb379dc1fb1544998838e5a3451f1937ea66ab27/.stamp_built' failed
make[2]: *** [/home/czq/c-sky/buildroot/csky_gx6605s_defconfig/build/uclibc-bb379dc1fb1544998838e5a3451f1937ea66ab27/.stamp_built] Error 2
Makefile:23: recipe for target '_all' failed
make[1]: *** [_all] Error 2
make[1]: Leaving directory '/home/czq/c-sky/buildroot/csky_gx6605s_defconfig'
Makefile:52: recipe for target 'all' failed
make: *** [all] Error 2

@guoren83
Copy link
Member

guoren83 commented Feb 23, 2020 via email

@ccbirds
Copy link
Author

ccbirds commented Feb 25, 2020

有编译好的使得串口作为终端的编译文件吗?

@guoren83
Copy link
Member

guoren83 commented Feb 27, 2020 via email

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

3 participants