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

build error with "cc1: error: too many filenames given. Type cc1 --help for usage" #5

Open
marviniter opened this issue May 7, 2024 · 1 comment

Comments

@marviniter
Copy link

Build lib error with:

cc1: error: too many filenames given.  Type cc1 --help for usage
cc1: fatal error: CMakeFiles/test_alloc.dir/test_alloc.c.d: No such file or directory
compilation terminated.
@A-transformer
Copy link
Contributor

same issue
make[1]: *** [CMakeFiles/Makefile2:718: test/CMakeFiles/test_runtime_host_alloc.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:484: test/CMakeFiles/test_alloc_managed.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:562: test/CMakeFiles/test_create_array.dir/all] Error 2
cc1: error: too many filenames given; type ‘cc1 --help’ for usage
cc1: fatal error: CMakeFiles/test_runtime_alloc_managed.dir/test_runtime_alloc_managed.c.d: No such file or directory
compilation terminated.
make[2]: *** [test/CMakeFiles/test_host_register.dir/build.make:76: test/CMakeFiles/test_host_register.dir/test_host_register.c.o] Error 1
make[2]: Leaving directory '/root/HAMi-core/build'
make[1]: *** [CMakeFiles/Makefile2:614: test/CMakeFiles/test_host_register.dir/all] Error 2
make[2]: *** [test/CMakeFiles/test_runtime_alloc_managed.dir/build.make:76: test/CMakeFiles/test_runtime_alloc_managed.dir/test_runtime_alloc_managed.c.o] Error 1
make[2]: Leaving directory '/root/HAMi-core/build'
make[1]: *** [CMakeFiles/Makefile2:692: test/CMakeFiles/test_runtime_alloc_managed.dir/all] Error 2
cc1: error: too many filenames given; type ‘cc1 --help’ for usage
cc1: fatal error: CMakeFiles/test_runtime_alloc.dir/test_runtime_alloc.c.d: No such file or directory
compilation terminated.
make[2]: *** [test/CMakeFiles/test_runtime_alloc.dir/build.make:76: test/CMakeFiles/test_runtime_alloc.dir/test_runtime_alloc.c.o] Error 1

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