I am using automake on Debian Squeeze for compiling a very simple C project with 6 source files.
The issue comes when I try to compile the sources using the generated Makefile. One of the sources (ll_socket.c) uses system libraries like and . Those dependencies should appear in the ".deps/ll_socket.Tpo" file automatically generated; however, that file is empty and, therefore, when GCC tries to compile that file, it cannot find the dependencies for the compilation.
Any ideas about how to solve this problem?