On Thu, Sep 08, 2005 at 12:24:37PM -0700, Shakthi Kannan wrote: > I am trying to compile GNU Mach 1.3 i386/i386at/lpr.c > driver.
> The kernel image is created, but, objdump on the > kernel image does not have any lpr functions in it. > Even lpr.o is not created. That is a bug in GNU Mach's build system. [...]/lpr.o needs to be added to objfiles, but it isn't. The problem is basically that the whole build is driven by the "all-architectures" Makefile, which doen't know about the architecture specific configure options, which `--enable-lpr' is (the only one, though). Fixing that issue properly isn't quite easy: GNU Mach's build system needs to be reordered a bit. I already began to deal with that task; I'll continue if there is interest in applying that patch. I started by moving the architecture specific rules from [GNU Mach]/Makefile and the whole of [GNU Mach]/i386/Makefrag into [GNU Mach]/i386/Makefile, shared functions into [GNU Mach]/Makerules, making [GNU Mach]/i386/Makefile build the architecture specific object files and Linux's drivers and store them as [GNU Mach]/i386/sysdep.o, which in turn is used by [GNU Mach]/Makefile to build the kernel image from that file and the architecture independent ones. I've also seen reports that GNU Mach's lpr isn't functional at all. Can you, Shakthi, verify that it works using a hack to make it build, like the one you posted? Regards, Thomas _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd