Prindle, Douglas E wrote:
> Hello,
> 
>  
> 
> Being first time through this process when I did the make it was looking
> for the gcc compiler. My company has made that End Of Life due to it
> being a sunsetted product.

really?

> So I switched to the Forte 11 compiler from
> Sun which we have had no issues with compiling other existing c code.

But of course you realise you need to ensure the perl you are using was
compiled with this compiler too.

> 
> However, when I try to make the DBI after pointing it to the new Forte
> compiler I am getting a series of errors that seem to point to the DBI.c
> and DBI.xs files as having issues.
> 
>  
> 
> Can you please advise as to what I can do? I am thinking maybe some very
> strict compiler options are on? But not sure.

I think so but I cannot see them in the output you provided so I imagine
forte C has some central defaults - I cannot guess what they are or what
they do.

>  
> 
> Any and all help greatly appreciated.
> 
>  
> 
> *Thank You, *
> 
> *Douglas E. Prindle* | Apollo Infrastructure | Cards IT - Citi Brands
> 
> ((904) 954-2472 | 6(904) 954-6305 | * douglas.e.prin...@citi.com
> <mailto:douglas.e.prin...@citi.com>

Please don't cc all these people - they are all on the dbi-users list
which you are also worth subscribing to if you are going to use DBI.

Firstly, the version of DBI you are using (1.53) is quite old now (02
Nov 2006) and you would be better getting 1.609 (08 Jun 2009).

Secondly, most of those warnings can be safely ignored - although
"String literal converted to char* in initialization" is a new one to me.

The problem lines appear to be:

"DBI.xs", line 205: Error: Cannot use void* to initialize char*.
which is:
static char *dbi_build_opt = "-nothread";

What is wrong with that?

"DBI.c", line 3923: Error: Unexpected type name "SV" encountered.
This is a generated file so we'd need to see what you generated.

Try and find what default options your compiler is using and work out
what they do. I'd look into this but I've not got Forte C 11 so I think
you'll have to do some digging around yourself.

Martin
-- 
Martin J. Evans
Easysoft Limited
http://www.easysoft.com

Reply via email to