Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-06

Rev 45566 doesn't compile

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Giuliano Colla

A "make clean bigide" leads to:

Show quoted text 7 lines
/home/colla/Applicazioni/lazarus/components/cairocanvas/lib/i386-linux/gtk2/cairocanvas.o: In function `TCAIROPRINTERCANVAS__GETCLIPRECT': /home/colla/Applicazioni/lazarus/components/cairocanvas/cairocanvas.pas:406: undefined reference to `cairo_clip_extents' lazarus.pp(142,1) Error: Error while linking lazarus.pp(142,1) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted

Environment:

Linux 2.6.18-371
Widgetset gtk2
fpc 2.6.2

(need to upgrade to fpc 2.6.4?)

Giuliano

Reply by email

Václav Valíček
to Giuliano Colla

My config:

Linux 3.13 (Ubuntu Kernel)
WidgetSet: gtk2
fpc: 2.6.2 (-8) - From ubuntu repo

Compiled clearly, doublechecked if installed package cairocanvas... (building from lazarus).
Then I have noticed "make clean bigide" part... Trying... Cleaned OK, built cairocanvas OK, linked lazarus OK...

Have you checked out revision correctly? I don't know if you use SVN or GIT, but in this cases, sometimes I had similar problem and now I'm checking if it is not caused by my mistake while working with VCS... I just download tarball, extract it into /tmp and try build it here...

What distro do you use? From what source does your fpc binary come?

V?clav Val??ek

Dne 17.6.2014 13:26, Giuliano Colla napsal(a):

Show quoted text 24 lines
A "make clean bigide" leads to: > /home/colla/Applicazioni/lazarus/components/cairocanvas/lib/i386-linux/gtk2/cairocanvas.o: > In function `TCAIROPRINTERCANVAS__GETCLIPRECT': > /home/colla/Applicazioni/lazarus/components/cairocanvas/cairocanvas.pas:406: > undefined reference to `cairo_clip_extents' > lazarus.pp(142,1) Error: Error while linking > lazarus.pp(142,1) Fatal: There were 1 errors compiling module, stopping > Fatal: Compilation aborted Environment: Linux 2.6.18-371 Widgetset gtk2 fpc 2.6.2 (need to upgrade to fpc 2.6.4?) Giuliano -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply by email

Giuliano Colla
to Václav Valíček

Il 17/06/2014 20:22, V?clav Val??ek ha scritto:

Show quoted text 18 lines
My config: Linux 3.13 (Ubuntu Kernel) WidgetSet: gtk2 fpc: 2.6.2 (-8) - From ubuntu repo Compiled clearly, doublechecked if installed package cairocanvas... (building from lazarus). Then I have noticed "make clean bigide" part... Trying... Cleaned OK, built cairocanvas OK, linked lazarus OK... Have you checked out revision correctly? I don't know if you use SVN or GIT, but in this cases, sometimes I had similar problem and now I'm checking if it is not caused by my mistake while working with VCS... I just download tarball, extract it into /tmp and try build it here... What distro do you use? From what source does your fpc binary come?

Solved. It would appear that svn update failed to tell a conflict. I verified components of package cairocanvas_pkg (the only one to use cairo_clip_extents) and I discovered that Makefile.compiled of /components/cairocanvas contained sort of:
<<<<<< mine
.....
======

>>>>

which created a mess when compiling.

I'll verify with next update if the mess was generated in my system, or if it came from repository.

Thank you for your time.

Giuliano

Reply by email