Thank you for the quick answer, Sinisa Milivojevic.

I had som trouble getting the mysql++ API working.
I tried both binary and source distribution and finally today: It works!!!!
I got another source distibution and after a clean compilation it worked.

Thanks!

Hilsen
Jarle

----- Original Message -----
From: "Sinisa Milivojevic" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <    >
Sent: Thursday, February 22, 2001 1:22 PM
Subject: Re: Linuux with mysql and c++ API


> Jarle Rudihagen writes:
>  > Linux with mysql and c++API
>  >
>  > I'am trying to connect to an Mysql database trough c++ API (1.7.8)
>  > The program compiles just fine but when i try to run it I get the
message
>  > Segmentation fault core dump....
>  >
>  > When I try to run the program with the strace command I can see that
the
>  > program connects to the database and retrives information from the
selected
>  > table........
>  > But just at it's about to complete it preformes the core dump.
>  >
>  > The follwing seems to be the problem:
>  > munmap(0xfec54533, 1096976036) = -1 EINVAL (Invalid argument)
>  >
>  > The arguments that I use seem to be correct code vise???
>  >
>  > Can anyone give me a hint?
>  >
>  > Jarle
>  >
>
> Hi!
>
> Please provide more info. What glibc do you have, which gcc compiler,
> how did you build mysql++ and finally what is your program like.
>
> SIGSEGV  could be caused by a bug in connection.cc, so I am sending
> you a correct one. You will have to rebuild mysql++.
>
>
>


----------------------------------------------------------------------------
----


>
> Regards,
>
> Sinisa
>
>       ____  __     _____   _____  ___     ==  MySQL AB
>      /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic
>     /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:[EMAIL PROTECTED]
>    /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaca, Cyprus
>   /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
>   ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
>              /*/             \*\                Developers Team
>


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to