undefined reference to `main'
When I want to use the toolchains, the error happend
zhy@mmgc2:~/buildroot/output/host/bin$ aarch64-buildroot-linux-gnu-gcc
/home/zhy/cca-stack/buildroot/output/host/lib/gcc/aarch64-buildroot-linux-gnu/12.3.0/../../../../aarch64-buildroot-linux-gnu/bin/ld: /home/zhy/cca-stack/buildroot/output/host/aarch64-buildroot-linux-gnu/sysroot/usr/lib/../lib64/crt1.o: in function __wrap_main': start.o:(.text+0x38): undefined reference to main'
collect2: error: ld returned 1 exit status