Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

One small step for man, one giant stumble for mankind.


devel / comp.lang.xharbour / Error on compiling dbf2mysql.prg

SubjectAuthor
* Error on compiling dbf2mysql.prgreina...@gmail.com
`* Re: Error on compiling dbf2mysql.prgEnrico Maria Giordano
 `* Re: Error on compiling dbf2mysql.prgreina...@gmail.com
  `* Re: Error on compiling dbf2mysql.prgreina...@gmail.com
   `* Re: Error on compiling dbf2mysql.prgEnrico Maria Giordano
    `* Re: Error on compiling dbf2mysql.prgreina...@gmail.com
     `* Re: Error on compiling dbf2mysql.prgEnrico Maria Giordano
      `- Re: Error on compiling dbf2mysql.prgreina...@gmail.com

1
Error on compiling dbf2mysql.prg

<56f39d8e-cd6a-4a4d-8518-fe57f2df9065n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17273&group=comp.lang.xharbour#17273

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:4044:0:b0:3bd:142a:cb21 with SMTP id j4-20020ac84044000000b003bd142acb21mr477719qtl.0.1678927712095;
Wed, 15 Mar 2023 17:48:32 -0700 (PDT)
X-Received: by 2002:a81:ae52:0:b0:541:87dd:44c0 with SMTP id
g18-20020a81ae52000000b0054187dd44c0mr1126141ywk.5.1678927711909; Wed, 15 Mar
2023 17:48:31 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1.feed.usenet.farm!feed.usenet.farm!peer01.ams4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Wed, 15 Mar 2023 17:48:31 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=2804:17bc:13c:600:984e:988a:8c5d:b2ff;
posting-account=yZJwlQoAAADzKZZdom395T93hGRZPX0-
NNTP-Posting-Host: 2804:17bc:13c:600:984e:988a:8c5d:b2ff
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <56f39d8e-cd6a-4a4d-8518-fe57f2df9065n@googlegroups.com>
Subject: Error on compiling dbf2mysql.prg
From: reinaldohf@gmail.com (reina...@gmail.com)
Injection-Date: Thu, 16 Mar 2023 00:48:32 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1462
 by: reina...@gmail.com - Thu, 16 Mar 2023 00:48 UTC

Hi,

I am trying to compile dbf2mysql.prg from the contrib\mysql\tests\dbf2mysql.prg.

It gives the error message bellow:

Error: Unresolved external '_HB_FUN_TMYSQLSERVER' referenced from C:\USERS\RHFSY\XHARBOUR_SRC\CORE-MASTER\CONTRIB\MYSQL\TESTS\OBJ\DBF2MYSQL.OBJ

What is wrong?

Thanks in advance.

Reynaldo Henrique

Re: Error on compiling dbf2mysql.prg

<tuum4f$1b9ss$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17274&group=comp.lang.xharbour#17274

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: Error on compiling dbf2mysql.prg
Date: Thu, 16 Mar 2023 10:05:20 +0100
Organization: A noiseless patient Spider
Lines: 25
Message-ID: <tuum4f$1b9ss$1@dont-email.me>
References: <56f39d8e-cd6a-4a4d-8518-fe57f2df9065n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 16 Mar 2023 09:05:19 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c273bde8370367f8afacc6723cc8fdb6";
logging-data="1419164"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+HDztgt2LKFSaaDacM2QFc"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:9LejRl59SJ7rL7NzkbXyf2SkEp0=
In-Reply-To: <56f39d8e-cd6a-4a4d-8518-fe57f2df9065n@googlegroups.com>
 by: Enrico Maria Giordan - Thu, 16 Mar 2023 09:05 UTC

Il 16/03/2023 01:48, reina...@gmail.com ha scritto:

> Hi,
>
> I am trying to compile dbf2mysql.prg from the contrib\mysql\tests\dbf2mysql.prg.
>
> It gives the error message bellow:
>
> Error: Unresolved external '_HB_FUN_TMYSQLSERVER' referenced from C:\USERS\RHFSY\XHARBOUR_SRC\CORE-MASTER\CONTRIB\MYSQL\TESTS\OBJ\DBF2MYSQL.OBJ
>
> What is wrong?

I could not build all the contrib source code, sorry. However, the
source code of TMySQLServer is in contrib\mysql\tmysql.prg.

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Re: Error on compiling dbf2mysql.prg

<aabb7f51-3a60-43ca-8fd9-5ac47ede1053n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17278&group=comp.lang.xharbour#17278

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:620a:110d:b0:745:32ab:4d2a with SMTP id o13-20020a05620a110d00b0074532ab4d2amr4097171qkk.14.1678998534020;
Thu, 16 Mar 2023 13:28:54 -0700 (PDT)
X-Received: by 2002:a81:d84d:0:b0:541:69bc:8626 with SMTP id
n13-20020a81d84d000000b0054169bc8626mr3089554ywl.10.1678998533651; Thu, 16
Mar 2023 13:28:53 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 16 Mar 2023 13:28:53 -0700 (PDT)
In-Reply-To: <tuum4f$1b9ss$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2804:17bc:14d:2b00:699e:c53:9dd:ae5a;
posting-account=yZJwlQoAAADzKZZdom395T93hGRZPX0-
NNTP-Posting-Host: 2804:17bc:14d:2b00:699e:c53:9dd:ae5a
References: <56f39d8e-cd6a-4a4d-8518-fe57f2df9065n@googlegroups.com> <tuum4f$1b9ss$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <aabb7f51-3a60-43ca-8fd9-5ac47ede1053n@googlegroups.com>
Subject: Re: Error on compiling dbf2mysql.prg
From: reinaldohf@gmail.com (reina...@gmail.com)
Injection-Date: Thu, 16 Mar 2023 20:28:54 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 11
 by: reina...@gmail.com - Thu, 16 Mar 2023 20:28 UTC

Hi Enrico,

Thank you for your answear!
> > What is wrong?
> I could not build all the contrib source code, sorry. However, the
> source code of TMySQLServer is in contrib\mysql\tmysql.prg.
>
I tried to rebuild all the lib, but it gives a lot of error message!
So, I don't know what to do.

Reynaldo Henrique

Re: Error on compiling dbf2mysql.prg

<ebeadf8d-a766-4afa-ad5d-885bf169391dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17279&group=comp.lang.xharbour#17279

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:1e13:0:b0:3d2:f304:18c8 with SMTP id n19-20020ac81e13000000b003d2f30418c8mr1379768qtl.9.1679003220918;
Thu, 16 Mar 2023 14:47:00 -0700 (PDT)
X-Received: by 2002:a25:9c43:0:b0:94a:ebba:cba6 with SMTP id
x3-20020a259c43000000b0094aebbacba6mr23284240ybo.9.1679003220694; Thu, 16 Mar
2023 14:47:00 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 16 Mar 2023 14:47:00 -0700 (PDT)
In-Reply-To: <aabb7f51-3a60-43ca-8fd9-5ac47ede1053n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2804:17bc:14d:2b00:699e:c53:9dd:ae5a;
posting-account=yZJwlQoAAADzKZZdom395T93hGRZPX0-
NNTP-Posting-Host: 2804:17bc:14d:2b00:699e:c53:9dd:ae5a
References: <56f39d8e-cd6a-4a4d-8518-fe57f2df9065n@googlegroups.com>
<tuum4f$1b9ss$1@dont-email.me> <aabb7f51-3a60-43ca-8fd9-5ac47ede1053n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ebeadf8d-a766-4afa-ad5d-885bf169391dn@googlegroups.com>
Subject: Re: Error on compiling dbf2mysql.prg
From: reinaldohf@gmail.com (reina...@gmail.com)
Injection-Date: Thu, 16 Mar 2023 21:47:00 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: reina...@gmail.com - Thu, 16 Mar 2023 21:47 UTC

Em quinta-feira, 16 de março de 2023 às 17:28:54 UTC-3, reina...@gmail.com escreveu:
> Hi Enrico,
>
> Thank you for your answear!
> > > What is wrong?
> > I could not build all the contrib source code, sorry. However, the
> > source code of TMySQLServer is in contrib\mysql\tmysql.prg.
> >
> I tried to rebuild all the lib, but it gives a lot of error message!
> So, I don't know what to do.
>
I rebuild the lib, and now it gives the follow error:

Embarcadero C++ 7.40 for Win32 Copyright (c) 1993-2018 Embarcadero Technologies, Inc.
Warning W8123: Path '\lib' not found - path ignored in option '-L'
mysql.c:
Error E2193 mysql.c 183: Too few parameters in call to 'mysql_real_connect' in function HB_FUN_MYSQL_REAL_CONNECT
*** 1 errors in Compile ***

I corrected all errors that was appearing, and now there is only the error above.

Reynaldo Henrique

Re: Error on compiling dbf2mysql.prg

<tv047u$1jhkh$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17280&group=comp.lang.xharbour#17280

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: Error on compiling dbf2mysql.prg
Date: Thu, 16 Mar 2023 23:12:15 +0100
Organization: A noiseless patient Spider
Lines: 31
Message-ID: <tv047u$1jhkh$1@dont-email.me>
References: <56f39d8e-cd6a-4a4d-8518-fe57f2df9065n@googlegroups.com>
<tuum4f$1b9ss$1@dont-email.me>
<aabb7f51-3a60-43ca-8fd9-5ac47ede1053n@googlegroups.com>
<ebeadf8d-a766-4afa-ad5d-885bf169391dn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 16 Mar 2023 22:12:15 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c273bde8370367f8afacc6723cc8fdb6";
logging-data="1689233"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18LgwqdQgEQbmxYqMiv/zoP"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:Ip/op4sA75vk6vsE2SCkbR15XJg=
In-Reply-To: <ebeadf8d-a766-4afa-ad5d-885bf169391dn@googlegroups.com>
 by: Enrico Maria Giordan - Thu, 16 Mar 2023 22:12 UTC

Il 16/03/2023 22:47, reina...@gmail.com ha scritto:

> Embarcadero C++ 7.40 for Win32 Copyright (c) 1993-2018 Embarcadero Technologies, Inc.
> Warning W8123: Path '\lib' not found - path ignored in option '-L'

Can I see the commands you are using?

> mysql.c:
> Error E2193 mysql.c 183: Too few parameters in call to 'mysql_real_connect' in function HB_FUN_MYSQL_REAL_CONNECT
> *** 1 errors in Compile ***

Check your MYSQL_VERSION_ID. And look at this difference:

mysql_real_connect( mysql, szHost, szUser, szPass, 0, port, NULL, flags ) )

mysql_real_connect( NULL, szHost, szUser, szPass, 0, NULL, 0 ) );

The second does not have the port parameter. Try with

mysql_real_connect( NULL, szHost, szUser, szPass, 0, 0, NULL, 0 ) );

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Re: Error on compiling dbf2mysql.prg

<dd0cd79d-e5d8-4a5c-8af6-c2243d91a46dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17281&group=comp.lang.xharbour#17281

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:ac8:56e6:0:b0:3bf:a5ac:7b1b with SMTP id 6-20020ac856e6000000b003bfa5ac7b1bmr1236093qtu.8.1679005838084;
Thu, 16 Mar 2023 15:30:38 -0700 (PDT)
X-Received: by 2002:a25:9a45:0:b0:b26:47f3:6cb with SMTP id
r5-20020a259a45000000b00b2647f306cbmr15096476ybo.4.1679005837773; Thu, 16 Mar
2023 15:30:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Thu, 16 Mar 2023 15:30:37 -0700 (PDT)
In-Reply-To: <tv047u$1jhkh$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2804:17bc:14d:2b00:699e:c53:9dd:ae5a;
posting-account=yZJwlQoAAADzKZZdom395T93hGRZPX0-
NNTP-Posting-Host: 2804:17bc:14d:2b00:699e:c53:9dd:ae5a
References: <56f39d8e-cd6a-4a4d-8518-fe57f2df9065n@googlegroups.com>
<tuum4f$1b9ss$1@dont-email.me> <aabb7f51-3a60-43ca-8fd9-5ac47ede1053n@googlegroups.com>
<ebeadf8d-a766-4afa-ad5d-885bf169391dn@googlegroups.com> <tv047u$1jhkh$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dd0cd79d-e5d8-4a5c-8af6-c2243d91a46dn@googlegroups.com>
Subject: Re: Error on compiling dbf2mysql.prg
From: reinaldohf@gmail.com (reina...@gmail.com)
Injection-Date: Thu, 16 Mar 2023 22:30:38 +0000
Content-Type: text/plain; charset="UTF-8"
 by: reina...@gmail.com - Thu, 16 Mar 2023 22:30 UTC

Hi Enrico,

Thanks for your help!

> Check your MYSQL_VERSION_ID. And look at this difference:
>
> mysql_real_connect( mysql, szHost, szUser, szPass, 0, port, NULL, flags ) )
>
> mysql_real_connect( NULL, szHost, szUser, szPass, 0, NULL, 0 ) );
>
> The second does not have the port parameter. Try with
>
> mysql_real_connect( NULL, szHost, szUser, szPass, 0, 0, NULL, 0 ) );
> --
All errors have been resolved.
The lib MYSQL.LIB was built successfully!
Now I can test it.

Reynaldo Henrique

Re: Error on compiling dbf2mysql.prg

<tv1dah$1stej$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17283&group=comp.lang.xharbour#17283

  copy link   Newsgroups: comp.lang.xharbour
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: e.m.giordano@emagsoftware.it (Enrico Maria Giordano)
Newsgroups: comp.lang.xharbour
Subject: Re: Error on compiling dbf2mysql.prg
Date: Fri, 17 Mar 2023 10:53:22 +0100
Organization: A noiseless patient Spider
Lines: 18
Message-ID: <tv1dah$1stej$1@dont-email.me>
References: <56f39d8e-cd6a-4a4d-8518-fe57f2df9065n@googlegroups.com>
<tuum4f$1b9ss$1@dont-email.me>
<aabb7f51-3a60-43ca-8fd9-5ac47ede1053n@googlegroups.com>
<ebeadf8d-a766-4afa-ad5d-885bf169391dn@googlegroups.com>
<tv047u$1jhkh$1@dont-email.me>
<dd0cd79d-e5d8-4a5c-8af6-c2243d91a46dn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 17 Mar 2023 09:53:21 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="c4f60f52c9236f8b7fe88e5efe0cc4a2";
logging-data="1996243"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18d3GqA4V2LwO2iA8pqZklw"
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.9.0
Cancel-Lock: sha1:e6fyf8QSDUEuE+JW+wTRqtmXjZk=
In-Reply-To: <dd0cd79d-e5d8-4a5c-8af6-c2243d91a46dn@googlegroups.com>
 by: Enrico Maria Giordan - Fri, 17 Mar 2023 09:53 UTC

Il 16/03/2023 23:30, reina...@gmail.com ha scritto:

> All errors have been resolved.
> The lib MYSQL.LIB was built successfully!
> Now I can test it.

Great! Please keep us updated.

--
Enrico Maria Giordano

http://www.emagsoftware.it
http://www.emagsoftware.it/emgmusic
http://www.emagsoftware.it/spectrum
http://www.emagsoftware.it/tbosg

Re: Error on compiling dbf2mysql.prg

<6ff2f519-1a9c-4244-a74f-626ce7a6d16en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17287&group=comp.lang.xharbour#17287

  copy link   Newsgroups: comp.lang.xharbour
X-Received: by 2002:a05:6214:20a:b0:56c:235d:5d42 with SMTP id i10-20020a056214020a00b0056c235d5d42mr1137728qvt.0.1679081129573;
Fri, 17 Mar 2023 12:25:29 -0700 (PDT)
X-Received: by 2002:a05:6902:725:b0:b58:b42d:945c with SMTP id
l5-20020a056902072500b00b58b42d945cmr472790ybt.0.1679081129240; Fri, 17 Mar
2023 12:25:29 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.xharbour
Date: Fri, 17 Mar 2023 12:25:28 -0700 (PDT)
In-Reply-To: <tv1dah$1stej$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=2804:17bc:17a:b800:51db:d5c3:9183:d683;
posting-account=yZJwlQoAAADzKZZdom395T93hGRZPX0-
NNTP-Posting-Host: 2804:17bc:17a:b800:51db:d5c3:9183:d683
References: <56f39d8e-cd6a-4a4d-8518-fe57f2df9065n@googlegroups.com>
<tuum4f$1b9ss$1@dont-email.me> <aabb7f51-3a60-43ca-8fd9-5ac47ede1053n@googlegroups.com>
<ebeadf8d-a766-4afa-ad5d-885bf169391dn@googlegroups.com> <tv047u$1jhkh$1@dont-email.me>
<dd0cd79d-e5d8-4a5c-8af6-c2243d91a46dn@googlegroups.com> <tv1dah$1stej$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6ff2f519-1a9c-4244-a74f-626ce7a6d16en@googlegroups.com>
Subject: Re: Error on compiling dbf2mysql.prg
From: reinaldohf@gmail.com (reina...@gmail.com)
Injection-Date: Fri, 17 Mar 2023 19:25:29 +0000
Content-Type: text/plain; charset="UTF-8"
 by: reina...@gmail.com - Fri, 17 Mar 2023 19:25 UTC

>
> > All errors have been resolved.
> > The lib MYSQL.LIB was built successfully!
> > Now I can test it.
> Great! Please keep us updated.

Now what I have to do is test the classes. I have a lot to learn.

Thanks,

Reyanddo Henrique

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor