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

gcc: error: ./config.c: No such file or directory #532

Open
tommysway opened this issue Mar 15, 2023 · 3 comments
Open

gcc: error: ./config.c: No such file or directory #532

tommysway opened this issue Mar 15, 2023 · 3 comments

Comments

@tommysway
Copy link

gcc -DHAVE_CONFIG_H -I. -I../../../make -I../../../make -I../../../make -I. -fPIC -fPIE -I../../../agents/virt/include -D_GNU_SOURCE -O2 -ggdb3 -Werror -Wall -Wshadow -Wmissing-prototypes -Wmissing-declarations -Wdeclaration-after-statement -Wpointer-arith -Wwrite-strings -Wcast-align -Wbad-function-cast -Wmissing-format-attribute -Wformat=2 -Wno-long-long -Wno-strict-aliasing -Wno-unused -MT libsimpleconfig_a-config.o -MD -MP -MF .deps/libsimpleconfig_a-config.Tpo -c -o libsimpleconfig_a-config.o test -f 'config.c' || echo './'config.c
gcc: error: ./config.c: No such file or directory
gcc: fatal error: no input files
compilation terminated.
make[4]: *** [libsimpleconfig_a-config.o] Error 4
make[4]: Leaving directory /root/fence/fence-agents/agents/virt/config' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory /root/fence/fence-agents/agents/virt'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory /root/fence/fence-agents/agents' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /root/fence/fence-agents'
make: *** [all] Error 2
[root@server2 fence-agents]#

What is the error ???

@tommysway
Copy link
Author

[root@server2 fence-agents]# ls -l /root/fence/fence-agents/agents/virt/config
total 356
-rw-r--r-- 1 root root 1507 Mar 16 00:13 config.l
-rw-r--r-- 1 root root 653 Mar 16 00:13 config-stack.h
-rw-r--r-- 1 root root 2481 Mar 16 00:13 config.y
-rw-r--r-- 1 root root 272 Mar 16 00:13 fence_virt.conf
-rw-r--r-- 1 root root 132160 Mar 16 00:16 libsimpleconfig_a-simpleconfig.o
-rw-r--r-- 1 root root 110568 Mar 16 00:17 libsimpleconfig_a-y.tab.o
-rw-r--r-- 1 root root 30943 Mar 16 00:44 Makefile
-rw-r--r-- 1 root root 1217 Mar 16 00:13 Makefile.am
-rw-r--r-- 1 root root 30076 Mar 16 00:15 Makefile.in
-rw-r--r-- 1 root root 7465 Mar 16 00:13 simpleconfig.c
-rw-r--r-- 1 root root 16657 Mar 16 00:17 y.tab.c
-rw-r--r-- 1 root root 359 Mar 16 00:17 y.tab.h
[root@server2 fence-agents]#

@oalbrigt
Copy link
Collaborator

You have to run ./autogen.sh && ./configure to generate it.

@tommysway
Copy link
Author

tommysway commented Mar 16, 2023 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

2 participants