Page 1 of 1

Error compiling application

Posted: Sun May 03, 2015 12:26 am
by marco
I'm currently trying to compile updf from svn:contrib/media/updf using "UPDF.sh"(this is the first one that I try to build), but during the linking process I get a bunch of errors:

Code: Select all

Building updf...
    LINK build/pdfdraw
ld: cannot find include/stub/crt0.o: No such file or directory
ld: skipping incompatible include/lib/libfreetype2.a when searching for -lfreetype2
ld: cannot find -lfreetype2
ld: skipping incompatible include/lib/libpng.a when searching for -lpng
ld: cannot find -lpng
ld: skipping incompatible include/lib/libjbig2dec.a when searching for -ljbig2dec
ld: cannot find -ljbig2dec
ld: skipping incompatible include/lib/libjpeg.a when searching for -ljpeg
ld: cannot find -ljpeg
ld: skipping incompatible include/lib/libopenjpeg.a when searching for -lopenjpeg
ld: cannot find -lopenjpeg
ld: skipping incompatible include/lib/libz.a when searching for -lz
ld: cannot find -lz
ld: skipping incompatible include/lib/libm.a when searching for -lm
ld: cannot find -lm
ld: skipping incompatible include/lib/libc.a when searching for -lc
ld: cannot find -lc
Makefile:44: recipe for target 'build/pdfdraw' failed
make: *** [build/pdfdraw] Error 1
I don't really get what is the problem, could it be because I'm using (archlinux) 64bit? Or is there a more fundamental problem such as I need to download some libraries?

Thanks.