On Mon, Sep 18, 2006, Caleb Epstein wrote:

> I am unable to build subversion 1.4.0 on my Solaris 10 machine with
> OpenPKG-CURRENT.
>
> It appears that on Solaris 10, one needs to link with -lrt in order to
> use Berkeley DB, or at least portions thereof.  See the attached
> section of config.log from the apr-util directory:
>
> [...]
> configure:18966: $? = 0
> configure:18986: result: yes
> configure:19021: checking for db.h
> configure:19028: result: yes
> configure:19044: checking for -ldb
> configure:19110: /openpkg-current/bin/cc -o conftest -O2 -pipe
> -I/openpkg-current/in
> clude/libxml2 -I/openpkg-current/include -DSOLARIS2=10
> -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/openpkg-current/include
> -L/openpkg-current/lib -L/openpkg-current/lib
> conftest.c  -ldb >&5
> conftest.c: In function 'main':
> conftest.c:32: warning: incompatible implicit declaration of built-in
> function 'exit
> '
> /openpkg-current/lib/libdb.a(os_fsync.o): In function `__os_fsync':
> os_fsync.c:(.text+0x85): undefined reference to `fdatasync'
> collect2: ld returned 1 exit status
> configure:19113: $? = 1
> configure: program exited with status 1
> [...]
>
> According to the Solaris man pages, fdatasync requires linking with -lrt.

Ok, now fixed: http://cvs.openpkg.org/chngview?cn=30112
Thanks for reporting this problem.

                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to