[fpc-pascal] UDF+FREEBSD+FIREBIRD
KES
kes-kes at yandex.ru
Fri Nov 14 22:04:34 CET 2008
Здравствуйте, Marc.
Вы писали 13 ноября 2008 г., 21:43:38:
MS> Am Donnerstag, den 13.11.2008, 18:59 +0200 schrieb KES:
>> Здравствуйте, Marc.
>>
>> Вы писали 12 ноября 2008 г., 23:12:43:
>> MS> Then I'd say the fault is clearly on the firebird side.
>>
>> MS> One last thing I'd try is to use another name (like with ld: using
>> MS> -lmine is searching for "libmine.so", not only "mine.so"), if that
>> MS> fails, too, it time for one of fpc's developers to comment or the
>> MS> firebird people to investigate.
>>
>> what do you mean?
MS> Try to give your library another name, preferably not having the string
MS> "lib" in it. If the linker gets called it searches "libm" for a request
MS> to link to "m". But I do not think that'll help ...
MS> Better would be to push the verbosity of firebirds error messages up
MS> (-vv or something like that) and investigate why it does not find the
MS> lib.
MS> Best tools for this job are syscall loggers like ktrace/strace/truss/...
MS> (look in the ports tree), chances are good to find the problem in their
MS> logging output.
MS> Marc
Log file of linking:
[0.104] procedure/function somefn:LongInt;CDecl
[0.105] unit TKES can't be shared linked, switching to static linking
[0.105] Searching file tkes.o... found
[0.105] unit SYSTEM can't be shared linked, switching to static linking
[0.105] Searching file /usr/local/lib/fpc/2.2.0/units/i386-freebsd/rtl/system.o... found
[0.116] unit OBJPAS can't be shared linked, switching to static linking
[0.116] Searching file /usr/local/lib/fpc/2.2.0/units/i386-freebsd/rtl/objpas.o... found
[0.116] Linking libtkes.so
Why FPC can not link TKES as shared?
--
С уважением,
KES mailto:kes-kes at yandex.ru
More information about the fpc-pascal
mailing list