Skip to contentSkip to conversation

cvs kernel does not compile

DISCUSSION Konstantinos Margaritis 4 participants 8 messages May 12, 1999 – May 13, 1999

lore
Share & tools
lore
#0 lore raw

The 2.3.0 kernel found on cvs.on.openprojects.net does not compile on
my powerpc system (debian glibc 2.1, egcs 1.1.2pre), with the following error:

gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -D__powerpc__ -fsigned-char -msoft-float -pipe -fno-builtin -ffixed-r2 -Wno-uninitialized -mmultiple -mstring -DEXPORT_SYMTAB -c ksyms.c
/usr/src/linux/include/linux/fs.h: In function `mark_buffer_clean':
In file included from /usr/src/linux/include/linux/capability.h:13,
from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:8,
from /usr/src/linux/include/linux/mm.h:4,
from /usr/src/linux/include/linux/slab.h:14, from /usr/src/linux/include/linux/malloc.h:4,
from ksyms.c:13:
/usr/src/linux/include/linux/fs.h:763: warning: implicit declaration of function
`test_and_clear_bit'
/usr/src/linux/include/linux/fs.h: In function `mark_buffer_dirty':
/usr/src/linux/include/linux/fs.h:771: warning: implicit declaration of function
`test_and_set_bit'
ksyms.c: At top level:
ksyms.c:361: init_special_inode' undeclared here (not in a function) ksyms.c:361: initializer element for __ksymtab_init_special_inode.value' is not
constant

It's the first time it does this. Any ideas?

--
Konstantinos Margaritis

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#1 lore raw
Quoted 3 lines · Konstantinos Margaritis

The 2.3.0 kernel found on cvs.on.openprojects.net does not compile on
my powerpc system (debian glibc 2.1, egcs 1.1.2pre), with the following error:

Welcome to the dev cycle. The tree can be broken once again, and only has to compile on x86. I'm sure Cort or someone will see what's going to be needed to fix up 2.3.1-pre2 soon enough.

---
Tom Rini (TR1265)
http://dobbstown.yeti.edu/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#2 lore raw
Quoted 10 lines · Tom Rini
Quoted 3 lines · Konstantinos Margaritis

The 2.3.0 kernel found on cvs.on.openprojects.net does not compile on
my powerpc system (debian glibc 2.1, egcs 1.1.2pre), with the following error:

Welcome to the dev cycle. The tree can be broken once again, and only has to compile on x86. I'm sure Cort or someone will see what's going to be needed to fix up 2.3.1-pre2 soon enough.

2.3.0 (cvs) compiled fine for me this morning, I'm running it now (LinuxPPC R5 beta):

root[8]#dmesg | grep Linux
Linux version 2.3.0 (root@chezmoi) (gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)) #14 Wed May 12 09:30:40 CEST 1999

--
Martin

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#3 lore raw
Quoted 6 lines · Martin Costabel

2.3.0 (cvs) compiled fine for me this morning, I'm running it now (LinuxPPC R5 beta):

root[8]#dmesg | grep Linux
Linux version 2.3.0 (root@chezmoi) (gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)) #14 Wed May 12 09:30:40 CEST 1999

Well. 2.3.0 is 2.2.8. 2.3.1-pre2 (in CVS now) is not. :)

---
Tom Rini (TR1265)
http://dobbstown.yeti.edu/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#4 lore raw
Quoted 11 lines · Tom Rini
Quoted 6 lines · Martin Costabel

2.3.0 (cvs) compiled fine for me this morning, I'm running it now (LinuxPPC R5 beta):

root[8]#dmesg | grep Linux
Linux version 2.3.0 (root@chezmoi) (gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)) #14 Wed May 12 09:30:40 CEST 1999

Well. 2.3.0 is 2.2.8. 2.3.1-pre2 (in CVS now) is not. :)

Indeed. 2.3.1-pre2 (in CVS now) is deeply broken. This gives us non-developers time to compile other things than kernels :-)

--
Martin

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#5 lore raw
In reply to Tom Rini
Quoted 3 lines

Well. 2.3.0 is 2.2.8. 2.3.1-pre2 (in CVS now) is not. :)

This may be a stupid question, but what is the best site to download the latest version of the kernel with the current PPC/PMac fixes?

I haven't had very good luck with the kernel src on linuxhq.com.

----ranga <[email protected]>

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#6 lore raw
Quoted 7 lines · Sriranga Veeraraghavan
Quoted 2 lines

Well. 2.3.0 is 2.2.8. 2.3.1-pre2 (in CVS now) is not. :)

This may be a stupid question, but what is the best site to download the latest version of the kernel with the current PPC/PMac fixes?

I haven't had very good luck with the kernel src on linuxhq.com.

If you are on cvs from openprojects, you can get a 2.3.0 kernel via
cvs -z3 update -D "5/12/99 10:00:00"
This is more or less the latest one that actually compiles.

But since the linuxppc developers release 1.0 is out now, the 2.2.6-15a kernel sources that come with it will probably remain a stable reference for some time to come.

--
Martin

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]

#7 lore raw
In reply to Sriranga Veeraraghavan
Quoted 5 lines · Sriranga Veeraraghavan
Quoted 2 lines

Well. 2.3.0 is 2.2.8. 2.3.1-pre2 (in CVS now) is not. :)

This may be a stupid question, but what is the best site to download the latest version of the kernel with the current PPC/PMac fixes?

Use CVS, but update your tree as:
cvs update -dP -rlinux_2_2

(http://cvs.on.openprojects.net)

---
Tom Rini (TR1265)
http://dobbstown.yeti.edu/

[[ This message was sent via the linuxppc-dev mailing list. Replies are ]] [[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]] [[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]