xfs
[Top] [All Lists]

Re: [Bug 283] kernel-source-2.4.20-20.9.XFS1.3.1.i386.rpm fails to compi

To: Keith Owens <kaos@xxxxxxx>
Subject: Re: [Bug 283] kernel-source-2.4.20-20.9.XFS1.3.1.i386.rpm fails to compile
From: Mihai RUSU <dizzy@xxxxxxxxx>
Date: Tue, 28 Oct 2003 11:02:14 +0200 (EET)
Cc: xfs-master@xxxxxxxxxxx
In-reply-to: <25208.1067308447@xxxxxxxxxxxxxxxxxxxxxx>
References: <25208.1067308447@xxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Keith

thank you very much! yes, that fixes that problem _but_ I got now into 
another one :-/

make[3]: Entering directory `/usr/src/linux-2.4.20-20.9.XFS1.3.1/fs/devfs'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-20.9.XFS1.3.1/include -Wall 
- -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
- -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686   
- -nostdinc -iwithprefix include -DKBUILD_BASENAME=base  -c -o base.o base.c
base.c: In function `is_devfsd_or_child':
base.c:1417: structure has no member named `p_opptr'
base.c:1417: structure has no member named `p_opptr'
make[3]: *** [base.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-20.9.XFS1.3.1/fs/devfs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-20.9.XFS1.3.1/fs/devfs'
make[1]: *** [_subdir_devfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-20.9.XFS1.3.1/fs'
make: *** [_dir_fs] Error 2

PS: i dont get it when im not compiling with devfs but I need devfs 
support for the moment
 
On Tue, 28 Oct 2003, Keith Owens wrote:

> http://oss.sgi.com/bugzilla/show_bug.cgi?id=283
> 
> The RH kksymoops patch is ugly, it creates a separate file instead of
> putting the print_modules() function in kernel/module.c where it
> belongs.  Then the build breaks with duplicate symbols when built with
> CONFIG_MODULES=n.  Quick and dirty fix.
> 
> --- kernel/module.c.orig      2003-10-28 13:30:48.000000000 +1100
> +++ kernel/module.c   2003-10-28 13:30:56.000000000 +1100
> @@ -1284,10 +1284,6 @@ int try_inc_mod_count(struct module *mod
>       return 1;
>  }
>  
> -void print_modules(void)
> -{
> -}
> -
>  #endif       /* CONFIG_MODULES */
>  
>  
> 
> 

- ----------------------------
Mihai RUSU                                    Email: dizzy@xxxxxxxxx
GPG : http://dizzy.roedu.net/dizzy-gpg.txt    WWW: http://dizzy.roedu.net
                       "Linux is obsolete" -- AST
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/njCbPZzOzrZY/1QRAmT8AJ0asSQuMzjlo1f67wvpkpv7AAb2ngCg5gvm
nCp5kncwFIm1Nv4zHeVTw8k=
=/QXA
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>