This doesn't even look like valid Java code where the compile failed.
 

gmake[3]: Entering directory `/x/tmp/pg/src/interfaces/jdbc'
/x/home/richard/ant/bin/ant -buildfile ../../../build.xml -Dmajor=7 -Dminor=1 -Dfullversion=7.1 -Ddef_pgport=5432
Buildfile: ../../../build.xml

jar:

call:

prepare:
    [mkdir] Created dir: /x/tmp/pg/src/interfaces/jdbc/build
    [mkdir] Created dir: /x/tmp/pg/src/interfaces/jdbc/jars

check_versions:

driver:
     [copy] Copying 1 file to /x/tmp/pg/src/interfaces/jdbc/org/postgresql
     [echo] Configured build for the JDBC1 edition driver.

compile:
    [javac] Compiling 37 source files to /x/tmp/pg/src/interfaces/jdbc/build
    [javac] /x/tmp/pg/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Missing term.
    [javac]           if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
    [javac]                              ^
    [javac] /x/tmp/pg/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: Invalid expression statement.
    [javac]           if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
    [javac]                               ^
    [javac] /x/tmp/pg/src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java:291: ';' expected.
    [javac]           if (result != null) && ((org.postgresql.ResultSet)result.reallyResultSet())
    [javac]                                                                                      ^
    [javac] 3 errors

BUILD FAILED

/x/tmp/pg/src/interfaces/jdbc/build.xml:99: Compile failed, messages should have been provided.

Total time: 12 seconds
gmake[3]: *** [all] Error 1
gmake[3]: Leaving directory `/x/tmp/pg/src/interfaces/jdbc'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/x/tmp/pg/src/interfaces'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/x/tmp/pg/src'
gmake: *** [all] Error 2
 

-- 
________________________________________________________________________
Technology is dominated by those who manage what they do not understand.
http://www.netcom.com/~scrantr/index.html