From: Andrew M. <mo...@or...> - 2008-12-06 00:35:34
|
On Thu, 4 Dec 2008, Andrew Morgan wrote: > I've never been able to compile the DDP kernel driver on Solaris 10 until > now. After many days of trying to debug a problem compiling > sys/solaris/tpi.c whenever the /usr/include/sys/proc.h file was processed, > I finally discovered the problem. > > Sun's SUNWgcc package creates some GCC-specific include files in the > directory /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/include/. These > are generated by the program > /usr/sfw/libexec/gcc/sparc-sun-solaris2.10/3.4.3/install-tools/mkheaders. > I think it runs this program when the package is installed. Either way, I > had an out-of-date copy of sys/types.h in the gcc include directory which > was overriding the /usr/include/sys/types.h file. Once I re-ran > mkheaders, I was able to successfully compile the 64-bit DDP kernel > module. > > Next, I'll try loading the module on a test server to see if it works! And, it works! So the 2.0.4 release of Netatalk will have a working DDP module again (in Solaris 10 anyways). Andy |