On Friday 21 May 2004 14:49, l x wrote: > (1) If I include them like this: > > #include </usr/src/linux-2.4.18-14/drivers/scsi/scsi.h> > #include <hosts.h> > > Everything is compiled okay. This means the path included in the > Makefile works okay because it can find hosts.h. > > (2) If I include them like this: > > #include <scsi.h> > #include <hosts.h> > > Compile errors show structures used by hosts.h can not > be found, meaning scsi.h can not be found. > > This is strange. Why only one header file can be found but not the other > while both of them are in the same directory? What can be wrong? You are probably picking up one of the other scsi.h files first. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/