lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-users] Re: [lwip] Compilation problem


From: Adam Dunkels
Subject: [lwip-users] Re: [lwip] Compilation problem
Date: Thu, 09 Jan 2003 01:36:26 -0000

HI!

On Tue, 2002-07-23 at 06:49, harish jayaraj wrote:
>     I 'am unable to comiiple the Lwip source code. I 'am using a 
> cosy compiler.
> I get error stating that "PACK_STRUCT_STRUCT" is redeclared with 
> diffent type. And I feel that it is true. This struct exist in 
> more than one file and hence the error.

The PACK_STRUCT_STRUCT is a macro that should be #defined in the arch/
include files. Look in the arch/unix/include/arch/cc.h file for example.

The PACK_STRUCT_STRUCT is attached to every struct that should be packed
by the C compiler. Check the compiler's manual and the settings for how
to pack structures.

/adam
-- 
Adam Dunkels <address@hidden>
http://www.dunkels.com/adam/

[This message was sent through the lwip discussion list.]




reply via email to

[Prev in Thread] Current Thread [Next in Thread]