Comments (5)
Interesting. I do not have that problem in my builds. What was the fix you
did to make it work for you? Can you use git format-patch and send me a
patch for luaposix33 package in the juci feed?
On 4 Nov 2015 06:48, "lvzaina" [email protected] wrote:
CC ext/posix/posix.lo
In file included from ext/posix/posix.c:25:0:
ext/posix/sched.c: In function 'Psched_setscheduler':
ext/posix/sched.c:74:9: error: variable 'sched_param' has initializer but incomplete type
struct sched_param sched_param = {0};
^
ext/posix/sched.c:74:9: warning: excess elements in struct initializer [enabled by default]
ext/posix/sched.c:74:9: warning: (near initialization for 'sched_param') [enabled by default]
ext/posix/sched.c:74:21: error: storage size of 'sched_param' isn't known
struct sched_param sched_param = {0};
^
ext/posix/sched.c:76:28: error: 'SCHED_OTHER' undeclared (first use in this function)
int policy = optint(L, 2, SCHED_OTHER);
^
ext/posix/sched.c:76:28: note: each undeclared identifier is reported only once for each function it appears in
ext/posix/sched.c:79:2: warning: implicit declaration of function 'sched_setscheduler' [-Wimplicit-function-declaration]
return pushresult(L, sched_setscheduler(pid, policy, &sched_param), NULL);
^
In file included from ext/posix/posix.c:30:0:
ext/posix/sys/resource.c: In function 'luaopen_posix_sys_resource':
ext/posix/sys/resource.c:155:2: warning: overflow in implicit constant conversion [-Woverflow]
LPOSIX_CONST( RLIM_INFINITY );
^
ext/posix/sys/resource.c:157:2: warning: overflow in implicit constant conversion [-Woverflow]
LPOSIX_CONST( RLIM_SAVED_CUR );
^
ext/posix/sys/resource.c:160:2: warning: overflow in implicit constant conversion [-Woverflow]
LPOSIX_CONST( RLIM_SAVED_MAX );
make[5]: *** [ext/posix/posix.lo] Error 1Add "#include " in luaposix-release-v33.3.1/ext/posix/sched.c file, it can
be resolved.—
Reply to this email directly or view it on GitHub
#13.
from juci.
Is that OK?
From d59051c9a1413d38f5d4add71ff71e4a9f33c065 Mon Sep 17 00:00:00 2001
From: lvzaina <[email protected]>
Date: Tue, 10 Nov 2015 16:31:50 +0800
Subject: [PATCH] Build failed.(luaposix-release-v33.3.1)
---
ext/posix/sched.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/ext/posix/sched.c b/ext/posix/sched.c
index 13b196b..9ba2cb2 100644
--- a/ext/posix/sched.c
+++ b/ext/posix/sched.c
@@ -27,6 +27,8 @@
#include <sched.h>
#endif
+#include <pthread.h>
+
#include "_helpers.c"
--
1.9.1
from juci.
patch added to the package feed (branch v1.15.11).
from juci.
Does it build without problems for you now?
from juci.
It is no problem.
thank you very much!
from juci.
Related Issues (20)
- I visit the home page and can not see anything. The homepage is blank.Also the console does not have any errors HOT 4
- Compile error juci on lede project HOT 4
- Spinning circle HOT 1
- autologon HOT 1
- plugins/juci-openwrt-wireless/src/widgets/overview.wifi.js HOT 1
- error libblobpack HOT 4
- UCI failed! HOT 15
- ng-tags-input.css.map 404 HOT 1
- Compiling JUCI in LEDE HOT 10
- LEDE Compile Deprecated error & missing library HOT 4
- UCI failed to initialize HOT 2
- Network connections page protocols error. HOT 3
- New plugin HOT 3
- Compiling Error with LEDE HOT 4
- Unable to build HOT 9
- JUCI Webpages fail to get information for interfaces on OpenWRT 18.06.02 HOT 1
- Development stopped? HOT 1
- Make dependency which does not exist HOT 1
- firefox visit openwrt juci got a running cycle. F12 network print these messages: HOT 2
- juci project no more update? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juci.