[Xastir-dev] autoconf: checking for WriteImage in -lGraphicsMagick failed

Walter Harms wharms at bfs.de
Wed Nov 28 05:06:33 PST 2018


Hallo list,
i tried to compile xastier and was confused that WriteImage() was missing
It turned out that is a wrong message.
I would suggest to check lcms2 first.

hope that helps,
 
re,
 wh
 


configure:12701: result: yes
configure:12713: checking for WriteImage in -lGraphicsMagick
configure:12738: gcc -o conftest -fopenmp -fmessage-length=0
-grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-str
ong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g
-fPIE -Wall -pthread -g -O2 -pipe -W -Wall -Wpointer-arit
h -Wstrict-prototypes -Wno-unused-parameter -pthread
-I/usr/include/GraphicsMagick -I/usr/local/include   -I/usr/include/gdal
-L/usr/l
ib64 -L/usr/lib64 -L/usr/local/lib   -L/usr/lib64 -lgdal conftest.c
-lGraphicsMagick   -lGraphicsMagick -llcms2 -lfreetype -lXext -lSM
 -lICE -lX11 -llzma -lbz2 -lz -lltdl -lm -lgomp -lpthread -lXpm -lrt -lXm -lXt
-lXext -lm   -lSM -lICE -lX11  -lcurl -lproj -lshp -lpc
re -ltiff -lgeotiff -lgdal >&5
conftest.c:171:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
 char WriteImage ();
 ^~~~
conftest.c:173:1: warning: function declaration isn't a prototype
[-Wstrict-prototypes]
 main ()
 ^~~~
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot
find -llcms2
collect2: error: ld returned 1 exit status
configure:12738: $? = 1
configure: failed program was:


More information about the Xastir-dev mailing list