Hello,
I've been trying to get mkezx to work..but i can't get gnuplot to compile. I keep getting some error, and i don't know how to fix it. Could someone please help me? I'd love to get started with programming for my a1200 but i keep running into problems at every turn..anyways...
here's what turns up on screen after i type make in the mkezx directory..
Code:
[root@flashbox mkezx-0.9.17]# make
scripts/mkezx build-image core tar.gz
23:47:51 [bootstrap] adding '/sbin' to PATH
23:47:51 [bootstrap] adding '/devel/mkezx-0.9.17/configs/../tools/sbin' to PATH
23:47:51 [bootstrap] adding '/devel/mkezx-0.9.17/configs/../tools/bin' to PATH
23:47:52 [buildImage] preparing image 'core'
23:47:52 [buildImage] building tar.gz image 'core'
23:47:54 [installPackage] installing package mkezx-core (25)..
23:47:54 [installPackage] installing package busybox (1.2.0-0mkezx12)..
23:47:54 [installPackage] installing package bash (2.05b-0mkezx5)..
23:47:54 [installPackage] installing package libncurses5 (5.5-0mkezx4)..
23:47:54 [installPackage] installing package ncurses-base (5.5-0mkezx4)..
23:47:54 [installPackage] installing package dpkg (1.13.25-0mkezx2)..
23:47:55 [installPackage] installing package zlib1g (1.2.3-0mkezx3)..
23:47:55 [installPackage] installing package apt (0.6.46.4-0mkezx2)..
23:47:55 [installPackage] installing package tar (1.16-0mkezx1)..
23:47:55 [installPackage] installing package gzip (1.3.9-0mkezx1)..
23:47:57 [logStats] Elapsed time : 6 seconds
23:47:57 [logStats] Built packages : cross 0, host : 0
scripts/mkezx build-image default tar.gz
23:47:58 [bootstrap] adding '/sbin' to PATH
23:47:58 [bootstrap] adding '/devel/mkezx-0.9.17/configs/../tools/sbin' to PATH
23:47:58 [bootstrap] adding '/devel/mkezx-0.9.17/configs/../tools/bin' to PATH
23:47:58 [buildImage] preparing image 'default'
23:47:59 [buildPackage] building package 'gnuplot'
23:47:59 [installBuildDepends] installing build deps for 'gnuplot'
23:48:01 [installPackage] installing package libpng12-dev (1.2.12-0mkezx4)..
23:48:01 [installPackage] installing package libpng12-0 (1.2.12-0mkezx4)..
23:48:01 [installPackage] installing package zlib1g (1.2.3-0mkezx3)..
23:48:01 [installPackage] installing package zlib1g-dev (1.2.3-0mkezx3)..
23:48:01 [installPackage] installing package libgd2-noxpm-dev (2.0.33-0mkezx5)..
23:48:01 [installPackage] installing package libgd2-noxpm (2.0.33-0mkezx5)..
23:48:01 [installPackage] installing package libfreetype6 (2.1.10-0mkezx3)..
23:48:02 [installPackage] installing package libjpeg62 (6b-0mkezx3)..
23:48:02 [installPackage] installing package libfontconfig1 (2.4.1-0mkezx4)..
23:48:02 [installPackage] installing package libexpat1 (2.0.0-0mkezx3)..
23:48:02 [installPackage] installing package fontconfig-config (2.4.1-0mkezx4)..
23:48:02 [installPackage] installing package libfontconfig1-dev (2.4.1-0mkezx4)..
23:48:02 [installPackage] installing package libexpat1-dev (2.0.0-0mkezx3)..
23:48:02 [installPackage] installing package libfreetype6-dev (2.1.10-0mkezx3)..
23:48:03 [installPackage] installing package libjpeg62-dev (6b-0mkezx3)..
23:48:03 [installPackage] installing package libreadline5-dev (5.2-0mkezx1)..
23:48:03 [installPackage] installing package libreadline5 (5.2-0mkezx1)..
23:48:03 [installPackage] installing package libncurses5 (5.5-0mkezx4)..
23:48:03 [installPackage] installing package ncurses-base (5.5-0mkezx4)..
23:48:03 [installPackage] installing package libncurses5-dev (5.5-0mkezx4)..
23:48:03 [unpackSource] retrieving source for 'gnuplot'
23:48:04 [extractSource] extracting 'gnuplot-4.2.rc1.tar.gz'
23:48:04 [debianizeSource] debianizing 'gnuplot'
23:48:04 [compilePackage] log : '/devel/mkezx-0.9.17/configs/../logs/handset/gnuplot.log'
23:48:04 [compilePackage] compiling package 'gnuplot'
23:49:47 [buildPackage] build failed, please refer to : '/devel/mkezx-0.9.17/configs/../logs/handset/gnuplot.log'
Could not build package gnuplot at scripts/mkezx line 196
make: *** [default.tar.gz] Error 2
[root@flashbox mkezx-0.9.17]#
this is my gnuplot.log file. I'm only posting the last part of it as there's quite a lot..
Code:
Making version.c
arm-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../term -I../term -DBINDIR=\"/ezxlocal/mmc/bin\" -DX11_DRIVER_DIR=\"/ezxlocal/mmc/libexec/gnuplot/4.2\" -DGNUPLOT_PS_DIR=\"/ezxlocal/mmc/share/gnuplot/4.2/PostScript\" -DCONTACT=\"gnuplot-bugs@lists.sourceforge.net\" -DHELPFILE=\"/ezxlocal/mmc/share/gnuplot/4.2/gnuplot.gih\" -I/devel/mkezx-0.9.17/configs/../build/handset/gnuplot.fake_root/ezxlocal/mmc/include -g -Wall -Os -c version.c
arm-linux-gnu-g++ -g -Wall -Os -o gnuplot alloc.o axis.o breaders.o bitmap.o color.o command.o contour.o datafile.o dynarray.o eval.o fit.o gadgets.o getcolor.o graph3d.o graphics.o help.o hidden3d.o history.o internal.o interpol.o matrix.o misc.o mouse.o parse.o plot.o plot2d.o plot3d.o pm3d.o readline.o save.o scanner.o set.o show.o specfun.o standard.o stdfn.o tables.o term.o time.o unset.o util.o util3d.o variable.o version.o -lreadline -lncurses -lz -lgd -ljpeg -lfontconfig -lfreetype -lz -lm -lm
term.o(.text+0x21428): In function `PNG_text':
../term/gd.trm:1360: undefined reference to `gdImagePng'
collect2: ld returned 1 exit status
make[5]: *** [gnuplot] Error 1
make[5]: Leaving directory `/devel/mkezx-0.9.17/build/handset/gnuplot/src'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/devel/mkezx-0.9.17/build/handset/gnuplot/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/devel/mkezx-0.9.17/build/handset/gnuplot'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/devel/mkezx-0.9.17/build/handset/gnuplot'
make[1]: *** [debian/stamp-makefile-build] Error 2
make[1]: Leaving directory `/devel/mkezx-0.9.17/build/handset/gnuplot'
This undefined reference to gdImagePng is what's causing all the trouble (as is evident
) Very grateful if someone could help me with this..
Thanks.
Amit