Comments (3)
Can you paste the output of "c++ --version" or "g++ --version" ?
from speedtables.
I hope that this is what you need:
make -C ctables test
make[1]: Entering directory '/speedtables/speedtables/ctables'
cd ./tests && make
make[2]: Entering directory '/speedtables/speedtables/ctables/tests'
rm -rf stobj
TCL_LIBRARY=echo /tcl/tcl8.6.4/library
LD_LIBRARY_PATH="/usr/local/lib:" PATH="/usr/local/lib:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games" TCLLIBPATH=".." /usr/local/bin/tclsh8.6 speedtable.tcl
In file included from stobj/Topbrands/Topbrands-1.0.cpp:86:0:
stobj/include/ctable_io.c: In function ‘int ctable_quoteString(const char*, int, int, const char_)’:
stobj/include/ctable_io.c:63:36: error: invalid conversion from ‘const char_’ to ‘char_’ [-fpermissive]
char *off = strchr(special, c);
^
In file included from stobj/Topbrands/Topbrands-1.0.cpp:87:0:
stobj/include/ctable_search.c: In function ‘void ctable_performance_callback(Tcl_Interp_, CTable_, Tcl_Obj_ const_, int, timespec_, int)’:
stobj/include/ctable_search.c:2408:20: error: ‘CLOCK_VIRTUAL’ was not declared in this scope
clock_gettime (CLOCK_VIRTUAL, &endTimeSpec);
^
stobj/include/ctable_search.c: In function ‘int ctable_SetupAndPerformSearch(Tcl_Interp_, Tcl_Obj_ const_, int, CTable_, int)’:
stobj/include/ctable_search.c:2512:17: error: ‘CLOCK_VIRTUAL’ was not declared in this scope
clock_gettime (CLOCK_VIRTUAL, &startTimeSpec);
^
while executing
"exec g++ -O2 -fPIC -DPACKAGE_NAME="tcl" -DPACKAGE_TARNAME="tcl" -DPACKAGE_VERSION="8.6" -DPACKAGE_STRING="tcl\ 8.6" -DPACKAGE_BUGREPORT="..."
("eval" body line 1)
invoked from within
"eval exec $command"
(procedure "myexec" line 9)
invoked from within
"myexec "$sysconfig(cxx) $sysString $optflag $dbgflag $sysconfig(ldflags) $sysconfig(ccflags) -I$include $sysconfig(warn) $pgString $stubString $memDeb..."
(procedure "compile" line 85)
invoked from within
"compile
(procedure "::ctable::EndExtension" line 26)
invoked from within
"::ctable::EndExtension"
(procedure "_speedtables" line 35)
invoked from within
"_speedtables Topbrands 1.0 {
table top_brands {
int rank indexed 1
varstring name indexed 1
int value indexed 1
}
}"
("uplevel" body line 1)
invoked from within
"uplevel 1 [list _speedtables $name $version $code]"
(procedure "speedtables" line 10)
invoked from within
"speedtables Topbrands 1.0 {
table top_brands {
int rank indexed 1
varstring name indexed 1
int value indexed 1
}
}"
(file "speedtable.tcl" line 7)
Makefile:25: recipe for target 'all' failed
make[2]: *** [all] Error 1
make[2]: Leaving directory '/speedtables/speedtables/ctables/tests'
Makefile:229: recipe for target 'test' failed
make[1]: *** [test] Error 2
make[1]: Leaving directory '/speedtables/speedtables/ctables'
Makefile:187: recipe for target 'test' failed
make: *** [test] Error 2
from speedtables.
Closing since we now have Linux CI running on Ubuntu. Reopen if you are still having compilation problems.
from speedtables.
Related Issues (20)
- _dirty field not automatically updated HOT 2
- speedtable thread safety HOT 2
- tclobj HOT 3
- cpp branch will build and install even if boost-libs not present
- Reimplement support for flags to mmap (nosync nocore) HOT 3
- speed tables doesn't work with clang and other non-GCC compilers HOT 10
- ckalloc no longer returns char* in tcl8.6 HOT 2
- Mapped file base address is not honored HOT 3
- speedtables startup locking sometimes fails to provide mutual exclusion / fails outright HOT 4
- stapi::refresh_ctable doesn't rewrite the TSV cachefile HOT 6
- stapi::refresh_ctable does not clear the initial table if no time column is provided HOT 5
- stapi::refresh_ctable does not handle SQL generation errors HOT 5
- More than one call to stapi::init can confuse existing speedtables HOT 5
- search with match against integer fields will crash HOT 6
- search -code with return statement does not stop proc execution HOT 17
- search fails to fully unset the data in the data array for each loop HOT 30
- Using a speedtable shared library from two interpreters in the same process leads to a crash HOT 1
- Incompatibility between compare "in" operator in native speedtables versus stapi-based postgres version HOT 2
- Pacakge versions for 1.13.18 say 1.13.17 HOT 7
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 speedtables.