[fpc-pascal] error compiling lazarus
Benedikt Schindler
BeniSchindler at gmx.de
Mon Jan 3 17:35:26 CET 2011
I was wrong.
It is not the same error with 32Bit.
I didn't make sure that he recompiles the svn2revisioninc.
In 32Bit i get a linking problem on crti.o.
But i have the package installed and the 32Bit crti.o is pressent in
/usr/lib/.
> linux-t613:/# ls /usr/lib/crt*
> /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtn.o
Also the i386 section in "/etc/fpc.conf" is set correctly
And "-Fl/usr/lib/" also shows up in the compiler line.
But it still didn't get found.
Target OS: Linux for i386
Compiling svn2revisioninc.pas
Assembling svn2revisioninc
Linking ./svn2revisioninc
/usr/bin/ld: warning: ./link.res contains output sections; did you
forget -T?
/usr/bin/ld: skipping incompatible /usr/lib64/crti.o when searching for
/usr/lib64/crti.o
/usr/bin/ld: cannot find /usr/lib64/crti.o
Error: Error while linking
Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
has someone an idea what i could do to try if the 32bit version would
work on my computer?
best regards
Benedikt
On 01/03/11 12:45, Benedikt Schindler wrote:
> On 01/02/11 22:45, Benedikt Schindler wrote:
>> On 01/02/11 20:17, Mark Morgan Lloyd wrote:
>>> Mark Morgan Lloyd wrote:
>>>
>>>>> i compiled it with the svn version of fpc and of lazarus.
>>>>> still the same error.
>>>>
>>>> I've been having problems on one particular machine over the last few
>>>> days which I suspect are down to inadequate RAM+swap- I think I've
>>>> only got around 512Mb total.
>>>
>>> This was on a SPARC/Linux system, it's not the same as the slow Solaris
>>> compilation I've been ranting about. A system with around 512Mb RAM+swap
>>> is having problems usually during linkage, while one with around 768Mb
>>> RAM+swap is OK.
>>>
>>
>>
>> I don't think i have a RAM problem.
>> I am running this on a
>>
>> Intel(R) Core(TM)2 Duo CPU T9900 @ 3.06GHz
>> 8GB RAM
>> ppcx64
>>
>>
>> i can reproduce the error with this little programm.
>> The programm still prints the "test1" and "test2".
>> And when he tryes to set the var Application it crashed in Line47.
>>
>> [programm listing]
>
> today i tested the 32bit version.
> same error.
>
> i am using:
> OpenSuSe 11.3
> latest online updates installed
> i tried to compile with fpc-2.4.2-1 32Bit and 64Bit
>
>
> so far it sounds like i am the only one who experienced this error.
> i will make some more tests to see if i could get more details on that
> error.
>
> have a nice day
> Benedikt
> _______________________________________________
> fpc-pascal maillist - fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>
More information about the fpc-pascal
mailing list