[fpc-devel] fpc libraries do not work in freeBSD...

Fred van Stappen fiens at hotmail.com
Tue Aug 5 20:46:09 CEST 2014


>> The main program should not need to do anything here.
>>  It's more likely that there is a problem in our FreeBSD startup files for libraries.
>> Regards,

>> Sven


Many thanks to take care on freeBSD + fpc libraries...

Please, read that topic, it talks about the same problem and it has a solution: =>

 > http://lists.freepascal.org/pipermail/fpc-devel/2013-November/032950.html

Hum, i thing also that it could be a problem on FreeBSD startup files of libraries.
The same code compiled in Linux and Windows works.

With that library, i have also same problem with Python, C, Java. =>
////////////////////////////
library test ;
{$mode objfpc}

procedure fpctest(); cdecl;
begin
////// NOTHING !
end;

exports
fpctest name 'fpctest';

begin
end.
///////////////////////////

It gives that error : =>
>> ~/libtest.so: Undefined symbol
>> OSerror : "operatingsystem_parameter_envp"

Many thanks.

Fred
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20140805/44bf9975/attachment.html>


More information about the fpc-devel mailing list