-
Notifications
You must be signed in to change notification settings - Fork 163
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
Comments
[root@server2 fence-agents]# ls -l /root/fence/fence-agents/agents/virt/config |
You have to run |
Thanks, I have resolved it.
The flex is missing, after installing, it works.
***@***.***
From: Oyvind Albrigtsen
Date: 2023-03-16 20:47
To: ClusterLabs/fence-agents
CC: tommy sway; Author
Subject: Re: [ClusterLabs/fence-agents] gcc: error: ./config.c: No such file or directory (Issue #532)
You have to run ./autogen.sh && ./configure to generate it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
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.cgcc: 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 ???
The text was updated successfully, but these errors were encountered: