From: robert seczkowski <j_red@sz.onet.pl>
To: kaos@ocs.com.au
Cc: linux-kernel@vger.kernel.org
Subject: kernel
Date: Thu, 31 May 2001 13:31:56 +0200 [thread overview]
Message-ID: <01053113302200.01722@laptop> (raw)
I have problem with kernel 2.4.2 from red hat 7.2 distribution.
This problem appears when I type make modules.
and it seems like compiler doesn't understand extern in function
declaration
gcc version 2.96 20000731
Thanks in advance
below log:
make -C kernel CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE
-DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h"
MAKING_MODULES=1 modules
make[1]: Wchodzę katalog `/home/linux-2.4.2/kernel'
make[1]: Nie nic do roboty w `modules'.
make[1]: Opuszczam katalog `/home/linux-2.4.2/kernel'
make -C drivers CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4/include -Wall
-Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common
-Wno-unused -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE
-DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h"
MAKING_MODULES=1 modules
make[1]: Wchodzę katalog `/home/linux-2.4.2/drivers'
make -C block modules
make[2]: Wchodzę katalog `/home/linux-2.4.2/drivers/block'
gcc -D__KERNEL__ -I/usr/src/linux-2.4/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -fno-common -Wno-unused -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux-2.4/include/linux/modversions.h -c -o floppy.o floppy.c
In file included from /usr/src/linux-2.4/include/linux/spinlock.h:35,
from /usr/src/linux-2.4/include/linux/module.h:11,
from floppy.c:137:
/usr/src/linux-2.4/include/asm/spinlock.h:8: nondigits in number and not
hexadecimal
/usr/src/linux-2.4/include/asm/spinlock.h:8: nondigits in number and not
hexadecimal
/usr/src/linux-2.4/include/asm/spinlock.h:8: parse error before `1b7d4074'
/usr/src/linux-2.4/include/asm/spinlock.h:9: `printk_R_ver_str' declared as
function returning a function
/usr/src/linux-2.4/include/asm/spinlock.h:9: warning: function declaration
isn't a prototype
In file included from floppy.c:137:
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not
hexadecimal
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not
hexadecimal
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not
hexadecimal
/usr/src/linux-2.4/include/linux/module.h:173: nondigits in number and not
hexadecimal
/usr/src/linux-2.4/include/linux/module.h:173: parse error before `62dada05'
/usr/src/linux-2.4/include/linux/module.h:173:
`inter_module_register_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:173: warning: function declaration
isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:174: nondigits in number and not
hexadecimal
/usr/src/linux-2.4/include/linux/module.h:174: missing white space after
number `7a9e845'
/usr/src/linux-2.4/include/linux/module.h:174: parse error before `7a9e845'
/usr/src/linux-2.4/include/linux/module.h:174:
`inter_module_unregister_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:174: warning: function declaration
isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:175: `inter_module_get_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:175: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/linux/module.h:176:
`inter_module_get_request_R_ver_str' declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:176: warning: parameter names
(without types) in function declaration
/usr/src/linux-2.4/include/linux/module.h:177: nondigits in number and not
hexadecimal
/usr/src/linux-2.4/include/linux/module.h:177: nondigits in number and not
hexadecimal
/usr/src/linux-2.4/include/linux/module.h:177: nondigits in number and not
hexadecimal
/usr/src/linux-2.4/include/linux/module.h:177: parse error before `6b99f7d8'
/usr/src/linux-2.4/include/linux/module.h:177: `inter_module_put_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:177: warning: function declaration
isn't a prototype
/usr/src/linux-2.4/include/linux/module.h:186: `try_inc_mod_count_R_ver_str'
declared as function returning a function
/usr/src/linux-2.4/include/linux/module.h:186: warning: parameter names
(without types) in function declaration
make[2]: *** [floppy.o] Błąd 1
make[2]: Opuszczam katalog `/home/linux-2.4.2/drivers/block'
make[1]: *** [_modsubdir_block] Błąd 2
make[1]: Opuszczam katalog `/home/linux-2.4.2/drivers'
make: *** [_mod_drivers] Błąd 2
next reply other threads:[~2001-05-31 11:28 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-31 11:31 robert seczkowski [this message]
2001-05-31 11:45 ` kernel Alan Cox
2001-05-31 11:52 ` kernel Keith Owens
-- strict thread matches above, loose matches on Subject: below --
2023-09-07 12:07 kernel Artemis Ramirez
2011-09-16 12:43 Kernel Jestin Joy
2011-09-16 17:17 ` Kernel DiP
2005-08-12 11:58 kernel Srinivas K
2005-08-12 12:11 ` kernel Erik Mouw
2005-08-25 4:45 ` kernel Shwetha V
2005-08-25 7:40 ` kernel vamsi krishna
2005-08-25 9:38 ` kernel Jesper Juhl
2005-09-16 8:06 ` kernel Chikkali
2006-03-31 10:34 ` kernel vinayak
2003-10-23 13:34 Kernel Háber János
2003-10-23 16:48 ` Kernel Takashi Iwai
2003-02-22 7:15 kernel paul raj
2003-02-22 8:15 ` kernel Jurriaan
2002-10-23 12:32 Kernel Paul Kraus
2002-10-23 14:20 ` Kernel Steven Smith
2002-10-23 19:38 ` Kernel Jos Lemmerling
2002-08-28 21:18 kernel N1UAN Bob
2002-05-15 14:39 kernel Melissa Vandenbrink
2002-04-29 15:21 kernel Halil Demirezen
2001-10-18 15:09 kernel tushar korde
2001-10-18 16:12 ` kernel Mark Frazer
2000-11-07 3:55 kernel Joe Harrington
2000-11-07 4:09 ` kernel David Riley
2000-01-31 13:38 Kernel Jori
1998-03-06 18:25 xntp ralf
1998-03-06 22:49 ` kernel Ulf Carlsson
1998-03-06 23:56 ` kernel ralf
1998-03-07 21:37 ` kernel Ulf Carlsson
1998-03-07 22:20 ` kernel Oliver Frommel
1998-03-08 9:58 ` kernel Ulf Carlsson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=01053113302200.01722@laptop \
--to=j_red@sz.onet.pl \
--cc=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.