On Wed, Feb 28, 2007 at 07:36:27AM +0000, Guyeng Gankhuyag wrote:
> on PIII 800 PC System, Ubuntu 5.04, kernel 2.6.10-5-386
> 
> the build breaks whenever I include the ext2_fs.h header into C file as 
> simple as following:
> 
> #include <stdio.h>
> #include <string.h>
> #include <time.h>
> #include <sys/stat.h>
> #include <linux/ext2_fs.h>
> #include <fcntl.h>

So you are including a kernel header in your program.

> 
> int main()
> {
> 
>       return 0;
> }
> 
> I really believe what you guys do is a crap.

And report this in a mailing list used to report bugs
in the make program.
This list is not for random build failures.

So a few points to consider:
1) This is not related to problems with make.
2) You have a missing dependency - ext_fs.h needs one
   or a few .h files included to compile.
   grep is your friend here - or look at other
   progrmas that uses ext2_fs.h.
3) Reporting this type of basic
   problem I have the impression you try
   to do something where you do not need
   to deal with the internals of etx2.
   For basic file operations use the glibc
   provided header files.

        Sam


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to