Re: Problems building DBD-Sybase-1.05

Michael Peppler <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase
Message-ID <[email protected]>
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  -  [email protected]  -  http://www.peppler.org/
Sybase DBA/Developer
Sybase on Linux FAQ: http://www.peppler.org/FAQ/linux.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.