[fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Guto
be found. Does anyone have any ideas? Thanks in advance, Guto ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Guto
, Guto On Sat, 24 Jul 2004 16:21:23 +0200 (CEST), Marco van de Voort <[EMAIL PROTECTED]> wrote: > > > > I created a UDF, just to test and try to discovery what's wrong. > > I ill explain what I did step by step. > > > > I created a teste.pas file like

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Guto
> > ___ > fpc-pascal maillist - [EMAIL PROTECTED] > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > -- Guto ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-24 Thread Guto
> - I am confused about the changing of owner and permissions. Have you tried > changing it to root, with permissions 755 ? I copied the permissions from other firebird standard libraries... Whell, Im do this now (and the error remains): contents of teste.pas: {$mode objfpc} library teste;

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-26 Thread Guto
> What version of FPC did you use ? 1.9.2 On Sun, 25 Jul 2004 00:12:15 +0200 (CEST), [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > On Sat, 24 Jul 2004, Guto wrote: > > > > - I am confused about the changing of owner and permissions. Have you tried &g

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-26 Thread Guto
> try: > fpc teste.pp -Xp > ld -shared -soname libteste.so.1 -o libteste.so.1.0 -lc teste.o does not work ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal]Re: [firebird-support] Re: UDF + FreeBsd + FreePascal

2004-07-29 Thread Guto
ill be the solution... Thanks, Guto On Thu, 29 Jul 2004 06:29:32 -, szdfs2003 <[EMAIL PROTECTED]> wrote: > I have such problem, I try do it about month, > but use C language - and no problems. > > FreePascal UDF`s - not working under FreeBSD, > under Linux - use Kylix -

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-29 Thread Guto
> > I believe thats a directive of something like that I must to use to > > works in FreePascal. > > Maybe it needs pic or so What means "pic" or "so" ? Thanks, Guto ___ fpc-pascal maillist - [EMAIL PROTECTE

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-29 Thread Guto
On Sat, 24 Jul 2004 19:43:45 +0200 (CEST), Marco van de Voort <[EMAIL PROTECTED]> wrote: > try: > > fpc teste.pp -Xp > ld -shared -soname libteste.so.1 -o libteste.so.1.0 -lc teste.o Whell, doesnt work too... Why needs ".1" and ".1.0"

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-29 Thread Guto
d with FreePascal 1.0.10, 1.9.2 and 1.9.4, always with the same results... Thanks Guto ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-29 Thread Guto
> > ld -shared -soname libteste.so.1 -o libteste.so.1.0 -lc teste.o > > > > Whell, doesnt work too... > > Well, what doesn't work. I receive the same errors on Firebird that I received before: "module name or entrypoint could not be found" Thanks, G

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-29 Thread Guto
i list the entry points with nm -g the entry point was there I really dont know whats happen... Guto On Thu, 29 Jul 2004 17:36:05 +0200 (W. Europe Daylight Time), Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > On Thu, 29 Jul 2004, Guto wrote: > >

Re: [fpc-pascal]UDF + FreePascal + Firebird 1.5

2004-07-29 Thread Guto
I used in a FPC program and in a C program and works... I write a UDF in C and used it on Firebird and works too... Only not works a FPC UDF in Firebird... I really dont know whats happen... I believe that FPC dont generate a lib in a format that Firebird understands Thanks Guto On Thu, 29