Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Misc > Re: compiling c...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 8 Topic 786 of 811
Post > Topic >>

Re: compiling curl wrappers

by P.A.C.Nunnink@[EMAIL PROTECTED] Apr 13, 2008 at 10:00 AM

On 13 apr, 12:04, Marco van de Voort <mar...@[EMAIL PROTECTED]
> wrote:
> On 2008-04-13, P.A.C.Nunn...@[EMAIL PROTECTED]
 <P.A.C.Nunn...@[EMAIL PROTECTED]
> wrote:
>
> > I've been trying to compile libcurl wrappers for the curl library. But
> > it doesn't work. I'm using FPC 2.0.2 en it keeps not finding a unit
> > named 'libc'. And neither can I, by the way. I've been googling around
> > and found sourcecode for a libc-unit, but that's not it, apparently.
> > And funny thing is, I have compiled this before, but I haven't got the
> > slightest idea how I did it, then.
> > Please help!
>
> The libc unit is deprecated. It is a Kylix legacy unit that is only
sup****t
> for FPC on linux/x86. Please do not use it.
>
> Remove the unit, post the errors that you get, for some functions there
are
> substitutes.

Hey thanks, man!

I removed the unit and this is what I got:

gmake -C src  fpc
gmake[1]: Entering directory `/usr/home/u204056/curl/curlpas
rm -f *.ppu *.o *.ppw *.ow
ppc386 curl_h.pas
Free Pascal Compiler version 2.0.2 [2005/11/17] for i386
Copyright (c) 1993-2005 by Florian Klaempfl
Target OS: FreeBSD/ELF for i386
Compiling curl_h.pas
curl_h.pas(458,14) Error: Identifier not found "off_t"
curl_h.pas(458,19) Error: Error in type definition
curl_h.pas(480,60) Error: Identifier not found "size_t"
curl_h.pas(480,75) Error: Identifier not found "size_t"
curl_h.pas(480,102) Error: Identifier not found "size_t"
curl_h.pas(481,59) Error: Identifier not found "size_t"
curl_h.pas(481,74) Error: Identifier not found "size_t"
curl_h.pas(481,100) Error: Identifier not found "size_t"
curl_h.pas(484,93) Error: Identifier not found "size_t"
curl_h.pas(544,54) Error: Identifier not found "size_t"
curl_h.pas(557,47) Error: Identifier not found "ptime_t"
curl_h.pas(557,55) Error: Identifier not found "time_t"
curl_h.pas(574,67) Error: Identifier not found "pfdset"
curl_h.pas(574,88) Error: Identifier not found "pfdset"
curl_h.pas(574,107) Error: Identifier not found "pfdset"

There are two more places in the include files where libc is
metioned,    I  think tehre will be a few more errors concerning
thread-functions.
 




 8 Posts in Topic:
compiling curl wrappers
P.A.C.Nunnink@[EMAIL PROT  2008-04-12 17:51:25 
Re: compiling curl wrappers
Marco van de Voort <ma  2008-04-13 10:04:58 
Re: compiling curl wrappers
P.A.C.Nunnink@[EMAIL PROT  2008-04-13 10:00:37 
Re: compiling curl wrappers
Marco van de Voort <ma  2008-04-13 17:17:24 
Re: compiling curl wrappers
P.A.C.Nunnink@[EMAIL PROT  2008-04-13 10:23:34 
Re: compiling curl wrappers
Marco van de Voort <ma  2008-04-13 20:24:29 
Re: compiling curl wrappers
P.A.C.Nunnink@[EMAIL PROT  2008-04-14 05:18:57 
Re: compiling curl wrappers
Marco van de Voort <ma  2008-04-14 13:09:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 0:50:19 CDT 2008.