freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Mark Schaal (staff) <mark AT champ.tstonramp.com>
- To: freetds AT franklin.oit.unc.edu
- Subject: Re: Problem compiling on Solaris 2.6
- Date: Fri, 23 Jul 1999 12:03:41 -0700 (PDT)
The problem is with the enum at convert.c:510
enum {MONTH = 1, DAY, YEAR, HOUR, MIN, SEC, MILLI};
which conflicts with Solaris /usr/include/sys/time.h
/*
* Definitions for commonly used resolutions.
*/
#define SEC 1
#define MILLISEC 1000
#define MICROSEC 1000000
#define NANOSEC 1000000000
Change all uses of SEC to SECONDS and it should compile. Hmmm,
or maybe prefixing everything with TDS_ would be better as a
psuedo-namespace.
Mark
>
> I am having trouble with compiling FreeTDS v0.45. If anyone has any ideas
> why this would be happening.
[...]
> convert.c: In function `_string_to_tm':
> convert.c:510: parse error before `1'
> convert.c:535: duplicate case value
> convert.c:523: this is the first entry for that value
[...]
> Thank you,
> Robert Mann
> Lightspeed Net
--
Mark J. Schaal Phone: (909) 620-7724
TST On Ramp Fax: (909) 620-8174
System Administrator E-Mail: mark AT tstonramp.com
-
Problem compiling on Solaris 2.6,
FreeTDS, 07/23/1999
- <Possible follow-up(s)>
- Re: Problem compiling on Solaris 2.6, staff, 07/23/1999
- Re: Problem compiling on Solaris 2.6, Martin Spott, 07/23/1999
- Re: Problem compiling on Solaris 2.6, Brian Bruns, 07/24/1999
- Re: Problem compiling on Solaris 2.6, Brian Bruns, 07/24/1999
- Re: Problem compiling on Solaris 2.6, Martin Spott, 07/25/1999
Archive powered by MHonArc 2.6.24.