Hi,

I'm currently trying to include either the picotcp or lwip library into an 
application in order to connect to or show a connection to a network. As such I 
have added some lines to some of my files.

CMakeLists.txt: DeclareCAmkESComponent(Client SOURCES 
components/Client/src/main.c LIBS lwip picotcp)

hello_world.camkes: component Client{ uses Ethdriver eth_drv; has mutex lwip; 
control;}

When trying to build I get a long error message which boils down to:

/usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: 
cannot find -llwip
/usr/lib/gcc-cross/aarch64-linux-gnu/7/../../../../aarch64-linux-gnu/bin/ld: 
cannot find -lpicotcp
collect2: error: ld returned 1 exit status

[258/316] Building C object 
CMakeFiles/ethdriver.instance.bin.dir/ethdriver/seL4SingleThreadedComponent.template.c.obj
ninja: build stopped: subcommand failed.

How to I go about solving this issue?

Thanks,
Nkem


_______________________________________________
Devel mailing list -- devel@sel4.systems
To unsubscribe send an email to devel-leave@sel4.systems

Reply via email to