c-sky / buildroot

Buildroot for T-HEAD XuanTie CPU Series
Apache License 2.0
111 stars 54 forks source link

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

Open ccbirds opened 4 years ago

ccbirds commented 4 years ago

执行命令: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 commented 4 years ago

试试 make CONF=csky_gx6605s_defconfig

ccbirds commented 4 years ago

命令: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]:

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]:

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]:

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]:

guoren83 commented 4 years ago

git clone https://gitlab.com/c-sky/buildroot.git cd buildroot git checkout 57790609dc4e9693c7abf42f36d90da586e46502 make CONF=thead_610_compat_4.9_uclibc_br_defconfig

On Sat, Feb 22, 2020 at 9:53 PM ccbirds notifications@github.com wrote:

命令: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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/c-sky/buildroot/issues/20?email_source=notifications&email_token=AETCFK2564IEQGOSGAKZ6ULREEU45A5CNFSM4KZDSTIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMVAZOA#issuecomment-589958328, or unsubscribe https://github.com/notifications/unsubscribe-auth/AETCFKZBTXI2TTZLOPD37Z3REEU45ANCNFSM4KZDSTIA .

-- Best Regards Guo Ren

ML: https://lore.kernel.org/linux-csky/

ccbirds commented 4 years ago

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

guoren83 commented 4 years ago

https://gitlab.com/c-sky/buildroot/-/jobs/400737367/artifacts/browse/output/images/

On Tue, Feb 25, 2020 at 9:43 PM ccbirds notifications@github.com wrote:

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

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/c-sky/buildroot/issues/20?email_source=notifications&email_token=AETCFK7O6GEJS6YUH5U4EQ3REUOATA5CNFSM4KZDSTIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM4AGEA#issuecomment-590873360, or unsubscribe https://github.com/notifications/unsubscribe-auth/AETCFK6PIXJL7BL3A7ATX73REUOATANCNFSM4KZDSTIA .

-- Best Regards Guo Ren

ML: https://lore.kernel.org/linux-csky/