yarosla / nxweb Goto Github PK
View Code? Open in Web Editor NEWUltra-fast and super-lightweight web server for applications written in C.
Home Page: http://nxweb.org
License: GNU Lesser General Public License v3.0
Ultra-fast and super-lightweight web server for applications written in C.
Home Page: http://nxweb.org
License: GNU Lesser General Public License v3.0
Is it meant to go here?
Making install in src/include
make[1]: Entering directory '/home/mb6ockatf/Documents/nxweb_practice/nxweb-3.3.0-dev/src/include'
make[2]: Entering directory '/home/mb6ockatf/Documents/nxweb_practice/nxweb-3.3.0-dev/src/include'
make[2]: Nothing to be done for 'install-exec-am'.
/usr/bin/mkdir -p '/usr/local/include'
/usr/bin/mkdir -p '/usr/local/include/nxweb'
/usr/bin/install -c -m 644 nxweb/config.h nxweb/nxweb_config.h nxweb/http_server.h nxweb/misc.h nxweb/nx_alloc.h nxweb/nx_buffer.h nxweb/nxd.h nxweb/nx_event.h nxweb/nx_file_reader.h nxweb/nx_pool.h nxweb/nx_queue_tpl.h nxweb/nxweb.h nxweb/nx_workers.h nxweb/templates.h nxweb/nxjson.h '/usr/local/include/nxweb'
/usr/bin/mkdir -p '/usr/local/include/nxweb/deps/ulib'
/usr/bin/install -c -m 644 nxweb/deps/ulib/alignhash_tpl.h nxweb/deps/ulib/common.h nxweb/deps/ulib/hash.h '/usr/local/include/nxweb/deps/ulib'
/usr/bin/mkdir -p '/usr/local/include/nxweb/deps/sha1-c'
/usr/bin/install -c -m 644 nxweb/deps/sha1-c/sha1.h '/usr/local/include/nxweb/deps/sha1-c'
make[2]: Leaving directory '/home/mb6ockatf/Documents/nxweb_practice/nxweb-3.3.0-dev/src/include'
make[1]: Leaving directory '/home/mb6ockatf/Documents/nxweb_practice/nxweb-3.3.0-dev/src/include'
Making install in src/lib
make[1]: Entering directory '/home/mb6ockatf/Documents/nxweb_practice/nxweb-3.3.0-dev/src/lib'
depbase=`echo cache.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../src/include/nxweb -I../../src/include -I../../src/include/nxweb -pthread -DNXWEB_SYSCONFDIR='"/usr/local/etc/nxweb"' -DNXWEB_LIBDIR='"/usr/local/lib/nxweb"' -g -O2 -MT cache.lo -MD -MP -MF $depbase.Tpo -c -o cache.lo cache.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src/include/nxweb -I../../src/include -I../../src/include/nxweb -pthread -DNXWEB_SYSCONFDIR=\"/usr/local/etc/nxweb\" -DNXWEB_LIBDIR=\"/usr/local/lib/nxweb\" -g -O2 -MT cache.lo -MD -MP -MF .deps/cache.Tpo -c cache.c -fPIC -DPIC -o .libs/cache.o
In file included from ../../src/include/nxweb/nxweb.h:229,
from cache.c:20:
../../src/include/nxweb/http_server.h:264:1: error: size of array element is not a multiple of its alignment
264 | extern nxweb_net_thread_data _nxweb_net_threads[];
| ^~~~~~
../../src/include/nxweb/http_server.h:264:1: error: size of array element is not a multiple of its alignment
../../src/include/nxweb/http_server.h: In function 'nxweb_generate_unique_id':
../../src/include/nxweb/http_server.h:337:63: warning: result of '1048575 << 20' requires 41 bits to represent, but 'int' only has 32 bits [-Wshift-overflow=]
337 | | ((((uint64_t)tdata->loop->current_time) & (0xfffff<<20))<<16) // time value: changes ~ once per second, repeats after ~ two year's time
| ^~
make[1]: *** [Makefile:590: cache.lo] Error 1
make[1]: Leaving directory '/home/mb6ockatf/Documents/nxweb_practice/nxweb-3.3.0-dev/src/lib'
make: *** [Makefile:494: install-recursive] Error 1
using stable release, as mentioned on the website. how can i fix it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.