Undefined reference to pppos_create function
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.2k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
I have already configured zcu-102 and Linux system using uart16550 successfully. Now i wanted to connect them through PPPoS (Point to point Protocol over serial connection) from lwip202 library. But when i try to build my code, i get
undefined reference to 'pppos_create'
undefined reference to 'ppp_connect'
Things i have already tried:
- Enabled Lwip202 in BSP settings.
- Enabled
PPP_SUPPORTby changing its value from '0' to '1' in netif/ppp/ppp_opts.h
- Also have included the
"ppp.h", "pppos.h", "lwipopts.h"in my main.c file.
- Also defined
PPP_SUPPORTas 1 in"lwipopts.h"as it was not there by default.
PS: cntrl + left click on the pppos_create function does take me to the source file i.e., pppos.h which means that the pppos.h file is indeed linked to the project.
Please help..
Thanks.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the lwIP PPP configuration in ppp_opts.h and lwipopts.h, then inspect the BSP build inputs for the PPP source behind pppos.h. Rebuild after checking that the implementations of pppos_create and ppp_connect are compiled and linked. Done means the application builds without either undefined-reference error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100