2002-01-05 02:08:45

by Sid Boyce

[permalink] [raw]
Subject: 2.5.1-dj11/12 compile errors

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -c -o init/do_mounts.o init/do_mounts.c
init/do_mounts.c: In function `rd_load_disk':
init/do_mounts.c:634: incompatible type for argument 2 of `create_dev'
init/do_mounts.c: In function `handle_initrd':
init/do_mounts.c:752: incompatible type for argument 1 of `kdev_t_to_nr'
init/do_mounts.c:756: incompatible type for argument 2 of `create_dev'
init/do_mounts.c:777: incompatible types in assignment
init/do_mounts.c: In function `initrd_load':
init/do_mounts.c:804: incompatible type for argument 2 of `create_dev'
init/do_mounts.c:805: incompatible type for argument 2 of `create_dev'
init/do_mounts.c: In function `prepare_namespace':
init/do_mounts.c:819: incompatible types in assignment
make: *** [init/do_mounts.o] Error 1


Attachments:
dj11_12_err (944.00 B)

2002-01-05 02:23:46

by Dave Jones

[permalink] [raw]
Subject: Re: 2.5.1-dj11/12 compile errors

On Sat, 5 Jan 2002, Sid Boyce wrote:

> See attached.

Yup, initrd is still borked (in -linus too). I'll take a look
at fixing it in the morning.

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs

2002-01-06 03:24:50

by Sid Boyce

[permalink] [raw]
Subject: Re: 2.5.1-dj11/12 compile errors

Disabling initrd still produces an error, but perhaps the fix will
address this.
Regards

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes
-Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -c
-o init/do_mounts.o init/do_mounts.c
init/do_mounts.c: In function `rd_load_disk':
init/do_mounts.c:634: incompatible type for argument 2 of `create_dev'
init/do_mounts.c: In function `handle_initrd':
init/do_mounts.c:752: incompatible type for argument 1 of `kdev_t_to_nr'
init/do_mounts.c:756: incompatible type for argument 2 of `create_dev'
init/do_mounts.c:777: incompatible types in assignment
init/do_mounts.c: In function `initrd_load':
init/do_mounts.c:804: incompatible type for argument 2 of `create_dev'
init/do_mounts.c:805: incompatible type for argument 2 of `create_dev'
init/do_mounts.c: In function `prepare_namespace':
init/do_mounts.c:819: incompatible types in assignment
make: *** [init/do_mounts.o] Error 1

--
Sid Boyce ... hamradio G3VBV ... Cessna/Warrior Pilot
Linux only shop