Skip site navigation (1) Skip section navigation (2)

jdbc driver compilation under linux

From: Bartlomiej Papierski <bartek(at)amg(dot)net(dot)pl>
To: pgsql-interfaces(at)postgresql(dot)org
Cc: peter(at)maidstone(dot)gov(dot)uk
Subject: jdbc driver compilation under linux
Date: 1998-08-21 11:46:46
Message-ID: (view raw or whole thread)
Lists: pgsql-interfaces

I'm trying to compile JDBC interface for PostgreSQL 6.3 using JDK 1.1.6
under Linux 2.0.34.
I took JDBC sources from PostgreSQL 6.3 distribution.
I also tried with earlier versions of JDK. The problem is that jar
produces 'segmentation fault'.

Here's the whole compilation dump:

javac postgresql/
javac postgresql/geometric/
javac postgresql/geometric/
javac postgresql/geometric/
javac postgresql/geometric/
javac postgresql/geometric/
jar -c0f postgresql.jar $(find postgresql -name "*.class" -print)
SIGSEGV   11*  segmentation violation
        stackbase=0xbffff360, stackpointer=0xbffff264

Full thread dump:
    "Finalizer thread" (TID:0x4049c208, sys_thread_t:0x413a0f04, state:R)
    "Async Garbage Collector" (TID:0x4049c250, sys_thread_t:0x4137ff04,
state:R) prio=1
    "Idle thread" (TID:0x4049c298, sys_thread_t:0x4135ef04, state:R)
    "Clock" (TID:0x4049c088, sys_thread_t:0x4133df04, state:CW) prio=12
    "main" (TID:0x4049c0b0, sys_thread_t:0x81ad010, state:R) prio=5
*current thread*
Monitor Cache Dump:
    java(dot)lang(dot)Runtime(at)1078592352/1080789528: owner "main" (0x81ad010, 1
Registered Monitor Dump:
    Thread queue lock: <unowned>
    Name and type hash table lock: <unowned>
    String intern lock: <unowned>
    JNI pinning lock: <unowned>
    JNI global reference lock: <unowned>
    BinClass lock: <unowned>
    Class loading lock: <unowned>
    Java stack lock: <unowned>
    Code rewrite lock: <unowned>
    Heap lock: <unowned>
    Has finalization queue lock: <unowned>
    Finalize me queue lock: <unowned>
    Monitor IO lock: <unowned>
    Child death monitor: <unowned>
    Event monitor: <unowned>
    I/O monitor: <unowned>
    Alarm monitor: <unowned>
        Waiting to be notified:
            "Clock" (0x4133df04)
    Monitor registry: owner "main" (0x81ad010, 1 entry)
Thread Alarm Q:
/usr/local/java/bin/../bin/i686/green_threads/jar: line 11:   669 IOT
trap/Abort          (core dumped) `dirname $0`/java -ms8m -verbosegc
make: *** [postgresql.jar] Error 13

I also tried to compile it on earlier version of JDK (1.1.3) with no

Can you help me with solving this problem? I'd like to start practising
java&jdbc programming, but it's hard to do it without driver installed.

Thanks in advance.

////    Bartlomiej Papierski - AMG:net
////          bartek(at)amg(dot)net(dot)pl


pgsql-interfaces by date

Next:From: David HartwigDate: 1998-08-21 12:57:33
Subject: Re: [INTERFACES] Remote access ODBC/MS-Access
Previous:From: Giuliano A. TaralloDate: 1998-08-21 08:54:42
Subject: configuration error or bug report

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group