[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] [lwip] Multiple declaration error
From: |
Earle Clubb |
Subject: |
[lwip-users] [lwip] Multiple declaration error |
Date: |
Wed, 08 Jan 2003 23:58:34 -0000 |
When I try to compile the lwIP stack, I get an error about multiple
definitions of PACK_STRUCT_STRUCT. This is defined in about 10 different
places such as the structures below:
struct icmp_echo_hdr {
PACK_STRUCT_FIELD(u16_t _type_code);
PACK_STRUCT_FIELD(u16_t chksum);
PACK_STRUCT_FIELD(u16_t id);
PACK_STRUCT_FIELD(u16_t seqno);
} PACK_STRUCT_STRUCT;
struct icmp_dur_hdr {
PACK_STRUCT_FIELD(u16_t _type_code);
PACK_STRUCT_FIELD(u16_t chksum);
PACK_STRUCT_FIELD(u32_t unused);
} PACK_STRUCT_STRUCT;
struct icmp_te_hdr {
PACK_STRUCT_FIELD(u16_t _type_code);
PACK_STRUCT_FIELD(u16_t chksum);
PACK_STRUCT_FIELD(u32_t unused);
} PACK_STRUCT_STRUCT;
Should they be commented out or is there a reason for the multiple
definitions?
Thanks.
Earle Clubb
Software Engineer
Valcom, Inc.
E-mail: address@hidden
Voice: (540) 563-2000 ext.253
[This message was sent through the lwip discussion list.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] [lwip] Multiple declaration error,
Earle Clubb <=