[Monetdb-developers] Failed to compile JDBC
Hi all, After having checked out the latest commit from the CURRENT branch, rebuild (bootstrap, configure, make install) module "clients" failed with some errors on JDBC (see attachment). Does anyone know what is wrong here? Regards, Jennie
Ying Zhang wrote:
Hi all,
After having checked out the latest commit from the CURRENT branch, rebuild (bootstrap, configure, make install) module "clients" failed with some errors on JDBC (see attachment).
Does anyone know what is wrong here? Read this bug :)
https://sourceforge.net/tracker/?func=detail&atid=482468&aid=1702267&group_id=56967 Regards, Romulo
Regards,
Jennie
------------------------------------------------------------------------
"/usr/bin/ant" -f "`echo ../../../src/java/build.xml`" -Dbuilddir="`echo /ufs/zhang/dev/clients/build-debug/src/java`" -Djardir="`echo /ufs/zhang/dev/clients/build-debug/src/java`" -Dbasedir="`echo ../../../src/java`" jar_jdbcclient Buildfile: ../../../src/java/build.xml
prepare: [echo] Debug is true, optimise is true
driver: [copy] Copying 1 file to /ufs/zhang/dev/clients/build-debug/src/java/src/nl/cwi/monetdb/jdbc [copy] Copying 1 file to /ufs/zhang/dev/clients/build-debug/src/java/src/nl/cwi/monetdb/xmldb/base [echo] Configured build for the 1.5 (Steadfast) edition driver
compile_jdbc: [echo] Compiling JDBC driver [javac] Compiling 12 source files to /ufs/zhang/dev/clients/build-debug/src/java [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:27: package nl.cwi.monetdb.mcl.net does not exist [javac] import nl.cwi.monetdb.mcl.net.*; [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:68: cannot find symbol [javac] symbol : class MapiSocket [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection [javac] private final MapiSocket server; [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetClob.java:35: nl.cwi.monetdb.jdbc.MonetClob is not abstract and does not override abstract method getCharacterStream(long,long) in java.sql.Clob [javac] public class MonetClob implements Clob { [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:56: nl.cwi.monetdb.jdbc.MonetConnection is not abstract and does not override abstract method createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection [javac] public class MonetConnection implements Connection { [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:183: cannot find symbol [javac] symbol : class MapiSocket [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection [javac] server = new MapiSocket(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:943: cannot find symbol [javac] symbol : method writeLine(java.lang.String[],java.lang.String) [javac] location: class java.io.Writer [javac] out.writeLine(queryTempl, command); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:944: cannot find symbol [javac] symbol : method waitForPrompt() [javac] location: class java.io.Writer [javac] String error = out.waitForPrompt(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:963: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection [javac] synchronized (monet) { [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:965: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection [javac] monet.writeLine(commandTempl, command); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:966: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection [javac] String error = monet.waitForPrompt(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:986: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection [javac] synchronized (monet) { [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:1955: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] monet.waitForPrompt(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:1986: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] if (sendThread == null) sendThread = new SendThread(monet); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:1993: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] monet.writeLine(templ, query); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:1997: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] String tmpLine = monet.readLine(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:1998: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] int linetype = monet.getLineType(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2111: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] monet.waitForPrompt(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2112: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] linetype = monet.getLineType(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2120: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] monet.waitForPrompt(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2121: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] linetype = monet.getLineType(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2129: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] monet.readLine(), [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2130: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] monet.getLineType() [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2135: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] monet.waitForPrompt(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2136: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] linetype = monet.getLineType(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2150: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] tmpLine = monet.readLine(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2151: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] linetype = monet.getLineType(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2159: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] tmpLine = monet.readLine(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2160: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] linetype = monet.getLineType(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2172: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] error = monet.waitForPrompt(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetConnection.java:2173: cannot find symbol [javac] symbol : variable monet [javac] location: class nl.cwi.monetdb.jdbc.MonetConnection.ResponseList [javac] linetype = monet.getLineType(); [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetDataSource.java:40: nl.cwi.monetdb.jdbc.MonetDataSource is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper [javac] public class MonetDataSource implements DataSource { [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java:31: nl.cwi.monetdb.jdbc.MonetDatabaseMetaData is not abstract and does not override abstract method getFunctionColumns(java.lang.String,java.lang.String,java.lang.String,java.lang.String) in java.sql.DatabaseMetaData [javac] public class MonetDatabaseMetaData implements DatabaseMetaData { [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetResultSet.java:48: nl.cwi.monetdb.jdbc.MonetResultSet is not abstract and does not override abstract method updateNClob(java.lang.String,java.io.Reader) in java.sql.ResultSet [javac] public class MonetResultSet implements ResultSet { [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetResultSet.java:872:
is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper [javac] return(new ResultSetMetaData() { [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetStatement.java:47: nl.cwi.monetdb.jdbc.MonetStatement is not abstract and does not override abstract method isPoolable() in java.sql.Statement [javac] public class MonetStatement implements Statement { [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetPreparedStatement.java:51: nl.cwi.monetdb.jdbc.MonetPreparedStatement is not abstract and does not override abstract method setNClob(int,java.io.Reader) in java.sql.PreparedStatement [javac] public class MonetPreparedStatement [javac] ^ [javac] /ufs/zhang/monet/dev/clients/src/java/src/nl/cwi/monetdb/jdbc/MonetPreparedStatement.java:293: is not abstract and does not override abstract method isWrapperFor(java.lang.Class) in java.sql.Wrapper [javac] return(new ParameterMetaData() { [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] 37 errors ------------------------------------------------------------------------
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------
_______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
I have another problem. I did the same and checked all modules out (@ 16:45) + bootstrap + configure but I got an error in pathfinder/xrpc: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/local/flokstra/include/MonetDB -I/usr/local/flokstra/include/MonetDB/common -I/usr/local/flokstra/include/MonetDB/gdk -I/usr/local/flokstra/include/MonetDB4 -I/usr/local/flokstra/include/MonetDB4/monet -I/usr/local/flokstra/include/MonetDB4/plain -I/usr/local/flokstra/include/MonetDB4/contrib -I/usr/local/flokstra/include/MonetDB4/mapi -I/usr/local/flokstra/include/MonetDB4/calibrator -I/usr/include/libxml2 -I../compiler/include -I./../compiler/include -DLIBXRPC_SERVER -g -O2 -Wall -W -std=c99 -Werror-implicit-function-declaration -Werror -Wpointer-arith -DEMBEDDED -DMT -DNO_CGI -DNO_AUTH -DIO_MAX=10240 -c xrpc_server.c -fPIC -DPIC -o .libs/lib_xrpc_server_la-xrpc_server.o xrpc_server.mx: In function `xrpc_fork_mapiclient': xrpc_server.mx:1198: error: implicit declaration of function `socket_rastream' xrpc_server.mx:1198: warning: initialization makes pointer from integer without a cast xrpc_server.mx:1200: error: implicit declaration of function `socket_wastream' xrpc_server.mx:1200: warning: passing arg 1 of `wbstream' makes pointer from integer without a cast make[2]: *** [lib_xrpc_server_la-xrpc_server.lo] Error 1 make[2]: Leaving directory `/local/flokstra/software/pathfinder/runtime' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/local/flokstra/software/pathfinder' make: *** [install] Error 2 flokstra@ewi581:/local/flokstra/software> JanF On Tuesday 17 April 2007 16:35, Ying Zhang wrote:
Hi all,
After having checked out the latest commit from the CURRENT branch, rebuild (bootstrap, configure, make install) module "clients" failed with some errors on JDBC (see attachment).
Does anyone know what is wrong here?
Regards,
Jennie
Please try again. Jan Flokstra wrote:
I have another problem. I did the same and checked all modules out (@ 16:45) + bootstrap + configure but I got an error in pathfinder/xrpc:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/local/flokstra/include/MonetDB -I/usr/local/flokstra/include/MonetDB/common -I/usr/local/flokstra/include/MonetDB/gdk -I/usr/local/flokstra/include/MonetDB4 -I/usr/local/flokstra/include/MonetDB4/monet -I/usr/local/flokstra/include/MonetDB4/plain -I/usr/local/flokstra/include/MonetDB4/contrib -I/usr/local/flokstra/include/MonetDB4/mapi -I/usr/local/flokstra/include/MonetDB4/calibrator -I/usr/include/libxml2 -I../compiler/include -I./../compiler/include -DLIBXRPC_SERVER -g -O2 -Wall -W -std=c99 -Werror-implicit-function-declaration -Werror -Wpointer-arith -DEMBEDDED -DMT -DNO_CGI -DNO_AUTH -DIO_MAX=10240 -c xrpc_server.c -fPIC -DPIC -o .libs/lib_xrpc_server_la-xrpc_server.o xrpc_server.mx: In function `xrpc_fork_mapiclient': xrpc_server.mx:1198: error: implicit declaration of function `socket_rastream' xrpc_server.mx:1198: warning: initialization makes pointer from integer without a cast xrpc_server.mx:1200: error: implicit declaration of function `socket_wastream' xrpc_server.mx:1200: warning: passing arg 1 of `wbstream' makes pointer from integer without a cast make[2]: *** [lib_xrpc_server_la-xrpc_server.lo] Error 1 make[2]: Leaving directory `/local/flokstra/software/pathfinder/runtime' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/local/flokstra/software/pathfinder' make: *** [install] Error 2 flokstra@ewi581:/local/flokstra/software>
JanF
On Tuesday 17 April 2007 16:35, Ying Zhang wrote:
Hi all,
After having checked out the latest commit from the CURRENT branch, rebuild (bootstrap, configure, make install) module "clients" failed with some errors on JDBC (see attachment).
Does anyone know what is wrong here?
Regards,
Jennie
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- Sjoerd Mullender
I was too quick with my response: sourceforge is not cooperating. Try again as soon as you see my checkin message. Sjoerd Mullender wrote:
Please try again.
Jan Flokstra wrote:
I have another problem. I did the same and checked all modules out (@ 16:45) + bootstrap + configure but I got an error in pathfinder/xrpc:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I/usr/local/flokstra/include/MonetDB -I/usr/local/flokstra/include/MonetDB/common -I/usr/local/flokstra/include/MonetDB/gdk -I/usr/local/flokstra/include/MonetDB4 -I/usr/local/flokstra/include/MonetDB4/monet -I/usr/local/flokstra/include/MonetDB4/plain -I/usr/local/flokstra/include/MonetDB4/contrib -I/usr/local/flokstra/include/MonetDB4/mapi -I/usr/local/flokstra/include/MonetDB4/calibrator -I/usr/include/libxml2 -I../compiler/include -I./../compiler/include -DLIBXRPC_SERVER -g -O2 -Wall -W -std=c99 -Werror-implicit-function-declaration -Werror -Wpointer-arith -DEMBEDDED -DMT -DNO_CGI -DNO_AUTH -DIO_MAX=10240 -c xrpc_server.c -fPIC -DPIC -o .libs/lib_xrpc_server_la-xrpc_server.o xrpc_server.mx: In function `xrpc_fork_mapiclient': xrpc_server.mx:1198: error: implicit declaration of function `socket_rastream' xrpc_server.mx:1198: warning: initialization makes pointer from integer without a cast xrpc_server.mx:1200: error: implicit declaration of function `socket_wastream' xrpc_server.mx:1200: warning: passing arg 1 of `wbstream' makes pointer from integer without a cast make[2]: *** [lib_xrpc_server_la-xrpc_server.lo] Error 1 make[2]: Leaving directory `/local/flokstra/software/pathfinder/runtime' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/local/flokstra/software/pathfinder' make: *** [install] Error 2 flokstra@ewi581:/local/flokstra/software>
JanF
On Tuesday 17 April 2007 16:35, Ying Zhang wrote:
Hi all,
After having checked out the latest commit from the CURRENT branch, rebuild (bootstrap, configure, make install) module "clients" failed with some errors on JDBC (see attachment).
Does anyone know what is wrong here?
Regards,
Jennie
This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Monetdb-developers mailing list Monetdb-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-developers
-- Sjoerd Mullender
On 17-04-2007 16:35:30 +0200, Ying Zhang wrote:
Hi all,
After having checked out the latest commit from the CURRENT branch, rebuild (bootstrap, configure, make install) module "clients" failed with some errors on JDBC (see attachment).
Does anyone know what is wrong here?
Jennie, sorry, I b0rken3d it! I apparently checked something in half on the wrong branch. Will revert asap. (I hope pegasus is still alive...)
participants (5)
-
Fabian Groffen
-
Jan Flokstra
-
Romulo Goncalves
-
Sjoerd Mullender
-
Ying Zhang