Re: [Cppcms-users] Kindly assist
Brought to you by:
artyom-beilis
From: Artyom B. <art...@gm...> - 2020-09-06 05:26:38
|
Ok I see, it looks like -latomic need to be at all levels including user's buid, so I moved atomic to internal code instead of inline like it was before I committed some changes to fix the issue can you pease test latest git / *cpp11* branch git clone https://github.com/artyom-beilis/cppcms.git git checkout cpp11 Artyom On Sun, Sep 6, 2020 at 5:33 AM M-e-ch Technologies < mec...@gm...> wrote: > the patch did better though the same problem reincured at 36%. > Clang and platform are in the log file. > Thank you for taking your time to help me . > Am fairly new to programming > > > On Fri, Sep 4, 2020, 3:39 PM M-e-ch Technologies < > mec...@gm...> wrote: > >> *[ 29%] Linking C executable external_session_test* >> */data/data/com.termux/files/usr/bin/arm-linux-androideabi-ld: >> libcppcms.so.2.0.0.beta1: undefined reference to `__atomic_fetch_sub_4'* >> */data/data/com.termux/files/usr/bin/arm-linux-androideabi-ld: >> libcppcms.so.2.0.0.beta1: undefined reference to `__atomic_load_4'* >> */data/data/com.termux/files/usr/bin/arm-linux-androideabi-ld: >> libcppcms.so.2.0.0.beta1: undefined reference to `__atomic_fetch_add_4'* >> *clang-10: error: linker command failed with exit code 1 (use -v to see >> invocation)* >> *make[2]: *** [CMakeFiles/external_session_test.dir/build.make:110: >> external_session_test] Error 1* >> *make[1]: *** [CMakeFiles/Makefile2:314: >> CMakeFiles/external_session_test.dir/all] Error 2* >> *make: *** [Makefile:182: all] Error 2* >> >> >> >> I am to cppcms and c++ in general how do I solve the above error >> >> On Tue, Sep 1, 2020, 11:17 PM Artyom Beilis <art...@gm...> >> wrote: >> >>> Hello Dear CppCMS users >>> >>> Have anybody used raw or asynchronous_raw with http_response? >>> >>> I'm doing some changes for HTTP/1.1+websockets+performance improvement >>> support. >>> The original CppCMS design had an underlying assumption that the basic >>> communication protocol is derivative of CGI protocols - FastCGI, SCGI. >>> >>> So when http web server was added it actually parsed CGI output headers >>> and converted them to HTTP ones. Thus use of raw/asynchronos_raw mode when >>> the user writes his own CGI headers instead of generating them via >>> http_response API was reasonable. >>> >>> Today I want to make an HTTP protocol 1st class citizen in CppCMS - >>> which means that I don't silently assume that all IO is CGI based. It is >>> actually a requirement for extensions like WebSockets and other things that >>> can't be passed via *CGI like protocols. >>> >>> Removing "raw" *CGI I/O would simplify the task. I can implement it via >>> an intermediate CGI parser but it isn't the most trivial task. >>> >>> So I need to understand if anybody actually uses this feature or I can >>> remove it in CppCMS 2.0.0? >>> >>> Artyom Beilis >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >> _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |