Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2001-05

Latest snapshot problem

8 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Kanzelsberger Pavel

I downloaded latest snapshot right now and tried to compile my program. Compilation failed because compiler can't find file "libpwindows.aw" ... where to get it? or how to generate it?

Earlier message 51 lines
-----Original Message----- From: Kanzelsberger Pavel Sent: Thursday, May 31, 2001 2:53 PM To: '' Subject: RE: [fpc-pascal]mysql on windows Yes it's v1.5 { $Id: mysql.pp,v 1.5 2001/03/13 08:50:38 michael Exp $ } and contains {$ifdef win32} Const mysqllib = 'libmysql'; {$else} Const mysqllib = 'mysqlclient'; {$endif} {$ifndef win32} {$linklib c} {$linklib m} {$endif} -----Original Message----- From: Peter Vreman [ ] Sent: Thursday, May 31, 2001 2:35 PM To: Subject: RE: [fpc-pascal]mysql on windows > I'm using v1.1 of compiler... but erasing last INPUT() from link.res helps, > anyway I don't understand why :) Which revision of the mysql.pp do you have? 1.5 is the correct version, it contains the next lines: {$ifndef win32} {$linklib c} {$linklib m} {$endif} this will result in not having the -lc and -lm in the link.res

Reply by email

Lee, John

The snapshots currently do not have smartlinking enabled - ... looks as if it's looking for the smartlink files...J

Earlier message 62 lines
-----Original Message----- From: Kanzelsberger Pavel Sent: Thursday, May 31, 2001 02:07 To: '' Subject: [fpc-pascal]Latest snapshot problem I downloaded latest snapshot right now and tried to compile my program. Compilation failed because compiler can't find file "libpwindows.aw" ... where to get it? or how to generate it? -----Original Message----- From: Kanzelsberger Pavel Sent: Thursday, May 31, 2001 2:53 PM To: '' Subject: RE: [fpc-pascal]mysql on windows Yes it's v1.5 { $Id: mysql.pp,v 1.5 2001/03/13 08:50:38 michael Exp $ } and contains {$ifdef win32} Const mysqllib = 'libmysql'; {$else} Const mysqllib = 'mysqlclient'; {$endif} {$ifndef win32} {$linklib c} {$linklib m} {$endif} -----Original Message----- From: Peter Vreman [ ] Sent: Thursday, May 31, 2001 2:35 PM To: Subject: RE: [fpc-pascal]mysql on windows > I'm using v1.1 of compiler... but erasing last INPUT() from link.res helps, > anyway I don't understand why :) Which revision of the mysql.pp do you have? 1.5 is the correct version, it contains the next lines: {$ifndef win32} {$linklib c} {$linklib m} {$endif} this will result in not having the -lc and -lm in the link.res

Reply by email

Jonas Maebe
to Lee, John
John wrote
The snapshots currently do not have smartlinking enabled - ... looks as if it's looking for the smartlink files...J

Normally, the windows unit is *always* compiled smartlinkable (because otherwise you get problems with functinos which are available only in certain windows versions) It should have {$smartlink on} at the top somewhere in it.

Jonas

Reply by email

Kanzelsberger Pavel

okay, anyway can you explain also this:?

Warning: mysql_com.ppw Interface CRC changed -17494061681006827430

to understand i'm playing with different snapshots and full version

Pavel

Earlier message 21 lines
-----Original Message----- From: Jonas Maebe Sent: Thursday, May 31, 2001 3:21 PM To: Subject: Re: [fpc-pascal]Latest snapshot problem On donderdag, mei 31, 2001, at 03:13 , Lee, John wrote: > The snapshots currently do not have smartlinking enabled - ... looks as > if it's looking for the smartlink files...J Normally, the windows unit is *always* compiled smartlinkable (because otherwise you get problems with functinos which are available only in certain windows versions) It should have {$smartlink on} at the top somewhere in it. Jonas

Reply by email

Jonas Maebe
to Kanzelsberger Pavel
Kanzelsberger Pavel wrote 5 lines
okay, anyway can you explain also this:? Warning: mysql_com.ppw Interface CRC changed -17494061681006827430 to understand i'm playing with different snapshots and full version

Don't do that. You can use them alongside eachother, but don't mix untis from one with another, it won't work most of the time.

Jonas

Reply by email

Kanzelsberger Pavel

I'm not mixing, i'm trying to compile MySQL units using different versions of compiler :)

Earlier message 22 lines
-----Original Message----- From: Jonas Maebe Sent: Thursday, May 31, 2001 3:49 PM To: Subject: Re: [fpc-pascal]Latest snapshot problem On donderdag, mei 31, 2001, at 03:38 , Kanzelsberger Pavel wrote: > okay, anyway can you explain also this:? > > Warning: mysql_com.ppw Interface CRC changed -17494061681006827430 > > to understand i'm playing with different snapshots and full version Don't do that. You can use them alongside eachother, but don't mix untis from one with another, it won't work most of the time. Jonas

Reply by email

Peter Vreman
I'm not mixing, i'm trying to compile MySQL units using different versions of compiler :)

That should work, as both 1.0.x and 1.1 branches use exactly the same sources.

Reply by email