[FS#3541] uhttpd build error

OpenWrt Bugs openwrt-bugs at lists.openwrt.org
Mon Dec 28 05:29:48 EST 2020


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Prime Lee (primelyw) 

Attached to Project - OpenWrt/LEDE Project
Summary - uhttpd build error
Task Type - Build Failure
Category - Toolchain
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - All
Due in Version - Undecided
Due Date - Undecided
Details - Supply the following if possible:
 - Device problem occurs on
 - Software versions of OpenWrt/LEDE release, packages, etc.
 - Steps to reproduce

Tool target: uhttpd(latest version) downloaded from https://git.openwrt.org/project/uhttpd.git.   

1. Device problem occurs on: Ubuntu Desktiop environment;
2. Software versions of OpenWrt/LEDE release, packages, etc.:  uhttpd(latests);
3. Steps to reproduce:

On my desktop terminal, I downloaded source code of uhttpd from https://git.openwrt.org/project/uhttpd.git. 
Build with following commands

git clone https://git.openwrt.org/project/uhttpd.git
mkdir build
cd build
cmake ..
cmake --build .


But falied with this.


In file included from uhttpd/lua.c:27:
uhttpd/uhttpd.h:37:10: fatal error: libubox/ustream-ssl.h: No such file or directory
   37 | #include 
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/uhttpd_lua.dir/build.make:63: CMakeFiles/uhttpd_lua.dir/lua.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:80: CMakeFiles/uhttpd_lua.dir/all] Error 2
make: *** [Makefile:130: all] Error 2


Then I downloaded libubox from https://git.openwrt.org/project/libubox.git; I didn't find "ustream-ssl.h" in the souce code directory. After installing it on my ubuntu, "/usr/local/include/libubox" doesn't have "ustream-ssl.h".

How can I build uhttpd ?

Expecting your reply, thanks!

More information can be found at the following URL:
https://bugs.openwrt.org/index.php?do=details&task_id=3541

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the openwrt-bugs mailing list