Allow mpage.c to build

Allow mpage.c to build

Post by Russell Kin » Fri, 07 Jun 2002 00:10:11



Linus,

When trying to build mpage.c for ARM, I get errors from bio.h since kdev_t
isn't defined.  The following fixes this.

(I fail to see how this can build for anyone as it currently stands; its
probably something x86 specific buried in the asm-i386 includes.)

--- orig/fs/mpage.c     Wed May 29 23:57:08 2002

 #include <linux/kernel.h>
 #include <linux/module.h>
+#include <linux/kdev_t.h>
 #include <linux/bio.h>
 #include <linux/fs.h>
 #include <linux/buffer_head.h>

--

             http://www.arm.linux.org.uk/personal/aboutme.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Allow mpage.c to build

Post by Andrew Morto » Fri, 07 Jun 2002 05:00:11



> Linus,

> When trying to build mpage.c for ARM, I get errors from bio.h since kdev_t
> isn't defined.  The following fixes this.

> (I fail to see how this can build for anyone as it currently stands; its
> probably something x86 specific buried in the asm-i386 includes.)

> ...

/usr/src/25/include/linux/bio.h
 /usr/src/25/include/asm/io.h
  /usr/src/25/include/linux/vmalloc.h
   /usr/src/25/include/linux/mm.h
    /usr/src/25/include/linux/swap.h
     /usr/src/25/include/linux/kdev_t.h

Lovely, isn't it?

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Allow mpage.c to build

Post by Dave Jone » Fri, 07 Jun 2002 05:10:05


 > /usr/src/25/include/linux/bio.h
 >  /usr/src/25/include/asm/io.h
 >   /usr/src/25/include/linux/vmalloc.h
 >    /usr/src/25/include/linux/mm.h
                                ^^^^^
This * should be high on the list of include files that need
feeding through the include-chopper-upper.

 >     /usr/src/25/include/linux/swap.h
 >      /usr/src/25/include/linux/kdev_t.h
 > Lovely, isn't it?

Wouldn't be so bad if it were an isolated case..
Hopefully by the time we get to 2.6, a lot of this
'include by implication' nonsense can be cleaned up some more.

        Dave.

--
| Dave Jones.        http://www.veryComputer.com/
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://www.veryComputer.com/
Please read the FAQ at  http://www.veryComputer.com/

 
 
 

1. (UNIX) mpage - Thanks and (Mac) mpage

Thanks for everyone who has helped me to find the mpage program.
This is an excellent program which can print several pages in
just one sheet.  It can handle both text files and postscript files.
I compiled it on the HP stations and it runs fine.  

Now please allow me to ask once more.  Is there a program which
is similar to mpage command in UNIX?  It has to accept both text
files and postscript files.  Hope someone has ported the command
to other platforms.  

Again, from the bottom of my hear, I have to say thanks for your
great effort.  Now my life (maybe other people in my company, too)
is easier because of the mpage command!

--
+-------------------------------------------------------------------+
|//                                                               \\|
|/               Keith   Wong                                      \|
|                PMC-Sierra, Inc.                                   |

|\\                                                               //|
+-------------------------------------------------------------------+

2. procmeter-2.5 I need help

3. 2.5.5-pre1, allow RAM disk to be build

4. How to set font colors in GNOME Midnight Commander?

5. Allow jffs2/super.c to build

6. Where's a free SOCKS Server?

7. Allow aic7xx firmware to be built from BK tree.

8. BOOTLIN HELP!

9. Tweak to allow usb-midi to be built

10. visws: allow SMP kernel build without io_apic.c (1/13)

11. 2.5.42 Allow building with CONFIG_NET=n

12. allow ftp, don't allow telnet

13. LAN Telnet logins allowed, Internet not allowed