there is one main() function in git/daemon.c, so i try to build it
but failed, what is the rea
gcc daemon.c
In file included from daemon.c:1:
cache.h:11:10: error: #include expects "FILENAME" or <FILENAME>
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’re missing a whole bunch of compiler flags that would normally be generated by
autoconfand used byMakefileand the whole rest of the build infrastructure.Without seeing the contents of
cache.h, we can only guess at what’s actually going on, but, rather than trying to manually compile individual files, you should compile it within the framework included – the instructions are in the file namedINSTALL.