Custom Query (101 matches)
Results (7 - 9 of 101)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#159 | fixed | request_parser.c error on Windows: cannot convert from 'const char *' to 'char *' | jmckenna | |
Description |
Using Visual Studio 2012 compiler, the following errors are thrown: request_parser.c(1743) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *' Conversion loses qualifiers request_parser.c(1792) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *' Conversion loses qualifiers request_parser.c(1795) : error C2440: 'initializing' : cannot convert from 'const char *' to 'char *' Conversion loses qualifiers request_parser.c(1807) : error C2440: '=' : cannot convert from 'const char *' to 'char *' Conversion loses qualifiers NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2' Stop. more about this error: https://msdn.microsoft.com/en-us/library/sy5tsf8z.aspx I am attaching a possible fix for this (please review if it is valid). |
|||
#93 | fixed | readServiceFile definition / linking error | Knut Landmark | |
Description |
The file service_internal.c contains the definition of the new function readServiceFile, which calls getServiceFromFile; getServiceFromFile is defined in service_conf.tab.c and declared extern in service_internal.h. Since WPS service implementations must be linked with service_internal.obj, I suggest moving the definition of readServiceFile to zoo_service_loader.c to avoid "unresolved external symbol" type linker errors. To complete this task, remove the declaration extern int getServiceFromFile(maps*,const char*,service**); from service_internal.h and put it in zoo_service_loader.c. Also put the declaration extern int readServiceFile(maps* conf, char* file,service** service,char *name); in zcfg2yaml.c |
|||
#13 | fixed | problem compiling zoo on Ubuntu 10.04 | nielshoffmann | |
Description |
I'm having a problem getting rev 43 compiled on Ubuntu 10.04 (64-bit) I'm using the standard g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3 that comes with the distro. I try to compile with python support like this: ./configure --with-python --without-java and ./configure completes successfully. make zoo_loader.cgi fails with make: * [service_internal_python.o] Error 1 I'm getting a bunch of warnings, of which this one seems important: cc1plus: warning: command line option "-Wstrict-prototypes" is valid for Ada/C/ObjC but not for C++ And I'm getting one error: service_internal_python.c:204: error: ‘size’ was not declared in this scope I'm not a C programmer, but it does look like something is missing there: PyDictObject?* PyDict_FromMap(map* t){
... Not sure if that's the reason I can't build zoo-kernel? cheers, Niels |