From: Masami Komiya <mkomiya@sonare.it>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: [patch #9/11] VLAN/CDP networking support.
Date: Sat, 17 Apr 2004 14:37:39 +0900 [thread overview]
Message-ID: <4080C2A3.5070704@sonare.it> (raw)
In-Reply-To: 20040415214825.E8FF2C109F@atlas.denx.de
Dear Pantelis,
net/net.c can't be compiled with my poor mipsel-linux-gcc 2.96.
The message is :
mipsel-linux-gcc -g -Os -D__KERNEL__ -DTEXT_BASE=0xBFC00000
-I/home/mkomiya/u-boot.mk/include -fno-builtin -ffreestanding -nostdinc -isystem
/usr/local/lib/gcc-lib/mipsel-linux/2.96-sdelinuxmips-030324/include -pipe -DCONFIG_MIPS
-D__MIPS__ -mcpu=r4600 -EL -mabicalls -Wall -Wstrict-prototypes -c -o net.o net.c
net.c:135: initializer element is not constant
net.c:136: initializer element is not constant
It seems to be falled in the loop by
ushort NetOurVLAN = ntohs(-1)
ushort NetOurNativeVLAN = htons(-1)
Could you intialize these variables in the program ?
Best regards,
Masami Komiya
Wolfgang Denk wrote:
> In message <406988D8.4090604@intracom.gr> you wrote:
>
>>The following patch adds networking support for
>>VLANs (802.1q), and CDP (Cisco Discovery Protocol).
>
>
> Cool!!! Added. Thanks.
>
> Best regards,
>
> Wolfgang Denk
>
next prev parent reply other threads:[~2004-04-17 5:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-30 14:48 [U-Boot-Users] [patch #9/11] VLAN/CDP networking support Pantelis Antoniou
2004-04-15 21:48 ` [U-Boot-Users] " Wolfgang Denk
2004-04-15 23:34 ` Wolfgang Denk
2004-04-16 7:03 ` Pantelis Antoniou
2004-04-16 11:05 ` [U-Boot-Users] Is smc91111 driver need to be ported? ganapathi
2004-04-18 22:46 ` Wolfgang Denk
2004-04-17 5:37 ` Masami Komiya [this message]
2004-04-18 22:58 ` [U-Boot-Users] Re: [patch #9/11] VLAN/CDP networking support Wolfgang Denk
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=4080C2A3.5070704@sonare.it \
--to=mkomiya@sonare.it \
--cc=u-boot@lists.denx.de \
/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