Join Today
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Location
    Hyderabad, India
    Posts
    2

    Default mkezx compile problems with gnuplot...please help.

    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

  2. #2

    Default

    you will get rules file in packages/gnuplot directory

    with this config
    DEB_CONFIGURE_EXTRA_FLAGS += \
    --without-x --disable-wxwidgets --without-tutorial \
    --with-readline=gnu

    add --without-gd and make look like this


    DEB_CONFIGURE_EXTRA_FLAGS += \
    --without-x --disable-wxwidgets --without-tutorial \
    --with-readline=gnu


    it will work

  3. #3

    Default

    DEB_CONFIGURE_EXTRA_FLAGS += \
    --without-x --disable-wxwidgets --without-tutorial \
    --with-readline=gnu --without-gd

  4. #4
    Join Date
    Sep 2006
    Location
    Hyderabad, India
    Posts
    2

    Default Thanks!

    Thanks ajeet..its gotten past gnuplot now, thanks to your help..i have an airtel gprs connection, so it takes time to get someplace..

    anyways thank you very much..


    Amit


 
+ Reply to Thread

Similar Threads

  1. Hosting MkEzx binary images
    By fubar in forum Development
    Replies: 174
    Last Post: 01-07-2011, 04:11 AM
  2. mkezx and ncurses compile problem
    By kpa1200e in forum Development
    Replies: 2
    Last Post: 05-15-2008, 11:31 AM
  3. MKEZX help
    By m41d3n in forum A1200 General Chat
    Replies: 1
    Last Post: 05-04-2007, 08:25 PM
  4. mkezx & a1200
    By Antioh in forum A1200 General Chat
    Replies: 6
    Last Post: 02-13-2007, 04:51 PM
  5. what is MkEZX? and does anyone try it?
    By eakrin in forum Development
    Replies: 11
    Last Post: 10-11-2006, 11:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Single Sign On provided by vBSSO

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1