develooper Front page | perl.dbi.users | Postings from February 2008

Re: Redefinition of target errors

Thread Previous | Thread Next
From:
Martin Evans
Date:
February 20, 2008 08:52
Subject:
Re: Redefinition of target errors
Michael Leonida wrote:
> I am getting 3 duplicate (3*2=6 total) redefinition of target errors when I
> try to make the latest DBD::ODBC 1.15 from CPAN. I am using the Borland C++
> compiler on Windows XP Pro. The duplicate redefinitions occur after these
> two lines in the Makefile on blank lines:
> 
> $(OBJECT) : $(PERL_HDRS)
> 
> $(OBJECT) : $(FIRST_MAKEFILE
> 
> I am also using ActivePerl 5.10.0. During running Makefile.PL I get a bunch
> of "probably harmless" Notes that some libraries were not found, including
> ODBC32.LIB.
> 
> Here are the errors:
> 
> Error makefile 908: Redefinition of target 'ConvertUTF.obj'
> 
> Error makefile 908: Redefinition of target 'ODBC.obj'
> 
> Error makefile 908: Redefinition of target 'dbdimp.obj'
> 
> Error makefile 915: Redefinition of target 'ConvertUTF.obj'
> 
> Error makefile 915: Redefinition of target 'ODBC.obj'
> 
> Error makefile 915: Redefinition of target 'dbdimp.obj'
> 
> 
> 
> Any ideas?
> 
> Thanks,
> 
> Mike
> 

What make are you using (nmake? dmake?) and did you specify the make you 
are using on the command line for perl Makefile.PL e.g.,

perl Makefile.PL MAKE=nmake

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

Thread Previous | Thread Next


Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About