Bug 4952 - Build problems on AIX
Summary: Build problems on AIX
Status: RESOLVED NOTOURBUG
Alias: None
Product: cairo
Classification: Unclassified
Component: general (show other bugs)
Version: 1.0.2
Hardware: Other AIX
: high normal
Assignee: Carl Worth
QA Contact: cairo-bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-03 07:24 UTC by Christoph Bauer
Modified: 2008-10-10 04:39 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Christoph Bauer 2005-11-03 07:24:59 UTC
Hi,

everything goes fine - except of linking:

gcc -shared -o .libs/libcairo.so.2  .libs/cairo.o .libs/cairo-arc.o .libs/cairo-
                                                            array.o
.libs/cairo-cache.o .libs/cairo-clip.o .libs/cairo-color.o .libs/cairo-d       
                                                     ebug.o .libs/cairo-fixed.o
.libs/cairo-font.o .libs/cairo-font-options.o .libs/c                          
                                  airo-gstate.o .libs/cairo-hash.o
.libs/cairo-hull.o .libs/cairo-image-surface.o                                 
                            .libs/cairo-matrix.o .libs/cairo-path.o
.libs/cairo-path-bounds.o .libs/cairo-pa                                       
                     th-data.o .libs/cairo-path-fill.o .libs/cairo-path-stroke.o
.libs/cairo-pen.o .l                                                           
 ibs/cairo-polygon.o .libs/cairo-region.o .libs/cairo-slope.o
.libs/cairo-spline.                                                            
o .libs/cairo-surface.o .libs/cairo-traps.o .libs/cairo-pattern.o .libs/cairo-un
                                                            icode.o
.libs/cairo-output-stream.o .libs/cairo-wideint.o .libs/cairo-meta-surfa       
                                                     ce.o .libs/cairo-ft-font.o
  -Wl,-blibpath:/T/tools/unix/ibmaix5/lib:/projekte/b                          
                                 
ackup/tools/unix/ibmaix5/bin/../lib/gcc/powerpc-ibm-aix5.2.0.0/3.4.3:/projekte/b
                                                           
ackup/tools/unix/ibmaix5/bin/../lib/gcc:/T/tools/unix/ibmaix5/lib/gcc/powerpc-ib
                                                           
m-aix5.2.0.0/3.4.3:/projekte/backup/tools/unix/ibmaix5/bin/../lib/gcc/powerpc-ib
                                                           
m-aix5.2.0.0/3.4.3/../../..:/T/tools/unix/ibmaix5/lib/gcc/powerpc-ibm-aix5.2.0.0
                                                           
/3.4.3/../../..:/usr/lib:/lib -L/T/tools/unix/ibmaix5/lib -lfontconfig -lfreetyp
                                                            e -lm -lc 
-Wl,-bE:.libs/libcairo.exp -Wl,-bnoentry ${wl}-bernotok
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_create
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_copy
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_intersec
                                                            t
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_destroy
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_num_rect
                                                            s
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_subtract
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_not_empt
                                                            y
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_get_data
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_get_width
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_get_heigh
                                                            t
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_get_strid
                                                            e
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_get_depth
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_format_create_m
                                                            asks
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_create_fo
                                                            r_data
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_format_destroy
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_format_create
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_create
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_destroy
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_set_repea
                                                            t
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_set_trans
                                                            form
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_set_filte
                                                            r
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_composite
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_fill_rectangles
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_add_trapezoids
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_get_forma
                                                            t
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_format_get_mask
                                                            s
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_set_clip_
                                                            region
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_union_re
                                                            ct
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_extents
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_rects
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_image_set_compo
                                                            nent_alpha
ld: 0711-319 WARNING: Exported symbol not defined: FbComputeCompositeRegion
ld: 0711-319 WARNING: Exported symbol not defined: FbCreateAlphaPicture
ld: 0711-319 WARNING: Exported symbol not defined: FbMergeRopBits
ld: 0711-319 WARNING: Exported symbol not defined: FbPixelsCreate
ld: 0711-319 WARNING: Exported symbol not defined: FbPixelsCreateForData
ld: 0711-319 WARNING: Exported symbol not defined: FbPixelsDestroy
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_color_to_pixel
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_compose_functio
                                                            ns
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_composite_trape
                                                            zoids
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_composite_tri_f
                                                            an
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_composite_tri_s
                                                            trip
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_composite_trian
                                                            gles
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_fill_rectangle
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_format_init
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_is_solid_alpha
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_pixel_to_color
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_append
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_contains
                                                            _point
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_contains
                                                            _rectangle
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_create_s
                                                            imple
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_empty
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_inverse
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_reset
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_translat
                                                            e
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_union
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_region_validate
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_render_edge_ini
                                                            t
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_render_edge_ste
                                                            p
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_render_line_fix
                                                            ed_edge_init
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_render_sample_c
                                                            eil_y
ld: 0711-319 WARNING: Exported symbol not defined: _cairo_pixman_render_sample_f
                                                            loor_y
ld: 0711-319 WARNING: Exported symbol not defined: fbBlt
ld: 0711-319 WARNING: Exported symbol not defined: fbBlt24
ld: 0711-319 WARNING: Exported symbol not defined: fbBltOne
ld: 0711-319 WARNING: Exported symbol not defined: fbBltOne24
ld: 0711-319 WARNING: Exported symbol not defined: fbBltStip
ld: 0711-319 WARNING: Exported symbol not defined: fbRasterizeEdges
ld: 0711-319 WARNING: Exported symbol not defined: fbRasterizeTrapezoid
ld: 0711-319 WARNING: Exported symbol not defined: fbReplicatePixel
ld: 0711-319 WARNING: Exported symbol not defined: fbStippleTable
ld: 0711-319 WARNING: Exported symbol not defined: fbTransparentSpan
ld: 0711-319 WARNING: Exported symbol not defined: pixman_compositeGeneral
ld: 0711-319 WARNING: Exported symbol not defined: pixman_image_createForPixels
ld: 0711-319 WARNING: Exported symbol not defined: pixman_image_destroyClip
ld: 0711-319 WARNING: Exported symbol not defined: pixman_image_init
ld: 0711-319 WARNING: Exported symbol not defined: pixman_transform_point
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_get_data
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_get_width
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_get_height
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_get_stride
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_get_depth
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_format_create_masks
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_create_for_data
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_format_destroy
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_format_create
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_create
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_destroy
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_set_repeat
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_set_transform
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_set_filter
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_composite
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_fill_rectangles
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_add_trapezoids
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_get_format
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_format_get_masks
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_set_clip_region
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_image_set_component_alpha
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_region_num_rects
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_region_rects
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_region_create
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_region_union_rect
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_region_destroy
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_region_extents
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_region_subtract
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_region_copy
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_region_intersect
ld: 0711-317 ERROR: Undefined symbol: ._cairo_pixman_region_not_empty
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[2]: *** [libcairo.la] Error 1
make[2]: Leaving directory `/projekte/backup/tools/unix/build/cairo/cairo-1.0.2/
                                                            ibmaix5/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/projekte/backup/tools/unix/build/cairo/cairo-1.0.2/
                                                            ibmaix5'
make: *** [all] Error 2

Best regards,
Christoph Bauer
Comment 1 Christoph Bauer 2006-03-22 02:28:48 UTC
libtools ignores libpixman.la
Comment 2 Christoph Bauer 2006-03-22 02:35:16 UTC
I compile now cairo-1.0.4 with native cc 
and
 CFLAGS=-D_Xconst=const
After the link error in src:
 cd src
 make LDFLAGS="-L../pixman/src/.libs -lpixman -lpthread" 
and the link error is gone
Comment 3 Chris Wilson 2008-10-10 04:39:32 UTC
Yikes, I've had a similar issue with Debian libtools which stripped too many library dependencies at one time. Is this not a libtool bug as well?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.