Skip to Content.
Sympa Menu

freetds - RE: Mac OS X 10.1.5 Make Problem?

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Mark J. Lilback" <mark AT lilback.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Cc: stephen.hsu AT donovandata.com
  • Subject: RE: Mac OS X 10.1.5 Make Problem?
  • Date: Tue, 17 Sep 2002 16:24:56 -0400


There will be definite issues with namespaces on Mac OS X. I'm crushed until tomorrow at noon, but after that I'll figure out exactly what has to change in the latest release for a straight compile (if you or someone else hasn't figured it out by then).

For the problem you mention, the "-undefined suppress" needs to be removed from the ld flags, or you need to remove the "-flat_namespace" flag.

For full details on these errors and how to get around them, look at <file://localhost/Developer/Documentation/ReleaseNotes/TwoLevelNamespaces.html>.


At 2:46 PM -0400 9/17/2002, stephen.hsu AT donovandata.com wrote:
Hey Nick,

I tried getting it from CVS, I was able to get all the files but the build
wouldn't work I kept getting

**Error**: You must have `libtool' installed.
Get ftp://ftp.gnu.org/pub/gnu/libtool-1.2d.tar.gz
(or a newer version if it is available)

**Error**: You must have `automake' installed.
Get ftp://ftp.gnu.org/pub/gnu/automake-1.3.tar.gz
(or a newer version if it is available)

I checked libtool is installed. It's a version by apple, it doesn't return
--version so the script fails
there. 'automake' isn't installed on Macintosh OS X.

So I tried using the old files, dropping in freetds/src/tds/asprintf.c,
running the ./configure and
make. I get

mv -f .libs/asprintf.lo asprintf.lo
/bin/sh ../../libtool --mode=link cc -g -O2 -DTDS50 -o libtds.la -rpath
/usr/local/lib mem.lo token.lo util.lo login.lo read.lo write.lo
convert.lo numeric.lo config.lo query.lo iconv.lo locale.lo challenge.lo
threadsafe.lo asprintf.lo
rm -fr .libs/libtds.la .libs/libtds.* .libs/libtds.*
cc -dynamiclib -undefined suppress -o .libs/libtds.0.0.0.dylib mem.lo
token.lo util.lo login.lo read.lo write.lo convert.lo numeric.lo config.lo
query.lo iconv.lo locale.lo challenge.lo threadsafe.lo asprintf.lo -lc
-install_name /usr/local/lib/libtds.0.dylib -compatibility_version 1
-current_version 1.0
ld: -undefined error must be used when -twolevel_namespace is in effect
/usr/bin/libtool: internal link edit command failed
make[3]: *** [libtds.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
[localhost:ddsdds/desktop/freetds] root#

--
__________________________________________________________________________
"They that can give up essential liberty
Mark J. Lilback to obtain a little temporary safety
<mark AT lilback.com> deserve neither liberty or safety."
http://www.lilback.com/ -- Benjamin Franklin




Archive powered by MHonArc 2.6.24.

Top of Page