Re: 5 compile errors for 2.4-BK

From: Christian Kujau
Date: Wed Nov 03 2004 - 08:57:03 EST


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

Adrian Bunk schrieb:
> 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)

> 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)

> 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-----
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/