Skip to contentSkip to conversation

build error in page_alloc.c

2.4-bk Axel Siebenwirth 1 participant 2 messages Dec 17, 2003

lore
Share & tools
lore
#0 lore raw

Just tried to build 2.4 from current bk.
config.gz is attached.

best regards,
axel

gcc -D__KERNEL__ -I/usr/local/src/system/kernel/linus-2.4/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=pentium4 -nostdinc -iwithprefix
include -DKBUILD_BASENAME=page_alloc -DEXPORT_SYMTAB -c page_alloc.c page_alloc.c: In function _alloc_pages':
page_alloc.c:382: error: parse error before '{' token page_alloc.c:339: warning: unused variable reed' page_alloc.c: At top level:
page_alloc.c:397: error: parse error before "if"
page_alloc.c:405: warning: type defaults to nt' in declaration of one'
page_alloc.c:405: error: onelist' undeclared here (not in a function) page_alloc.c:405: warning: data definition has no type or storage class page_alloc.c:406: error: parse error before "if" page_alloc.c:258: warning: alance_classzone' defined but not used make[2]: *** [page_alloc.o] Error 1
make[2]: Leaving directory /usr/local/src/system/kernel/linus-2.4/mm'

Linux neon 2.4.24-pre1 #1 Wed Dec 10 14:47:46 CET 2003 i686 unknown unknown GNU/Linux

Gnu C                  3.3.2
Gnu make               3.80
util-linux             2.12
mount                  2.12
modutils               2.4.25
e2fsprogs              1.34
jfsutils               1.1.3
quota-tools            3.09.
PPP                    2.4.1
Linux C Library        2.3.2
Dynamic linker (ldd)   2.3.2
Linux C++ Library      5.0.5
Procps                 2.0.16
Net-tools              1.60
Kbd                    1.08
Sh-utils               5.0
Modules Loaded         sr_mod nvidia parport_pc parport nfs scanner

____________________________________________________________________________
Axel Siebenwirth phone +49 3641 776807 |
Am Birnstiel 3 axel at pearbough dot net |
07745 Jena |
Germany________________________________________________http://pearbough.net |

Eternal nothingness is fine if you happen to be dressed for it.
-- Woody Allen
____________________________________________________________________________

#1 lore raw

Hi linux-kernel!

Quoted 10 lines · Axel Siebenwirth

Just tried to build 2.4 from current bk.
config.gz is attached.

gcc -D__KERNEL__ -I/usr/local/src/system/kernel/linus-2.4/include -Wall

(quoted diff) +0 -2
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-pipe -mpreferred-stack-boundary=2 -march=pentium4   -nostdinc -iwithprefix

include -DKBUILD_BASENAME=page_alloc -DEXPORT_SYMTAB -c page_alloc.c page_alloc.c: In function _alloc_pages':
page_alloc.c:382: error: parse error before '{' token page_alloc.c:339: warning: unused variable reed'

Sorry. Missing closing brace. Didn't check the list before I wrote my report.

Regards,
Axel