Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

using lwip functions in raw.h/c

I want to use the fucntions in the stand alone lwip raw.h/c file but cannot get them to work. I created a project using the lwip web server as the template and then modified that to try and create several functions which use the fucntions defined in raw.h/c. THen when I go to compile the nios ii ide tells me that the fucntion from raw.h is not defined. I even tried moving the raw.c and raw.h both into the same directory as the file and putting them both in the include for the file. And I am still getting the same error. Any help would be appreciated.

Thanks,

Brett Brotherton

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I figured it out, I had to add# define LWIP_RAW 1 in order for the raw functions to be defined.