freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Kiran Kumar M" <kirank AT comatindia.com>
- To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
- Subject: RE: compile error
- Date: Thu, 19 Sep 2002 12:08:00 +0530
Hi James,
I did this and it worked Thanks a lot :-)
src/dblib/Makefile.
Find:
CFLAGS = -g -O2 -DTDS50
Change to:
CFLAGS = -g -DTDS50
Thanks,
Kiran
----- Original Message -----
From: "James K. Lowden" <jklowden AT schemamania.org>
To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
Sent: Thursday, September 19, 2002 11:34 AM
Subject: [freetds] RE: compile error
> > > > From: Kiran Kumar M [mailto:kirank AT comatindia.com]
> > > > Sent: September 17, 2002 6:56 AM
> > > >
> > > > I tried installing on a different box redhat 7.2 with gcc 2.96
> > > > when i do a make i get some internal compile errors ... has
> > > > anybody
> > > > installed freetds on redhat 7.2 ???
>
> > > > /bin/sh ../../libtool --mode=compile
> > > > gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> > > > -g -O2 -DTDS5
> > > > 0 -c bcp.c
> > > > rm -f .libs/bcp.lo
> > > > gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include
> > > > -g -O2 -DTDS50 -
> > > > c bcp.c -fPIC -DPIC -o .libs/bcp.lo
> > > > ../../gcc/function.c:2392: Internal compiler error in function
> > > > fixup_memory_subreg
> > > > make[3]: *** [bcp.lo] Error 1
> > > > make[3]: Leaving directory `/root/packages/freetds/src/dblib'
>
> On Wed, 18 Sep 2002 10:33:56 +0530, "Kiran Kumar M"
> <kirank AT comatindia.com> wrote:
>
> > Hi James,
> > I did try to install from the source (i tried both freetds-0.60.tgz
> > and
> > freetds-current.tgz) and this is the error i got for both
> > ../../gcc/function.c:2392: Internal compiler error in
> > function
> > fixup_memory_subreg
>
> Hi Kiran,
>
> A trip to Google tells me that there were problems like this with gcc and
> egcs. It has to do with optimization, apparently. Why should it affect
> you and not, say, me, who also uses Gnu's compiler? I don't know.
>
> Suggestions:
>
> cd src/dblib;
> gcc -DHAVE_CONFIG_H -I. -I../../include \
> -g -DTDS50 -c bcp.c
> rm -f .libs/bcp.lo
> gcc -DHAVE_CONFIG_H -I. -I../../include \
> -g -DTDS50 -c bcp.c -fPIC -DPIC -o .libs/bcp.lo
>
> Excludes optimization for that file only. Then continue building.
>
> If that doesn't work or you encounter similar problems with other files,
> edit src/dblib/Makefile. Find:
>
> CFLAGS = -g -O2 -DTDS50
>
> Change to:
>
> CFLAGS = -g -DTDS50
>
> Return to the FreeTDS directory. "make clean; make".
>
> Am interested to hear how you fare.
>
> Regards,
>
> --jkl
>
> ---
> You are currently subscribed to freetds as: [kirank AT comatindia.com]
> To unsubscribe, forward this message to
$subst('Email.Unsub')
>
-
compile error,
Kiran Kumar M, 09/17/2002
- <Possible follow-up(s)>
- RE: compile error, Lowden, James K, 09/17/2002
- RE: compile error, Kiran Kumar M, 09/18/2002
- compile error, Simina Baciu, 09/18/2002
- RE: compile error, ZIGLIO Frediano, 09/18/2002
- Compile error, Kiran Kumar M, 09/19/2002
- RE: compile error, James K. Lowden, 09/19/2002
- RE: compile error, Kiran Kumar M, 09/19/2002
- RE: compile error, ZIGLIO Frediano, 09/19/2002
- RE: compile error, Kiran Kumar M, 09/19/2002
- RE: compile error, ZIGLIO Frediano, 09/19/2002
Archive powered by MHonArc 2.6.24.