PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: Michael Peppler <mpeppler at peppler dot org>
Subject: Re: Problems building DBD-Sybase-1.05
Date: Apr 28 2005 5:34PM

On Thu, 2005-04-28 at 16:23, Andy Cravens wrote:
> > > -I/opt/gnu/perl5.005_03/lib/5.00503/sun4-solaris-thread/CORE  dbdimp.c
> > > dbdimp.c: In function `st_next_result':
> > > dbdimp.c:3045: parameter `thr' is initialized
> > > dbdimp.c:3045: declaration for parameter `thr' but no such parameter
> > > gcc: file path prefix `/usr/ccs/bin/' never used
> > > *** Error code 1
> > > make: Fatal error: Command failed for target `dbdimp.o'
> > 
> > Try to add a
> > dTHR
> > declaration macro to the st_next_result() function.
> >
> > I note that you are using the threaded version of 5.005... that's really
> > quite risky - I seem to remember that this was pretty unstable!
> 
> Actually, line 3045 which is causing the error is the "dTHR;"
> declaration. 

Have you tried *removing* that declaration?

Michael
-- 
Michael Peppler  -  mpeppler@peppler.org  -  http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html