public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Christian Kujau <evil@g-house.de>
To: LKML <linux-kernel@vger.kernel.org>
Cc: linux-net@vger.kernel.org, pedro_m@yahoo.com
Subject: Re: 5 compile errors for 2.4-BK
Date: Wed, 03 Nov 2004 14:55:38 +0100	[thread overview]
Message-ID: <4188E35A.1020905@g-house.de> (raw)
In-Reply-To: <20041102173337.GG4978@stusta.de>

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

      reply	other threads:[~2004-11-03 13:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-02 14:07 5 compile errors for 2.4-BK Christian
2004-11-02 17:33 ` Adrian Bunk
2004-11-03 13:55   ` Christian Kujau [this message]

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=4188E35A.1020905@g-house.de \
    --to=evil@g-house.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=pedro_m@yahoo.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox