Hi Patrick,

A possible workaround is to edit the binsrc/drivers/Makefile.am file and add a comment character (#) before the -no-undefined flag. Then you need to regenerate the Makefile using the top ./autogen.sh script.

sorry, this did not work. I removed the flag in Makefile.am and executed ./autogen.sh, then ./configure && make

here is the output ofm autogen.sh:

Checking build environment ...
Using libtoolize (GNU libtool) 1.5.20
Using aclocal (GNU automake) 1.6.3
Using autoheader (GNU Autoconf) 2.59
Using automake (GNU automake) 1.6.3
Using autoconf (GNU Autoconf) 2.59

Generating build scripts ...
Running glibtoolize ...
Putting files in AC_CONFIG_AUX_DIR, `binsrc/config'.
Running aclocal ...
Running autoheader ...
Running automake ...
Running autoconf ...

Please check the INSTALL and README files for instructions to
configure, build and install Virtuoso on your system.

Certain build targets are only enabled in maintainer mode:

    ./configure --enable-maintainer-mode ...

Bootstrap script completed successfully.



output of the error:

(cd .libs && rm -f libvirtodbc.la && ln -s ../libvirtodbc.la libvirtodbc.la) /bin/sh ../../libtool --mode=link gcc -O -m32 -s -o virtodbc32.la - rpath /usr/local/lib -module -avoid-version -export-dynamic -export- symbols virt.exp virt_vers.lo libvirtodbc.la ../../libsrc/Thread/ libthrs.la ../../libsrc/Dk/libdk1t.la ../../libsrc/util/ libutil.la ../../libsrc/zlib/libz.la -lssl -lcrypto -lm -lm sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < virt.exp > .libs/virtodbc32-symbols.expsym gcc -bundle -flat_namespace -undefined suppress -o .libs/ virtodbc32 .libs/virt_vers.o -all_load ./.libs/libvirtodbc.a ../../ libsrc/Thread/.libs/libthrs.a ../../libsrc/Dk/.libs/libdk1t.a ../../ libsrc/util/.libs/libutil.a ../../libsrc/zlib/.libs/libz.a -lssl - lcrypto -lm -m32
/usr/bin/ld: warning multiple definitions of symbol _regcomp
../../libsrc/util/.libs/libutil.a(libutil_la-regexp.o) definition of _regcomp in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib (regcomp.So) definition of _regcomp
/usr/bin/ld: warning multiple definitions of symbol _regexec
../../libsrc/util/.libs/libutil.a(libutil_la-regexp.o) definition of _regexec in section (__TEXT,__text) /usr/lib/gcc/powerpc-apple-darwin8/4.0.1/../../../libm.dylib (regexec.So) definition of _regexec
nmedit -s .libs/virtodbc32-symbols.expsym .libs/virtodbc32
nmedit: symbols names listed in: .libs/virtodbc32-symbols.expsym not in: /Users/asche/Desktop/Virtuoso/virtuoso-opensource-4.5.1/binsrc/ driver/.libs/virtodbc32
_SQLCloseCursor
_SQLDrivers
make[2]: *** [virtodbc32.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1

as you can see flag '-no-undefined' is not used anymore but the error is the same as before.

thanks anyway,

jan

Reply via email to