Re: Still getting: `pci_setup' undeclared here (not in a function)

Martin Mares (mj@atrey.karlin.mff.cuni.cz)
Wed, 15 Apr 1998 15:32:54 +0200


Hi,

> I dropped back to 2.1.94 hoping for a clean install. I'm still getting
> the following even after upgrading everything in linux/Documentation/Changes:
>
> {0}:dogbert:/usr/src/linux>make zImage
> gcc -D__KERNEL__ -I/usr/src/linux-2.1.94/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__SMP__ -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686 -D__SMP__ -c -o init/main.o init/main.c
> init/main.c:749: `pci_setup' undeclared here (not in a function)
> init/main.c:749: initializer element for `raw_params[1].setup_func' is not constant
> init/main.c: In function `start_kernel':
> init/main.c:1079: too few arguments to function `pci_init'
> make: *** [init/main.o] Error 1
>
> Can anyone tell me what I need to fix/upgrade to get this working?

Can you send me your .config?

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"A LISP programmer knows value of everything, but cost of nothing."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu