[Lazarus] contnrs.pp(11, 35) Fatal: Can't find unit contnrs used by Masks

Marc Weustink marc.weustink at cuperus.nl
Thu Jun 10 13:33:43 CEST 2010


Michael Schnell wrote:
> On 06/10/2010 10:10 AM, Marc Weustink wrote:
>>
>> Post the complete output of -va somewhere. That the compiler is using
>> fpc.cfg is to little info.
>>
>> Marc
>
> Thanks for the offer !
> It's huge, so I'll send it to you in a private post.

 From the file you sent me:

Searching file 
/usr/lib/fpc/2.5.1/units/i386-linux/fcl-base/contnrs.ppu... found
PPU Loading /usr/lib/fpc/2.5.1/units/i386-linux/fcl-base/contnrs.ppu
PPU Name: /usr/lib/fpc/2.5.1/units/i386-linux/fcl-base/contnrs.ppu
PPU Time: 2010/05/28 13:48:43
PPU Flags: 161984
PPU Crc: A7B9EC9E
PPU Crc: 2AF450CD (intfc)
PPU Crc: 22F3949F (indc)

So this is not a contnrs issue. Yuor paths are ok, the units can be 
found. However.... looking at the end of that file, dont know what is 
happening here, but it liiks liek linking failed:

Searching file /usr/bin/ld... found
Using util /usr/bin/ld
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/x.o: In function `main':
/home/mschnell/Lazarus_Projekte/x/x.lpr:15: multiple definition of 
`PASCALMAIN'
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/xtest.o:/home/mschnell/Lazarus_Projekte/x/xtest.lpr:15: 
first defined here
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/x.o: In function `main':
/home/mschnell/Lazarus_Projekte/x/x.lpr:15: multiple definition of `main'
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/xtest.o:/home/mschnell/Lazarus_Projekte/x/xtest.lpr:15: 
first defined here
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/x.o: In function `main':
/home/mschnell/Lazarus_Projekte/x/x.lpr:15: multiple definition of 
`INITFINAL'
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/xtest.o:/home/mschnell/Lazarus_Projekte/x/xtest.lpr:15: 
first defined here
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/x.o: In function `main':
/home/mschnell/Lazarus_Projekte/x/x.lpr:19: multiple definition of 
`FPC_THREADVARTABLES'
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/xtest.o:/home/mschnell/Lazarus_Projekte/x/xtest.lpr:19: 
first defined here
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/x.o: In function `main':
/home/mschnell/Lazarus_Projekte/x/x.lpr:19: multiple definition of 
`FPC_RESOURCESTRINGTABLES'
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/xtest.o:/home/mschnell/Lazarus_Projekte/x/xtest.lpr:19: 
first defined here
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/x.o: In function `main':
/home/mschnell/Lazarus_Projekte/x/x.lpr:19: multiple definition of 
`FPC_WIDEINITTABLES'
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/xtest.o:/home/mschnell/Lazarus_Projekte/x/xtest.lpr:19: 
first defined here
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/x.o: In function `main':
/home/mschnell/Lazarus_Projekte/x/x.lpr:19: multiple definition of 
`__stklen'
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/xtest.o:/home/mschnell/Lazarus_Projekte/x/xtest.lpr:19: 
first defined here
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/x.o: In function `main':
/home/mschnell/Lazarus_Projekte/x/x.lpr:19: multiple definition of 
`__heapsize'
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/xtest.o:/home/mschnell/Lazarus_Projekte/x/xtest.lpr:19: 
first defined here
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/x.o: In function `main':
/home/mschnell/Lazarus_Projekte/x/x.lpr:19: multiple definition of 
`__fpc_valgrind'
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/xtest.o:/home/mschnell/Lazarus_Projekte/x/xtest.lpr:19: 
first defined here
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/x.o: In function `main':
/home/mschnell/Lazarus_Projekte/x/x.lpr:19: multiple definition of 
`FPC_RESLOCATION'
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/xtest.o:/home/mschnell/Lazarus_Projekte/x/xtest.lpr:19: 
first defined here
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/xtest.o: In function 
`main':
/home/mschnell/Lazarus_Projekte/x/xtest.lpr:19: undefined reference to 
`THREADVARLIST_X'
/usr/lib/fpc/2.5.1/units/i386-linux/x11/xlib.o:(.data+0xe42): undefined 
reference to `RTTI_X_PKEYCODE'
/home/mschnell/Lazarus_Projekte/x/lib/i386-linux/x.o: In function `main':
/home/mschnell/Lazarus_Projekte/x/x.lpr:17: undefined reference to 
`U_X1_FORM1'
/home/mschnell/Lazarus_Projekte/x/x.lpr:17: undefined reference to 
`VMT_X1_TFORM1'
/home/mschnell/Lazarus_Projekte/x/x.lpr:19: undefined reference to 
`THREADVARLIST_X'
/home/mschnell/Lazarus_Projekte/x/x.lpr:19: undefined reference to 
`THREADVARLIST_XMLCFG'
/home/mschnell/Lazarus_Projekte/x/x.lpr:19: undefined reference to 
`THREADVARLIST_X1'
/home/mschnell/Lazarus_Projekte/x/x.lpr:19: undefined reference to 
`RESSTR_XMLCFG_START'
/home/mschnell/Lazarus_Projekte/x/x.lpr:19: undefined reference to 
`RESSTR_XMLCFG_END'
/home/mschnell/Lazarus_Projekte/x/x.lpr:17: undefined reference to 
`DEBUGINFO_X1'
/home/mschnell/Lazarus_Projekte/x/x.lpr:17: undefined reference to 
`DEBUGSTART_X1'
/home/mschnell/Lazarus_Projekte/x/x.lpr:17: undefined reference to 
`DEBUGEND_X1'
Error while linking
There were 1 errors compiling module, stopping
Compilation aborted





> -Michael
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>





More information about the Lazarus mailing list