v930 build (OSX 10.3.6) chokes on 'evOptMonoTime' with BOTH '--enable-libbind' & '--enable-libtool'

OpenMacNews bind-users.20.openmacnews at spamgourmet.com
Wed Dec 1 01:07:17 UTC 2004


hi all,

per an earlier post, after mod'ing "lib/isccfg/include/isccfg/grammar.h", 
building v930 on OSX 10.3.6 as:

(1) w/ '--enable-libtool'

    ./configure --with-openssl --enable-ipv6 --enable-threads 
--disable-linux-caps \
    --enable-libtool

    make

now completes without error. yay!

also,

(2) w/ '--enable-libbind', w/o '--enable-libtool'

    ./configure --with-openssl --enable-ipv6 --enable-threads 
--disable-linux-caps \
    --enable-libbind

    make

completes successfully as well.

but, with BOTH enabled:

(3) w/ '--enable-libbind' & '--enable-libtool'

    ./configure --with-openssl --enable-ipv6 --enable-threads 
--disable-linux-caps \
    --enable-libbind --enable-libtool

    make

'make' fails @:

    gcc -dynamiclib -undefined dynamic_lookup -o .libs/libbind.3.0.7.dylib
    bsd/.libs/ftruncate.o ...
    ...
    res_sendsigned.o resolv/.libs/res_update.o  -lpthread -install_name
    /usr/local/bind930/lib/libbind.3.dylib -compatibility_version 4
    -current_version 4.7
    ld: multiple definitions of symbol ___evOptMonoTime
    isc/.libs/ev_connects.o definition of ___evOptMonoTime in section
    (__DATA,__common)
    isc/.libs/ev_files.o definition of ___evOptMonoTime in section
    (__DATA,__common)
    isc/.libs/ev_streams.o definition of ___evOptMonoTime in section
    (__DATA,__common)
    isc/.libs/ev_timers.o definition of ___evOptMonoTime in section
    (__DATA,__common)
    isc/.libs/ev_waits.o definition of ___evOptMonoTime in section
    (__DATA,__common)
    isc/.libs/eventlib.o definition of ___evOptMonoTime in section
    (__DATA,__common)
    /usr/bin/libtool: internal link edit command failed
    make[1]: *** [libbind.la] Error 1
    make: *** [subdirs] Error 1

i've found NO references at all (?) googl'ing on 'evOptMonoTime'.

blindly monkeying around with 'extern's in suspect files hasn't yielded any 
success as yet.

fwiw, v923 build is OK in all (3) cases.

a known issue?

richard



More information about the bind-users mailing list