Skip to content

Recompiling lwip gives error  #5933

Closed
@madhura-a

Description

@madhura-a

Basic Infos

  • [X ] This issue complies with the issue POLICY doc.
  • [X ] I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git).
  • [X ] I have searched the issue tracker for a similar issue.
  • [X ] If there is a stack dump, I have decoded it.
  • [X ] I have filled out all fields below.

Platform

  • Hardware: ESP8266
  • Core Version: [latest git ]
  • Development Env: [Arduino IDE]
  • Operating System: [Ubuntu]

Settings in IDE

  • Module: [Nodemcu]
  • Flash Size: [4MB]
  • lwip Variant: [|v2 Lower Memory]
  • Reset Method: [nodemcu]
  • Flash Frequency: [40Mhz]
  • CPU Frequency: [80Mhz]
  • Upload Using: [SERIAL]
  • Upload Speed: [115200] (serial upload only)

Problem Description

Recompiling the lwip library using following steps

  1. Navigate to esp8266/tools/sdk/lwip/src
  2. run make install command

Error

app/dhcpserver.c:22:34: error: expected '=', ',', ';', 'asm' or 'attribute' before 'ICACHE_RODATA_ATTR'
static const uint32 magic_cookie ICACHE_RODATA_ATTR = 0x63538263;
^
app/dhcpserver.c: In function 'create_msg':
app/dhcpserver.c:268:26: error: 'magic_cookie' undeclared (first use in this function)
uint32 magic_cookie1 = magic_cookie;
^
app/dhcpserver.c:268:26: note: each undeclared identifier is reported only once for each function it appears in
app/dhcpserver.c: In function 'parse_msg':
app/dhcpserver.c:559:14: error: 'magic_cookie' undeclared (first use in this function)
&magic_cookie,
^
make: *** [build/app/dhcpserver.o] Error 1

Can you please suggest me how to resolve this error ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions