Skip to Content.
Sympa Menu

freetds - Compile error in FreeTDS-JDBC snapshot

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Andreas Tille <tillea AT rki.de>
  • To: FreeTDS mailing liste <freetds AT franklin.oit.unc.edu>
  • Subject: Compile error in FreeTDS-JDBC snapshot
  • Date: Fri, 17 Mar 2000 14:35:54 +0100 (CET)

Hello,

while compiling the latest FreeTDS-JDBC snapshot under Debian GNU/Linux
I've got the following error:

jikes -classpath .:/usr/lib/jdk1.1/lib/classes.zip +D +E -g -d .
ResultSet_1_0.java
ResultSet_1_0.java:59:32:59:40: Error: Type
com/internetcds/jdbc/tds/Statement was not found.
ResultSet_1_0.java:62:7:62:35: Error: No match was found for constructor
"ResultSet_base(com.internetcds.jdbc.tds.Tds,
com.internetcds.jdbc.tds.Statement, com.internetcds.jdbc.tds.Columns)".
make[1]: *** [com/internetcds/jdbc/tds/ResultSet_1_0.class] Error 1

This can be fixed by switching the sequence of compilation as it
is shown in the small patch which is appended to this mail.

A further (cosmetical) change would be to include a "-f" option in the
clean: clause to get rid of warnings if there are no targets to remove.

Thanks for building the FreeTDS-JDBC driver.

Kind regards and happy weekend

Andreas.
--- Makefile.ori Fri Mar 17 14:32:59 2000
+++ Makefile Fri Mar 17 14:29:58 2000
@@ -80,8 +80,8 @@
com/internetcds/jdbc/tds/ResultSetMetaData.class \
com/internetcds/jdbc/tds/ResultSet_base.class \
com/internetcds/jdbc/tds/ResultSet_$(JDBC_VER)_helper.class \
- com/internetcds/jdbc/tds/ResultSet_$(JDBC_VER).class \
com/internetcds/jdbc/tds/Statement.class \
+ com/internetcds/jdbc/tds/ResultSet_$(JDBC_VER).class \
com/internetcds/jdbc/tds/PreparedStatementHelper.class \
com/internetcds/jdbc/tds/PreparedStatement_base.class \
com/internetcds/jdbc/tds/PreparedStatement_$(JDBC_VER).class \
@@ -477,7 +477,7 @@
$(JAVAC) $(JFLAGS) ResultSetMetaData.java

clean:
- -rm $(DRIVER)
+ -rm -f $(DRIVER)

javadoc: .
javadoc -author -private -package *.java


  • Compile error in FreeTDS-JDBC snapshot, Andreas Tille, 03/17/2000

Archive powered by MHonArc 2.6.24.

Top of Page