Kubuntu AMD 64: grx build error

twixt at cstone.net twixt at cstone.net
Sat Oct 10 16:04:59 CEST 2009



Thanks for your help! Following the installation
instructions, I was
able to run "make -f makefile.x11"
apparently without
errors. I used the following
choices when editing makedefs.grx:

HAVE_LIBTIFF=y
HAVE_LIBJPEG=y
HAVE_LIBPNG=y
NEED_ZLIB=y
INCLUDE_PRINTING_CODE=n
INCLUDE_BMP_CODE=y
INCLUDE_GPC_SUPPORT=y
INCLUDE_SHARED_SUPPORT=y
INCLUDE_BGI_SUPPORT=y
HAVE_UNIX_TOOLS=n
BUILD_X86_64=n

I left the rest of the makedefs.grx file alone.

Then I
went into the /test subdirectory and here is
the log:

david at Achernar:~/software/grx/grx248/grx248/test$ sudo make -f
makefile.x11
[sudo] password for david:
gcc -c -O2
-fno-strict-aliasing -Wall -m32 -D__XWIN__ -I../include arctest.c -o
arctest.o
In file included from arctest.c:21:
test.h: In
function ‘main’:
test.h:88: warning: ignoring return
value of ‘fgets’, declared with attribute
warn_unused_result
gcc -s -m32 -s -o xarctest arctest.o
../lib/unix/libgrx20X.a  -ltiff -ljpeg -lpng -lz -L/usr/X11R6/lib
-lX11 -lm
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../libz.so when searching for
-lz
/usr/bin/ld: skipping incompatible
/usr/lib/gcc/x86_64-linux-gnu/4.3.3/../../../libz.a when searching for
-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: cannot find -lz
collect2: ld
returned 1 exit status
make: *** [xarctest] Error 1
david at Achernar:~/software/grx/grx248/grx248/test$

What should
I do? Thanks again!
David







More information about the Gpc mailing list