Re: [Sqlrelay-discussion] 0.37pre2
Brought to you by:
mused
|
From: Maciej W. <mac...@co...> - 2005-09-02 13:40:51
|
We've just tried to compile this version and we ecountered problems with make - something in tcl files: make[4]: Wchodzę katalog `/home/zope/sqlrelay/sqlrelay-0.37/src/api/tcl' /bin/sh ../../../libtool --mode=compile g++ -Wall -pipe -DHAVE_CONFIG -DUSE_TCL_STUBS -I/usr/include -I../../.. -I../../../src/api/c++/include -I/usr/local/firstworks/include -I/usr/kerberos/include -c sqlrelayCmd.C -o sqlrelayCmd.lo g++ -Wall -pipe -DHAVE_CONFIG -DUSE_TCL_STUBS -I/usr/include -I../../.. -I../../../src/api/c++/include -I/usr/local/firstworks/include -I/usr/kerberos/include -c sqlrelayCmd.C -fPIC -DPIC -o .libs/sqlrelayCmd.o make[4]: Opuszczam katalog `/home/zope/sqlrelay/sqlrelay-0.37/src/api/tcl' make[4]: Wchodzę katalog `/home/zope/sqlrelay/sqlrelay-0.37/src/api/tcl' /bin/sh ../../../libtool --mode=compile g++ -Wall -pipe -DHAVE_CONFIG -DUSE_TCL_STUBS -I/usr/include -I../../.. -I../../../src/api/c++/include -I/usr/local/firstworks/include -I/usr/kerberos/include -c sqlrelayCmd.C -o sqlrelayCmd.lo g++ -Wall -pipe -DHAVE_CONFIG -DUSE_TCL_STUBS -I/usr/include -I../../.. -I../../../src/api/c++/include -I/usr/local/firstworks/include -I/usr/kerberos/include -c sqlrelayCmd.C -fPIC -DPIC -o .libs/sqlrelayCmd.o make[4]: Opuszczam katalog `/home/zope/sqlrelay/sqlrelay-0.37/src/api/tcl' first try errors : In file included from sqlrelayCmd.C:13: ../../../config.h:278:1: warning: "INLINE" redefined In file included from sqlrelayCmd.C:7: /usr/include/tcl.h:268:1: warning: this is the location of the previous definition sqlrelayCmd.C: In function `int sqlrcurObjCmd(void*, Tcl_Interp*, int, Tcl_Obj* const*)': sqlrelayCmd.C:337: invalid conversion from `const char**' to `char**' sqlrelayCmd.C:345: syntax error before `;' token sqlrelayCmd.C:357: syntax error before `=' token sqlrelayCmd.C:357: `Tcl_WideInt' undeclared (first use this function) sqlrelayCmd.C:357: (Each undeclared identifier is reported only once for each function it appears in.) sqlrelayCmd.C:357: syntax error before `->' token sqlrelayCmd.C:360: syntax error before `,' token sqlrelayCmd.C:360: uninitialized const `col' sqlrelayCmd.C:361: syntax error before `,' token sqlrelayCmd.C:361: conflicting types for `uint32_t col' sqlrelayCmd.C:360: previous declaration as `const char col' sqlrelayCmd.C:361: warning: unused variable `uint32_t col' sqlrelayCmd.C:1134: syntax error before `;' token sqlrelayCmd.C:1143: syntax error before `)' token sqlrelayCmd.C:1143: `Tcl_GetWideIntFromObj' undeclared (first use this function) sqlrelayCmd.C:1146: syntax error before `)' token sqlrelayCmd.C:1147: syntax error before `)' token sqlrelayCmd.C:1160: syntax error before `;' token sqlrelayCmd.C:1168: syntax error before `)' token sqlrelayCmd.C:1171: syntax error before `)' token sqlrelayCmd.C: In function `int sqlrconObjCmd(void*, Tcl_Interp*, int, Tcl_Obj* const*)': sqlrelayCmd.C:1709: invalid conversion from `const char**' to `char**' sqlrelayCmd.C: In function `int sqlrconCmd(void*, Tcl_Interp*, int, Tcl_Obj* const*)': sqlrelayCmd.C:1905: invalid conversion from `const char**' to `char**' make[4]: *** [sqlrelayCmd.lo] Błąd 1 second try errors : In file included from sqlrelayCmd.C:13: ../../../config.h:278:1: warning: "INLINE" redefined In file included from sqlrelayCmd.C:7: /usr/include/tcl.h:268:1: warning: this is the location of the previous definition sqlrelayCmd.C: In function `int sqlrcurObjCmd(void*, Tcl_Interp*, int, Tcl_Obj* const*)': sqlrelayCmd.C:345: syntax error before `;' token sqlrelayCmd.C:357: syntax error before `=' token sqlrelayCmd.C:357: `Tcl_WideInt' undeclared (first use this function) sqlrelayCmd.C:357: (Each undeclared identifier is reported only once for each function it appears in.) sqlrelayCmd.C:357: syntax error before `->' token sqlrelayCmd.C:360: syntax error before `,' token sqlrelayCmd.C:360: uninitialized const `col' sqlrelayCmd.C:361: syntax error before `,' token sqlrelayCmd.C:361: conflicting types for `uint32_t col' sqlrelayCmd.C:360: previous declaration as `const char col' sqlrelayCmd.C:361: warning: unused variable `uint32_t col' sqlrelayCmd.C:1134: syntax error before `;' token sqlrelayCmd.C:1143: syntax error before `)' token sqlrelayCmd.C:1143: `Tcl_GetWideIntFromObj' undeclared (first use this function) sqlrelayCmd.C:1146: syntax error before `)' token sqlrelayCmd.C:1147: syntax error before `)' token sqlrelayCmd.C:1160: syntax error before `;' token sqlrelayCmd.C:1168: syntax error before `)' token sqlrelayCmd.C:1171: syntax error before `)' token make[4]: *** [sqlrelayCmd.lo] Błąd 1 make[3]: *** [all] Błąd 1 make[3]: Opuszczam katalog `/home/zope/sqlrelay/sqlrelay-0.37/src/api/tcl' make[2]: *** [all] Błąd 2 make[2]: Opuszczam katalog `/home/zope/sqlrelay/sqlrelay-0.37/src/api' make[1]: *** [all] Błąd 2 make[1]: Opuszczam katalog `/home/zope/sqlrelay/sqlrelay-0.37/src' make: *** [all] Błąd 2 //------------------------------------------------------------------------------------------------------- with --disable-tcl: make -C cmdline all make[2]: Wchodzę katalog `/home/zope/sqlrelay/sqlrelay-0.37/src/cmdline' /bin/sh ../../libtool --mode=link g++ -Wall -pipe -o query query.lo -L../../src/util -lsqlrutil -L../../src/api/c++/src -lsqlrclient -L/usr/local/firstworks/lib -lrudiments -lpthread -L/usr/kerberos/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -ldl -lz -lrt -lrt -lcrypt -ldl g++ -Wall -pipe -o .libs/query .libs/query.o -L/home/zope/sqlrelay/sqlrelay-0.37/src/util /home/zope/sqlrelay/sqlrelay-0.37/src/util/.libs/libsqlrutil.so -L/usr/local/firstworks/lib -L/usr/kerberos/lib -L/home/zope/sqlrelay/sqlrelay-0.37/src/api/c++/src /usr/local/firstworks/lib/libsqlrclient.so /usr/local/firstworks/lib/librudiments.so -lpthread -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lcom_err -lk5crypto -lresolv -lz -lrt -lcrypt -ldl -Wl,--rpath -Wl,/usr/local/firstworks/lib .libs/query.o(.text+0x3a4): In function `main': : undefined reference to `sqlrconnection::sqlrconnection[in-charge](char const*, unsigned short, char const*, char const*, char const*, int, int)' .libs/query.o(.text+0x400): In function `main': : undefined reference to `sqlrcursor::setResultSetBufferSize(unsigned long long)' .libs/query.o(.text+0x4b1): In function `main': : undefined reference to `sqlrcursor::getField(unsigned long long, unsigned)' collect2: ld returned 1 exit status make[2]: *** [query] Błąd 1 make[2]: Opuszczam katalog `/home/zope/sqlrelay/sqlrelay-0.37/src/cmdline' make[1]: *** [all] Błąd 2 make[1]: Opuszczam katalog `/home/zope/sqlrelay/sqlrelay-0.37/src' make: *** [all] Błąd 2 -- Maciej Wisniowski >Hello all, > >I just uploaded 0.37 prerelease 2 to >http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz > >This pre-release includes fixes for several recently reported bugs and >support for postgresql 8 bind variables. > >Since bind variables in postgresql 8 have different syntax than fake >bind variables that had to be used with previous versions, there's a >connectstring option fakebinds=yes for postgresql to force the >connection to fake bind variables rather than use native ones so you >don't have to rewrite your queries right away. > >David Muse >dav...@fi... > > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Sqlrelay-discussion mailing list >Sql...@li... >https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > |