comp.lang.ada
 help / color / mirror / Atom feed
* mySQL
@ 2001-06-27  7:49 Alexey Litvinov425951637
  2001-06-27 16:12 ` mySQL Ted Dennison
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Litvinov425951637 @ 2001-06-27  7:49 UTC (permalink / raw)


Does anybody try to compile binding to mySQL (libmysql.dll) by
-- Written December 2000 by Francois FABIEN
Problem not in binding, his compiled ok.
But with import library I have a lot of trouble:
I do all by UG of GNAT:
dll2def libmysql.dll >libmysql.def
gnatdll -d libmysql.dll
and get liblibmysql.a
gnatmake Test_client.adb -largs -llibmysql
and getting a lot of "unrisolved reference" from linker???
(binding exisits on www.mysql.com in contributed software)





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mySQL
  2001-06-27  7:49 mySQL Alexey Litvinov425951637
@ 2001-06-27 16:12 ` Ted Dennison
  2001-06-27 16:31   ` mySQL David C. Hoos
  0 siblings, 1 reply; 4+ messages in thread
From: Ted Dennison @ 2001-06-27 16:12 UTC (permalink / raw)


In article <9hc3dq$nv3$1@s04.net.kht.ru>, Alexey Litvinov425951637 says...
>I do all by UG of GNAT:
>dll2def libmysql.dll >libmysql.def
>gnatdll -d libmysql.dll
>and get liblibmysql.a
>gnatmake Test_client.adb -largs -llibmysql
>and getting a lot of "unrisolved reference" from linker???
>(binding exisits on www.mysql.com in contributed software)

It may just be that it can't find the file. Make sure to place a "-L" linker
argument in front of the "-l" telling it what directory the "liblibmysql.a" (I
have trouble believeing that's really supposed to be its name) is located in.

---
T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html
          home email - mailto:dennison@telepath.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mySQL
  2001-06-27 16:12 ` mySQL Ted Dennison
@ 2001-06-27 16:31   ` David C. Hoos
  2001-06-27 20:49     ` mySQL Ted Dennison
  0 siblings, 1 reply; 4+ messages in thread
From: David C. Hoos @ 2001-06-27 16:31 UTC (permalink / raw)
  To: comp.lang.ada

The gnatmake command should probably have been
gnatmake test_client -largs -lmysql

----- Original Message -----
From: "Ted Dennison" <dennison@telepath.com>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: Wednesday, June 27, 2001 11:12 AM
Subject: Re: mySQL


> In article <9hc3dq$nv3$1@s04.net.kht.ru>, Alexey Litvinov425951637 says...
> >I do all by UG of GNAT:
> >dll2def libmysql.dll >libmysql.def
> >gnatdll -d libmysql.dll
> >and get liblibmysql.a
> >gnatmake Test_client.adb -largs -llibmysql
> >and getting a lot of "unrisolved reference" from linker???
> >(binding exisits on www.mysql.com in contributed software)
>
> It may just be that it can't find the file. Make sure to place a "-L"
linker
> argument in front of the "-l" telling it what directory the
"liblibmysql.a" (I
> have trouble believeing that's really supposed to be its name) is located
in.
>
> ---
> T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html
>           home email - mailto:dennison@telepath.com
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
>




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mySQL
  2001-06-27 16:31   ` mySQL David C. Hoos
@ 2001-06-27 20:49     ` Ted Dennison
  0 siblings, 0 replies; 4+ messages in thread
From: Ted Dennison @ 2001-06-27 20:49 UTC (permalink / raw)


In article <mailman.993659632.18657.comp.lang.ada@ada.eu.org>, David C. Hoos
says...
>
>The gnatmake command should probably have been
>gnatmake test_client -largs -lmysql

That was my first thought too. But he clearly stated that the file's name was
"liblibmysql.a" (see quoted text below). It might be a good guess that if he
ended up with a file by that name he did something wrong already, but I don't
know enough about that library to say that for sure.

>> In article <9hc3dq$nv3$1@s04.net.kht.ru>, Alexey Litvinov425951637 says...
>> >I do all by UG of GNAT:
>> >dll2def libmysql.dll >libmysql.def
>> >gnatdll -d libmysql.dll
>> >and get liblibmysql.a

---
T.E.D.    homepage   - http://www.telepath.com/dennison/Ted/TED.html
          home email - mailto:dennison@telepath.com



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-06-27 20:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-06-27  7:49 mySQL Alexey Litvinov425951637
2001-06-27 16:12 ` mySQL Ted Dennison
2001-06-27 16:31   ` mySQL David C. Hoos
2001-06-27 20:49     ` mySQL Ted Dennison

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox