agl/jbig2enc — Issue #25: build fails on maeia2 (x86-64)
Author: hhielscher
Created: 2012-02-16 16:43:00+00:00
State: open

$ make
g++ -c jbig2enc.cc -I../leptonica-1.68/src -Wall -I/usr/include -L/usr/lib -O3
g++ -c jbig2arith.cc -I../leptonica-1.68/src -Wall -I/usr/include -L/usr/lib -O3
g++ -c jbig2sym.cc -DUSE_EXT -I../leptonica-1.68/src -Wall -I/usr/include -L/usr/lib -O3
ar -rcv libjbig2enc.a jbig2enc.o jbig2arith.o jbig2sym.o
a - jbig2enc.o
a - jbig2arith.o
a - jbig2sym.o
g++ -o jbig2 jbig2.cc -L. -ljbig2enc ../leptonica-1.68/src/.libs/liblept.a -I../leptonica-1.68/src -Wall -I/usr/include -L/usr/lib -O3 -lpng -ljpeg -ltiff -lm -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.so when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libz.a when searching for -lz
/usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s
/usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
/usr/bin/ld: skipping incompatible /usr/lib/libgcc_s.so when searching for -lgcc_s
../leptonica-1.68/src/.libs/liblept.a(gifio.o): In function `pixReadStreamGif':
/mnt/daten2/download/leptonica-1.68/src/gifio.c:92: undefined reference to `DGifOpenFileHandle'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:97: undefined reference to `DGifSlurp'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:189: undefined reference to `DGifCloseFile'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:98: undefined reference to `DGifCloseFile'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:111: undefined reference to `DGifCloseFile'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:130: undefined reference to `DGifCloseFile'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:154: undefined reference to `DGifCloseFile'
../leptonica-1.68/src/.libs/liblept.a(gifio.o):/mnt/daten2/download/leptonica-1.68/src/gifio.c:103: more undefined references to `DGifCloseFile' follow
../leptonica-1.68/src/.libs/liblept.a(gifio.o): In function `pixWriteStreamGif':
/mnt/daten2/download/leptonica-1.68/src/gifio.c:308: undefined reference to `MakeMapObject'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:329: undefined reference to `EGifOpenFileHandle'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:336: undefined reference to `EGifPutScreenDesc'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:339: undefined reference to `FreeMapObject'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:340: undefined reference to `EGifCloseFile'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:317: undefined reference to `FreeMapObject'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:343: undefined reference to `FreeMapObject'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:345: undefined reference to `EGifPutImageDesc'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:347: undefined reference to `EGifCloseFile'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:387: undefined reference to `EGifPutLine'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:400: undefined reference to `EGifPutComment'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:406: undefined reference to `EGifCloseFile'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:331: undefined reference to `FreeMapObject'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:390: undefined reference to `EGifCloseFile'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:355: undefined reference to `EGifCloseFile'
/mnt/daten2/download/leptonica-1.68/src/gifio.c:361: undefined reference to `EGifCloseFile'
collect2: ld returned 1 exit status
make: *** [jbig2] Error 1