Recent

Author Topic: Problems with compiling...  (Read 4377 times)

bombadone

  • Newbie
  • Posts: 3
Problems with compiling...
« on: April 20, 2004, 06:17:12 pm »
Hey There,

i got some problems when trying to run ( pressing F9 ) in lazarus.
Messages:
1. syslinux.pp(5,1) Hint: Conditional I386 was set at startup in last compilation of /usr/src/fpc-1.0.10/rtl/linux/syslinux.pp
2. /usr/share/fpcsrc/rtl/inc/lineinfo.pp(23,2) Note:Stack check is global under Linux
3.
/usr/share/fpcsrc/rtl/inc/lineinfo.pp(775,21)Error: Incompatible types: got "<address of function(void_pointer):ShortString;>" expected "<procedure variable type of function(LONGINT):ShortString;>"

anyone knows help?
Christoph

PS.Sorry for my english

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Problems with compiling...
« Reply #1 on: April 20, 2004, 10:30:34 pm »
Apparently you are recompiling the system unit. That should not happen. Did you set the path to /usr/share/fpcsrc in the compiler options, unit path or in your fpc.cfg file? Remove it from there.

If this is not the case, try to find out why it is recompiling lineinfo.pp the system unit and not using the one in /usr/src/fpc-1.0.10.

Tip: think about upgrading your fpc version to fpc 1.0.11 at least or even better a more recent fpc 1.9.3 version. This is not necessary, but might be a wise thing to do.

HTH,
Vincent.

 

TinyPortal © 2005-2018