Skip to Content.
Sympa Menu

freetds - Re: conflicting types for `RETCODE'

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: carl dotsch <cardosur AT cardosur.com>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: conflicting types for `RETCODE'
  • Date: Thu, 22 Aug 2002 01:09:25 +0200




carl dotsch wrote:

> Benji Spencer wrote:
>
> > Trying to compile PHP 4.0.6 + FreeTDS 0.53 on a Solaris 2.8 machine
> >
> > I compiled FreeTDS with just a basic ./configure
> >
> > My PHP configure is a bit more complicated though...
> >
> > ./configure --prefix=/usr/local/apache/www
> > --with-apxs=/usr/local/apache/www/bin/apxs --enable-track-vars
> > --enable-ftp
> > --with-gd --enable-gd-imgstrttf --with-ttf --with-zlib=/usr/local
> > --with-informix=/usr/local/ifmxsdk --with-ldap=/usr/local/netscape
> > --with-mysql=/usr/local/mysql-old --with-mcrypt --with-pgsql
> > --disable-debug --enable-libgcc --with-curl --with-imap
> > --with-jpeg-dir=/usr/local --with-png-dir=/usr/local
> > --with-zlib-dir=/usr/local --with-pspell=/usr/local
> > --with-pdflib=/usr/local --with-sybase=/usr/local/freetds --with-xml
> >
> > When I attempt to compile things --with-sybase, I get
> >
> > In file included from /usr/local/freetds/include/sybfront.h:23,
> > from
> > /usr/local/apache/www/src/php-4.0.6/ext/sybase/php_sybase_db.h:67,
> > from internal_functions.c:50:
> > /usr/local/freetds/include/sybdb.h:72: conflicting types for `RETCODE'
> > /usr/local/include/sqltypes.h:130: previous declaration of `RETCODE'
> > make[2]: *** [internal_functions.lo] Error 1
> >
> > at the top of "/usr/local/include/sqltypes.h", I find
> >
> > /*
> > * sqltypes.h
> > *
> > * $Id: sqltypes.h,v 1.2 1999/06/25 09:04:28 source Exp $
> > *
> > * ODBC typedefs
> > *
> > * The iODBC driver manager.
> >
> > That header is part of iODBC?
> >
> > Has anyone seen this before? Any way around it?
> >
> > thanks
> > benji
> >
> > ---
> > Ben Spencer
> > Web Support
> > bspencer AT moody.edu
> > x 2288
> >
> > ---
> > You are currently subscribed to freetds as: [cardosur AT cardosur.com]
> > To unsubscribe, forward this message to $subst('Email.Unsub')
>
> ---
> You are currently subscribed to freetds as: [cardosur AT cardosur.com]
> To unsubscribe, forward this message to $subst('Email.Unsub')





Archive powered by MHonArc 2.6.24.

Top of Page