Skip to contentSkip to conversation

5 compile errors for 2.4-BK

DISCUSSION Christian 2 participants 3 messages Nov 2, 2004 – Nov 3, 2004

lore
Share & tools
lore

Christian

author
#0 lore raw

every day my scripts compile several kernel from the latest -BK tree, since oct, 30. there are 5 compile errors shown in:

make[3]: [neighbour.o] Error 1 (ignored) make[3]: [core.o] Error 1 (ignored) make[3]: [arp.o] Error 1 (ignored) make[3]: [ipv4.o] Error 1 (ignored) make[1]: [first_rule] Error 2 (ignored)

[and that's why these 2 occur too:]

make: [vmlinux] Error 1 (ignored)
make: [zImage] Error 2 (ignored)

full make logs, configs here:
http://www.nerdbynature.de/bits/sheep/latest-kernel/
- make-2.4-i386-BK.log
- make-2.4-ppc-BK.log
- errors-2.4-i386-BK.log
- errors-2.4-ppc-BK.log
- config-i386-2.4.28-rc1
- config-ppc-2.4.28-rc1

this is all with debian/unstable, using gcc-3.4.2, binutils-2.15 (both for native i386-compiler and cross-compiler)

maybe someone may find this useful...

thanks,
Christian.

Signature · 3 lines
BOFH excuse #303:

fractal radiation jamming the backbone
#1 lore raw
Quoted 9 lines · Christian

every day my scripts compile several kernel from the latest -BK tree, since oct, 30. there are 5 compile errors shown in:

make[3]: [neighbour.o] Error 1 (ignored) make[3]: [core.o] Error 1 (ignored) make[3]: [arp.o] Error 1 (ignored) make[3]: [ipv4.o] Error 1 (ignored) make[1]: [first_rule] Error 2 (ignored)

Quoted 4 lines

[and that's why these 2 occur too:]

make: [vmlinux] Error 1 (ignored)
make: [zImage] Error 2 (ignored)

This part of the errors alone is useless.

Quoted 4 lines

full make logs, configs here:
...
this is all with debian/unstable, using gcc-3.4.2, binutils-2.15 (both
...

Did you manually change your gcc link or are you using gcc 3.3 ?

Quoted 1 line

maybe someone may find this useful...

Other people already do similar things.

The interesting thing is the exact error message. Your 5 errors are actually only two (similar) compile errors.

For being really useful, a posting of the error messages of the two actual error messages would be useful. If you trace down who is "guilty" for the compile error and Cc the person in question it's even better (but please check linux-kernel before being the tenth person reporting the same issue).

Quoted 2 lines

thanks,
Christian.

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
#2 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 1 line · Adrian Bunk

Did you manually change your gcc link or are you using gcc 3.3 ?

well, it's a debian system and /etc/alternatives exist. so /usr/bin/gcc points to /etc/alternatives/gcc and this points to /usr/bin/gcc-3.4 and gcc-3.4 is really gcc-3.4.2:

evil@sheep:~$ gcc --version
gcc (GCC) 3.4.2 (Debian 3.4.2-3)
Quoted 1 line

The interesting thing is the exact error message.

that's why i posted the url with the exact errors, but i can do it here too. taken from:
http://nerdbynature.de/bits/sheep/latest-kernel/make-2.4-i386-BK.log

neighbour.c: In function `neigh_seq_stop':
neighbour.c:1805: warning: unused variable `tbl'
neighbour.c: At top level:
neighbour.c:1901: error: THIS_MODULE' undeclared here (not in a function) neighbour.c:1901: error: initializer element is not constant neighbour.c:1901: error: (near initialization for neigh_stat_seq_fops.owner') make[3]: [neighbour.o] Error 1 (ignored)

arp.c:1342: error: THIS_MODULE' undeclared here (not in a function) arp.c:1342: error: initializer element is not constant arp.c:1342: error: (near initialization for arp_seq_fops.owner') make[3]: [arp.o] Error 1 (ignored)

Quoted 1 line

Your 5 errors are actually only two (similar) compile errors.

yes, 2 errors, the other ones were only deduced by them.

thanks,
Christian.
- --
BOFH excuse #437:

crop circles in the corn shell
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBiONZ+A7rjkF8z0wRAtd4AJ9cO2nBMT8Q3Wx5KnlOFF0u/7D9MQCfe47a NmEIEq3NXxHeEUt1vSHQbvs=
=osRi
-----END PGP SIGNATURE-----