Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

too many arguments to function 'uh_server_new' #98

Closed
JasonHonor opened this issue Feb 27, 2021 · 3 comments
Closed

too many arguments to function 'uh_server_new' #98

JasonHonor opened this issue Feb 27, 2021 · 3 comments

Comments

@JasonHonor
Copy link

Environment: (put here arch, model, OpenWrt version)

OpenWrt 19.07-master, mips32

Description:

make[5]: Entering directory '/home/runner/work/openwrt/openwrt/openwrt/build_dir/target-mips_24kc_musl/oui-httpd-git-2021.051.26375-ec29a24'
[ 40%] Building C object CMakeFiles/oui-httpd.dir/main.c.o
/home/runner/work/openwrt/openwrt/openwrt/build_dir/target-mips_24kc_musl/oui-httpd-git-2021.051.26375-ec29a24/main.c: In function 'main':
/home/runner/work/openwrt/openwrt/openwrt/build_dir/target-mips_24kc_musl/oui-httpd-git-2021.051.26375-ec29a24/main.c:146:11: error: too many arguments to function 'uh_server_new'
     srv = uh_server_new(loop, addr, port);
           ^~~~~~~~~~~~~
In file included from /home/runner/work/openwrt/openwrt/openwrt/build_dir/target-mips_24kc_musl/oui-httpd-git-2021.051.26375-ec29a24/main.c:32:
/home/runner/work/openwrt/openwrt/openwrt/staging_dir/target-mips_24kc_musl/usr/include/uhttpd/uhttpd.h:132:19: note: declared here
 struct uh_server *uh_server_new(struct ev_loop *loop);
                   ^~~~~~~~~~~~~
CMakeFiles/oui-httpd.dir/build.make:81: recipe for target 'CMakeFiles/oui-httpd.dir/main.c.o' failed
make[5]: *** [CMakeFiles/oui-httpd.dir/main.c.o] Error 1

@zhaojh329
Copy link
Owner

Pls update oui.

./scripts/feeds update oui

@zhaojh329
Copy link
Owner

rm -rf feeds/oui*
./scripts/feeds update oui
./scripts/feeds install -a -p oui

@zhaojh329
Copy link
Owner

Vue3 + Nginx + Lua is coming...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants