Markus,

Thanks!  I probably do have an incompatible version of libdbi
installed... I was wondering the same thing too earlier.  I'm using the
RHEL 4 rpm and it has the following version number associated:

0.6.5-10

I went looking for a libdbi-drivers that had that version and couldn't
find one.  Now, I know Red Hat also doesn't keep up with normal version
numbering due to their system, so their 0.6.5-10 might acually be
someone else's 0.8.1, etc.  

So, I may end up having to compile, but regardless here's the info you
requested:

Here's the dbd.h line 38:

          int dbd_fetch_row(dbi_result_t *result, unsigned int rownum);

Here's line 212 of dbd_mysql.c:

          int dbd_fetch_row(dbi_result_t *result, unsigned long long
rowidx) {
        dbi_row_t *row = NULL;

        if (result->result_state == NOTHING_RETURNED) return 0;

        if (result->result_state == ROWS_RETURNED) {
                /* get row here */
                row = _dbd_row_allocate(result->numfields);
                _get_row_data(result, row, rowidx);
                _dbd_row_finalize(result, row, rowidx);
        }

        return 1; /* 0 on error, 1 on successful fetchrow */ }

Here's the ID string of dbd.h:

          $Id:  dbd.h,v 1.15 2002/06/14 22:08:22 dap Exp $

Let me know what you think!

Thanks,

Missy
 

-----Original Message-----
From: Markus Hoenicka [mailto:markus.hoeni...@mhoenicka.de] 
Sent: Thursday, November 04, 2010 12:17 PM
To: Huber, Melissa
Cc: libdbi-drivers-devel@lists.sourceforge.net
Subject: Re: [Libdbi-drivers-devel] Problem compiling
libdbi-drivers-0.8.3-1 on RHEL4 - Sender blocklisted

Hi Melissa,

afaics your configuration seems to be ok. I'm wondering if you have an
incompatible version of libdbi installed.

"Huber, Melissa" <mhu...@ascentdata.com> was heard to say:

> dbd_mysql.c:212: error: conflicting types for 'dbd_fetch_row'
>
> /usr/include/dbi/dbd.h:38: error: previous declaration of 
> 'dbd_fetch_row' was here
>

Just for a start, could you please send me the lines mentioned above,  
i.e. the prototype of dbd_fetch_row() in your copy of dbd.h and the  
corresponding function header in dbd_mysql.c. The ID string of dbd.h  
might also give a clue (this is the last line of the initial comment  
in that file, around line 20, saying something along the lines of  
"$Id: dbd.h,v 1.31 2008/11/11 23:51:42 mhoenicka Exp $").

regards,
Markus




-- 
Markus Hoenicka
http://www.mhoenicka.de
AQ score 38



------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Libdbi-drivers-devel mailing list
Libdbi-drivers-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libdbi-drivers-devel

Reply via email to