[Lazarus] Can't compile Lazarus on Linux Mint 15

silvioprog silvioprog at gmail.com
Tue Oct 15 18:52:44 CEST 2013


Hello,

I'm trying to compila Lazarus in Linux Mint 15 (http://www.linuxmint.com/),
but:

Terminal output:

waldir at waldir-vm ~ $ cd lazarus/
waldir at waldir-vm ~/lazarus $ make clean all > log.txt
Makefile:2332: warning: overriding commands for target `.'
Makefile:2330: warning: ignoring old commands for target `.'
Makefile:2332: warning: overriding commands for target `.'
Makefile:2330: warning: ignoring old commands for target `.'
Makefile:2332: warning: overriding commands for target `.'
Makefile:2330: warning: ignoring old commands for target `.'
/usr/bin/ld: warning: ./link.res contains output sections; did you forget
-T?
Makefile:2332: warning: overriding commands for target `.'
Makefile:2330: warning: ignoring old commands for target `.'
/usr/bin/ld: warning: ./link.res contains output sections; did you forget
-T?
Makefile:2332: warning: overriding commands for target `.'
Makefile:2330: warning: ignoring old commands for target `.'
/usr/bin/ld: warning: ./link.res contains output sections; did you forget
-T?
Makefile:2332: warning: overriding commands for target `.'
Makefile:2330: warning: ignoring old commands for target `.'
/usr/bin/ld: warning: ./link.res contains output sections; did you forget
-T?
/usr/bin/ld: warning: ../link.res contains output sections; did you forget
-T?
/usr/bin/ld: warning: ../link.res contains output sections; did you forget
-T?
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_CONTEXT$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_context$$qword+0x6):
undefined reference to `cairo_gobject_context_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_DEVICE$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_device$$qword+0x6): undefined
reference to `cairo_gobject_device_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_PATTERN$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_pattern$$qword+0x6):
undefined reference to `cairo_gobject_pattern_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_SURFACE$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_surface$$qword+0x6):
undefined reference to `cairo_gobject_surface_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_RECTANGLE$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_rectangle$$qword+0x6):
undefined reference to `cairo_gobject_rectangle_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_SCALED_FONT$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_scaled_font$$qword+0x6):
undefined reference to `cairo_gobject_scaled_font_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_FONT_FACE$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_font_face$$qword+0x6):
undefined reference to `cairo_gobject_font_face_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_FONT_OPTIONS$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_font_options$$qword+0x6):
undefined reference to `cairo_gobject_font_options_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_RECTANGLE_INT$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_rectangle_int$$qword+0x6):
undefined reference to `cairo_gobject_rectangle_int_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_REGION$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_region$$qword+0x6): undefined
reference to `cairo_gobject_region_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_STATUS$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_status$$qword+0x6): undefined
reference to `cairo_gobject_status_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_CONTENT$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_content$$qword+0x6):
undefined reference to `cairo_gobject_content_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_OPERATOR$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_operator$$qword+0x6):
undefined reference to `cairo_gobject_operator_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_ANTIALIAS$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_antialias$$qword+0x6):
undefined reference to `cairo_gobject_antialias_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_FILL_RULE$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_fill_rule$$qword+0x6):
undefined reference to `cairo_gobject_fill_rule_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_LINE_CAP$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_line_cap$$qword+0x6):
undefined reference to `cairo_gobject_line_cap_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_LINE_JOIN$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_line_join$$qword+0x6):
undefined reference to `cairo_gobject_line_join_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_CLUSTER_FLAGS$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_cluster_flags$$qword+0x6):
undefined reference to `cairo_gobject_text_cluster_flags_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_FONT_SLANT$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_font_slant$$qword+0x6):
undefined reference to `cairo_gobject_font_slant_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_FONT_WEIGHT$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_font_weight$$qword+0x6):
undefined reference to `cairo_gobject_font_weight_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_SUBPIXEL_ORDER$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_subpixel_order$$qword+0x6):
undefined reference to `cairo_gobject_subpixel_order_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_HINT_STYLE$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_hint_style$$qword+0x6):
undefined reference to `cairo_gobject_hint_style_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_HNT_METRICS$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_hnt_metrics$$qword+0x6):
undefined reference to `cairo_gobject_hint_metrics_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_FONT_TYPE$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_font_type$$qword+0x6):
undefined reference to `cairo_gobject_font_type_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_PATH_DATA_TYPE$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_path_data_type$$qword+0x6):
undefined reference to `cairo_gobject_path_data_type_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_DEVICE_TYPE$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_device_type$$qword+0x6):
undefined reference to `cairo_gobject_device_type_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_SURFACE_TYPE$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_surface_type$$qword+0x6):
undefined reference to `cairo_gobject_surface_type_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_FORMAT$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_format$$qword+0x6): undefined
reference to `cairo_gobject_format_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_PATTERN_TYPE$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_pattern_type$$qword+0x6):
undefined reference to `cairo_gobject_pattern_type_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_EXTEND$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_extend$$qword+0x6): undefined
reference to `cairo_gobject_extend_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_FILTER$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_filter$$qword+0x6): undefined
reference to `cairo_gobject_filter_get_type'
/usr/lib/fpc/2.7.1/units/x86_64-linux/cairo/cairo.o: In function
`CAIRO_$$_CAIRO_GOBJECT_TYPE_REGION_OVERLAP$$QWORD':
cairo.pp:(.text.n_cairo_$$_cairo_gobject_type_region_overlap$$qword+0x6):
undefined reference to `cairo_gobject_region_overlap_get_type'
make[2]: *** [lazarus] Error 1
make[1]: *** [ide] Error 2
make: *** [ide] Error 2
waldir at waldir-vm ~/lazarus $

And the log file:

http://pastebin.com/RYUaARkd

How to fix this problem?

Thank you!

--
Silvio Clécio
My public projects - github.com/silvioprog
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131015/61f77e06/attachment-0002.html>


More information about the Lazarus mailing list