-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 12 April 2002 15:16, you wrote:
> On Fri, 12 Apr 2002 14:18:49 +0300
>
> "Ilia Trendafilov" <[EMAIL PROTECTED]> wrote:
> >     Zdraveite,
> >   Poslednite dni si namerih nova zanimavka - pisaneto na LKMs
> > Ne mi triabva za neshto seriozno, samo s poznavatelna cel. Obache imam
> > slednia problem: dolnia mnogo prost source:
> > ------------------------------------------
> > #define MODVERSIONS
>
> #include <sys/types.h>
Mnogo interesno kavo shte stane ako naprimer pravi "cross-compile" na toia 
modul za SPARC64.
Pone spored men size_t na negovoto libc i tova ot 
/usr/src/linux/include/linux/types.h shte sa dosta razli4i :)
:)
>
> > #include <linux/modversions.h>
> > #include <linux/kernel.h>
> > #include <linux/module.h>
> >
> > int init_module()
> > {
> >     printk("<1> Hello World Module Start\n");
> >     return 0;
> > }
> >
> > void cleanup_module()
> > {
> >     printk("<1> Hello World Module Cleanup\n");
> > }
> > ------------------------------------------
> > compiliram s komanden red:
> > ------------------------------------------
> > [edac kmod]$ gcc -c -DMODULE -D__KERNEL__ -DLINUX m1hw.c
> > In file included from m1hw.c:3:
> > /usr/include/linux/kernel.h:73: parse error before `size_t'
> > /usr/include/linux/kernel.h:75: parse error before `size_t'
> > In file included from /usr/include/asm/page.h:16,
> >                  from /usr/include/asm/processor.h:13,
> >                  from /usr/include/linux/prefetch.h:13,
> >                  from /usr/include/linux/list.h:6,
> >                  from /usr/include/linux/module.h:12,
> >                  from m1hw.c:4:
> > /usr/include/asm/mmx.h:10: parse error before `size_t'
> > ------------------------------------------
> > Rovih se iz .h files ama ne mojah da vidia neshto trevojno.
> > gcc 2.95.3,
> > kernel 2.4.18
> > /*
> > #define CONFIG_MODULES 1
> > #define CONFIG_MODVERSIONS 1
> > #define CONFIG_KMOD 1
> > */
> > /usr/include/asm e symlink kym /usr/src/linux/include/asm, koeto
> > pyk e symlink kym /usr/src/linux/include/asm-i386
> > /usr/include/linux e symlink kum /usr/src/linux/include/linux
> > /* ako gornite neshta imat niakakvo znachenie */
> >
> > Blagodaria predvaritelno i syjeliavam za leko dylgia mail
> >
> > =====================================================================
> > ====== A mail-list of Linux Users Group - Bulgaria (bulgarian
> > linuxers) http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd.
> > - Stara Zagora
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8t46tmx3uqe61brwRAsd1AKDDeP7WxJo72VfVq3LcAmCQXePuAgCfZyhz
eqe+Yq4LqJyaKEgG8tu+Ygc=
=XYWi
-----END PGP SIGNATURE-----
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora

  • ... Ilia Trendafilov
    • ... Ангел Вълков
    • ... Dimitar Peikov
      • ... George Danchev
        • ... Dimitar Peikov
          • ... Alexander Atanasov
            • ... Dimitar Peikov
        • ... Ilia Trendafilov
          • ... George Danchev
          • ... Ангел Вълков
      • ... Ангел Вълков
    • ... Alexander Atanasov
    • ... Alexander Atanasov
      • ... Dimitar Peikov

Reply via email to