ich wollte nur mal schnell ne Word-Cloud als Grafik, und hab 'vikloud' von Sourceforge runtergeladen.
fuer mich ueber.make hat geschrieben:gcc `pkg-config gtk+-2.0,cairo --libs` vikloud.o words.o -o vikloud
vikloud.o: In function `overlaps':
viklout/vikloud.c:117: undefined reference to `cairo_image_surface_get_data'
vikloud.o: In function `place_text':
viklout/vikloud.c:143: undefined reference to `cairo_set_font_size'
viklout/vikloud.c:144: undefined reference to `cairo_text_extents'
viklout/vikloud.c:195: undefined reference to `cairo_move_to'
viklout/vikloud.c:197: undefined reference to `cairo_set_source_rgba'
viklout/vikloud.c:204: undefined reference to `cairo_show_text'
vikloud.o: In function `main':
viklout/vikloud.c:243: undefined reference to `cairo_image_surface_create'
viklout/vikloud.c:245: undefined reference to `cairo_create'
viklout/vikloud.c:247: undefined reference to `cairo_select_font_face'
viklout/vikloud.c:251: undefined reference to `cairo_font_options_create'
viklout/vikloud.c:252: undefined reference to `cairo_get_font_options'
viklout/vikloud.c:253: undefined reference to `cairo_font_options_set_hint_metrics'
viklout/vikloud.c:254: undefined reference to `cairo_font_options_set_hint_style'
viklout/vikloud.c:255: undefined reference to `cairo_set_font_options'
viklout/vikloud.c:256: undefined reference to `cairo_font_options_destroy'
viklout/vikloud.c:293: undefined reference to `cairo_surface_write_to_png'
collect2: error: ld returned 1 exit status
Makefile:13: recipe for target 'vikloud' failed
make: *** [vikloud] Error 1
pkg-config --libs cairo hat geschrieben:-lcairo
ld --verbose | grep SEARCH_DIR | \ sed -e "s/SEARCH_DIR("=//g" -e "s/"); */\n/g" | \ while read one; do ls $one/libcairo.so 2>/dev/null; done hat geschrieben:/usr/lib/x86_64-linux-gnu/libcairo.so
Wer hat Information um meine Dummheit erfolgreich zu ersetzen?nm -D /usr/lib/x86_64-linux-gnu/libcairo.so hat geschrieben:0000000000037aa0 T cairo_image_surface_get_data