Library for FreeBSD

Issue #24 wontfix
Former user created an issue

Originally reported on Google Code with ID 24

Hello,

I'm using sqlite on my linux system and loving it, but need to move it to an internet
accessible machine for the moment, but that system runs FreeBSD. FreeBSD often can
load a linux library ok, but the libsqlite4java.so gives an error about _x64.

I downloaded the source to rebuild the library on the FreeBSD machine, but haven't
been able to recreate the right cc args and includes to get it done.

Has anyone had success or a makefile for building the lib on FreeBSD or some pointers?

Here's what I gleaned from the gant build, but it seems like I'm not getting the sqlite.h
file included despite included.

gcc -O2 -DNDEBUG -fpic -Di586 -DARCH='"i586"' -DLINUX -D_LARGEFILE64_SOURCE -D_GNU_SOURCE
\
  -D_LITTLE_ENDIAN -fno-omit-frame-pointer -fno-strict-aliasing -static-libgcc -I./sqlite
-I/usr/local/diablo-jdk1.5.0/incl
ude \
  -I/usr/local/diablo-jdk1.5.0/include/freebsd/ intarray.c

It produces this output, all of which looks like sqlite.h to me;

/usr/lib/crt1.o(.text+0x72): In function `_start':
: undefined reference to `main'
/var/tmp//ccXHO69G.o(.text+0x46a): In function `create_vtable':
: undefined reference to `sqlite3_mprintf'
/var/tmp//ccXHO69G.o(.text+0x481): In function `create_vtable':
: undefined reference to `sqlite3_exec'

thanks,
andrew

Reported by n690rp on 2011-03-03 18:14:56

Comments (3)

  1. Igor Sereda

    ``` Hi Andrew, did you succeed compiling the sources? ```

    Reported by `sereda` on 2011-03-21 23:36:19 - Status changed: `Accepted`

  2. Igor Sereda

    Reported by `sereda` on 2011-03-21 23:36:29 - Labels added: Type-Task - Labels removed: Type-Defect

  3. Former user Account Deleted
    Unfortunately, we don't have enough resources to provide FreeBSD build, and the demand
    for this is low, so we have to close this issue at this moment. Should there be renewed
    interest in supporting FreeBSD, it could be reopened.
    
    Kind regards,
    Igor
    

    Reported by sereda@almworks.com on 2014-09-21 18:38:52 - Status changed: WontFix

  4. Log in to comment