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

silvioprog silvioprog at gmail.com
Tue Oct 22 13:57:48 CEST 2013


2013/10/21 Anthony Walter <sysrpl at gmail.com>
[...]

> The problem was introduced with revision 25766. You can fix the problem
> simply getting an earlier revision in a new folder and copy the older
> revision cairo units over the trunk copies. Assuming you are one directory
> above your fpc folder ...
>
> svn co -r 25764 http://svn.freepascal.org/svn/fpc/trunk/packages/cairo/srccairofix
> rm fpc/packages/cairo/src/*.pp
> cp cairofix/*.pp fpc/packages/cairo/src/
> rm -rf cairofix
> cd fpc
> make clean
> make all
>

I tried it now, but, same error:

Compiling resource ../units/x86_64-linux/gtk2/lazarus.or
Linking ../lazarus
lazarus.pp(142,1) Warning: "crti.o" not found, this will probably cause a
linking failure
lazarus.pp(142,1) Warning: "crtn.o" not found, this will probably cause a
linking failure
/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'
lazarus.pp(142,1) Error: Error while linking
lazarus.pp(142,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
make[2]: *** [lazarus] Error 1
make[2]: Leaving directory `/home/silvioprog/lazarus/ide'
make[1]: *** [ide] Error 2
make[1]: Leaving directory `/home/silvioprog/lazarus/ide'
make: *** [ide] Error 2

-- 
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/20131022/d6cf4c40/attachment-0003.html>


More information about the Lazarus mailing list