Send fpc-pascal mailing list submissions to
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
or, via email, send a message with subject or body 'help' to
You can reach the person managing the list at
When replying, please edit your Subject line so it is more specific
than "Re: Contents of fpc-pascal digest..."
Today's Topics:
1. Error: cannot find -lcurses (Greenblatt)
2. Re: Error: cannot find -lcurses (John Coppens)
3. Re: Error: cannot find -lcurses (Marco van de Voort)
4. Re: fpMMap and FreeBSD (Marco van de Voort)
5. Re: Error: cannot find -lcurses (Florian Klaempfl)
----------------------------------------------------------------------
Message: 1
Date: Sun, 24 Apr 2005 16:37:12 +0200
From: Greenblatt
Subject: [fpc-pascal] Error: cannot find -lcurses
To:
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
I have a problem with FreePascal 1.0.10 under SuSE 9.1. If I want to
compile source code, which makes use of the keyboard unit, I get the
following error message:
/usr/bin/ld: cannot find -lcurses
Pong(46) Error: Error while linking
Closing script ppas.sh
Since I'm a beginner concerning Pascal and don't know the inner-working
of the compiler, I ask you for help.
Thanks in advance.
Hans - Peter
------------------------------
Message: 2
Date: Sun, 24 Apr 2005 15:14:39 -0300
From: John Coppens
Subject: Re: [fpc-pascal] Error: cannot find -lcurses
To: FPC-Pascal users discussions
Message-ID:
Content-Type: text/plain; charset=US-ASCII
On Sun, 24 Apr 2005 16:37:12 +0200
Greenblatt wrote:
>Hi,
>
>I have a problem with FreePascal 1.0.10 under SuSE 9.1. If I want to
>compile source code, which makes use of the keyboard unit, I get the
>following error message:
>
> /usr/bin/ld: cannot find -lcurses
> Pong(46) Error: Error while linking
> Closing script ppas.sh
>
>Since I'm a beginner concerning Pascal and don't know the inner-working
>of the compiler, I ask you for help.
>
>
>
Hallo Hans-Peter
1) Do you have the ncurses library installed? (This is quite probable,
it comes with most distributions)
Try: locate libcurses
or check in /usr/lib, /usr/local/lib for that lib.
if no luck, install it.
2) It's also possible you don't have the library in the search path,
John
------------------------------
Message: 3
Date: Sun, 24 Apr 2005 20:31:49 +0200 (CEST)
From: (Marco van de Voort)
Subject: Re: [fpc-pascal] Error: cannot find -lcurses
To: FPC-Pascal users discussions
Message-ID:
Content-Type: text/plain; charset=US-ASCII
>Greenblatt wrote:
>
>
>
>>Hi,
>>
>>I have a problem with FreePascal 1.0.10 under SuSE 9.1. If I want to
>>compile source code, which makes use of the keyboard unit, I get the
>>following error message:
>>
>> /usr/bin/ld: cannot find -lcurses
>> Pong(46) Error: Error while linking
>> Closing script ppas.sh
>>
>>Since I'm a beginner concerning Pascal and don't know the inner-working
>>of the compiler, I ask you for help.
>>
>>
>>
>Hallo Hans-Peter
>
>1) Do you have the ncurses library installed? (This is quite probable,
> it comes with most distributions)
> Try: locate libcurses
> or check in /usr/lib, /usr/local/lib for that lib.
> if no luck, install it.
>
>2) It's also possible you don't have the library in the search path,
>
>
3) there is no symlink from libcurses.so to libncurses.so
------------------------------
Message: 4
Date: Sun, 24 Apr 2005 21:14:16 +0200 (CEST)
From: (Marco van de Voort)
Subject: Re: [fpc-pascal] fpMMap and FreeBSD
To: Xromov Kirill , FPC-Pascal users
discussions
Message-ID:
Content-Type: text/plain; charset=US-ASCII
> I try to use fpMMap function to access file data under FreeBSD 5.3-RELEASE
> with fpc-1.9.8. But code from examle
> (
http://www.freepascal.org/docs-html/rtl/baseunix/fpmmap.html) not working.
>
>
Fixed in CVS.
Turned out mmap called via __syscall needs an extra parameter that must be 0 (?),
due to stack layout the filedescriptor got passed in this space, which is ok for
memory mapping of memory, but not for this example.
There is not much one can easily do in 1.9.8 to get it to work easily, since
the 9 param do_syscall call doesn't exist either.
If you can't/won't use CVS, I could see if I can make a quick mock unit with
a working mmap in it for 1.9.8.
------------------------------
Message: 5
Date: Sun, 24 Apr 2005 23:22:21 +0200
From: Florian Klaempfl
Subject: Re: [fpc-pascal] Error: cannot find -lcurses
To: FPC-Pascal users discussions
Message-ID:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Marco van de Voort wrote:
>>Greenblatt wrote:
>>
>>
>>
>>
>>>Hi,
>>>
>>>I have a problem with FreePascal 1.0.10 under SuSE 9.1. If I want to
>>>compile source code, which makes use of the keyboard unit, I get the
>>>following error message:
>>>
>>> /usr/bin/ld: cannot find -lcurses
>>> Pong(46) Error: Error while linking
>>> Closing script ppas.sh
>>>
>>>Since I'm a beginner concerning Pascal and don't know the inner-working
>>>of the compiler, I ask you for help.
>>>
>>>
>>>
>>Hallo Hans-Peter
>>
>>1) Do you have the ncurses library installed? (This is quite probable,
>> it comes with most distributions)
>> Try: locate libcurses
>> or check in /usr/lib, /usr/local/lib for that lib.
>> if no luck, install it.
>>
>>2) It's also possible you don't have the library in the search path,
>>
>>
> 3) there is no symlink from libcurses.so to libncurses.so
>
>
4) there is no ncurses development library installed.
------------------------------
_______________________________________________
fpc-pascal maillist -
http://lists.freepascal.org/mailman/listinfo/fpc-pascal
End of fpc-pascal Digest, Vol 8, Issue 23
*****************************************