Results 1 to 9 of 9

Thread: TiLem program won't "make"

  1. #1
    Join Date
    Oct 2009
    Location
    New Hamsha
    Beans
    1,275
    Distro
    Kubuntu 13.04 Raring Ringtail

    Red face TiLem program won't "make"

    Hi.
    I just downloaded the source for a program called TiLem - A Graphing calculator emulator that I need for school. I have installed all of its dependencies, and successfully ./configure'd it but when I run make, a bunch of errors occur. sudo make install does not work either - Does anyone know what they mean or how to solve them?
    Code:
    richie@richie-desktop:~/Downloads/tilem-0.972$ make
    cd src && make
    make[1]: Entering directory `/home/richie/Downloads/tilem-0.972/src'
    cd tilem && make
    make[2]: Entering directory `/home/richie/Downloads/tilem-0.972/src/tilem'
    gcc -g -O2 -O2 -c -Wall main.c -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/local/include/tilp  
    In file included from /usr/local/include/tilp/ticables.h:29,
                     from main.c:47:
    /usr/local/include/tilp/cabl_def.h:29:21: error: stdints.h: No such file or directory
    In file included from /usr/local/include/tilp/ticables.h:29,
                     from main.c:47:
    /usr/local/include/tilp/cabl_def.h:126: warning: parameter names (without types) in function declaration
    /usr/local/include/tilp/cabl_def.h:127: error: expected ‘)’ before ‘*’ token
    /usr/local/include/tilp/cabl_def.h:128: error: expected ‘;’ before ‘int’
    In file included from /usr/local/include/tilp/ticables.h:30,
                     from main.c:47:
    /usr/local/include/tilp/cabl_int.h:121: error: expected ‘)’ before ‘data’
    /usr/local/include/tilp/cabl_int.h:122: error: expected ‘)’ before ‘*’ token
    main.c: In function ‘main’:
    main.c:214: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
    main.c:225: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
    main.c:226: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
    main.c:258: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
    main.c:260: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
    main.c:262: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
    make[2]: *** [main.o] Error 1
    make[2]: Leaving directory `/home/richie/Downloads/tilem-0.972/src/tilem'
    make[1]: *** [xtilem] Error 2
    make[1]: Leaving directory `/home/richie/Downloads/tilem-0.972/src'
    make: *** [compile] Error 2
    Having this emulator beats having to save up 100$ for a new graphing calculator - thank you linux and ubuntuforums!
    AMD A4-3400 w/ Radeon HD 6410D, 8 GB Corsair Vengeance DDR3 1333Mhz, Kubuntu 14.04, SliTaz 4.0, Windows 8.1, Ubuntu 14.04 VM
    " ... Love your neighbor as you love yourself."

  2. #2
    Join Date
    Oct 2009
    Location
    New Hamsha
    Beans
    1,275
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: TiLem program won't "make"

    ...Bump
    AMD A4-3400 w/ Radeon HD 6410D, 8 GB Corsair Vengeance DDR3 1333Mhz, Kubuntu 14.04, SliTaz 4.0, Windows 8.1, Ubuntu 14.04 VM
    " ... Love your neighbor as you love yourself."

  3. #3
    Join Date
    Jan 2008
    Beans
    239

    Re: TiLem program won't "make"

    I just compiled it successfully here, make sure you have libgtk2.0-dev installed and have run ./configure after installing that.

    I also have ubuntu-dev-tools installed, but I don't know if that makes a difference.

    - arand

  4. #4
    Join Date
    Oct 2009
    Location
    New Hamsha
    Beans
    1,275
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: TiLem program won't "make"

    I have that installed ...
    But I just found out that I had the wrong source package. I have the one for Windows.
    Could you give me a link to the one you have???
    AMD A4-3400 w/ Radeon HD 6410D, 8 GB Corsair Vengeance DDR3 1333Mhz, Kubuntu 14.04, SliTaz 4.0, Windows 8.1, Ubuntu 14.04 VM
    " ... Love your neighbor as you love yourself."

  5. #5
    Join Date
    Jan 2008
    Beans
    239

    Re: TiLem program won't "make"

    http://sourceforge.net/projects/tile...m-devel/0.973/

    Also, a tip is to use checkinstall (instead of "make install" command), thus you can easily uninstall it.

    - arand

  6. #6
    Join Date
    Oct 2009
    Location
    New Hamsha
    Beans
    1,275
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: TiLem program won't "make"

    Well, I downloaded the correct source code. Thanks for the link. While running 'make', I still get errors though. Thank you for the help so far!
    Code:
    richie@richie-desktop:~/Downloads/tilem-0.973$ make
    cd src && make
    make[1]: Entering directory `/home/richie/Downloads/tilem-0.973/src'
    cd tilem && make
    make[2]: Entering directory `/home/richie/Downloads/tilem-0.973/src/tilem'
    gcc -g -O2  -O2 -c main.c -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -I/usr/local/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
    main.c: In function ‘main’:
    main.c:288: warning: assignment discards qualifiers from pointer target type
    main.c:214: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result
    gcc -g -O2  -O2 -c tools.c -DSHARE_DIR=\"/usr/local/share\" -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   
    gcc -g -O2  -O2 -c gui/screen.c -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
    gui/screen.c: In function ‘lcfresh’:
    gui/screen.c:142: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
    gcc -g -O2  -O2 -c gui/files.c -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
    gui/files.c: In function ‘create_filedlg’:
    gui/files.c:129: warning: passing argument 3 of ‘gtk_signal_connect_full’ from incompatible pointer type
    /usr/include/gtk-2.0/gtk/gtksignal.h:119: note: expected ‘GCallback’ but argument is of type ‘filewinfunc’
    gui/files.c:130: warning: passing argument 3 of ‘gtk_signal_connect_full’ from incompatible pointer type
    /usr/include/gtk-2.0/gtk/gtksignal.h:119: note: expected ‘GCallback’ but argument is of type ‘filewinfunc’
    gui/files.c:131: warning: passing argument 3 of ‘gtk_signal_connect_full’ from incompatible pointer type
    /usr/include/gtk-2.0/gtk/gtksignal.h:119: note: expected ‘GCallback’ but argument is of type ‘filewinfunc’
    gcc -g -O2  -O2 -c gui/changehw.c -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
    gui/changehw.c: In function ‘add_rom’:
    gui/changehw.c:200: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result
    gui/changehw.c: In function ‘changehw’:
    gui/changehw.c:273: warning: assignment discards qualifiers from pointer target type
    In file included from /usr/include/stdio.h:910,
                     from /usr/include/pango-1.0/pango/pango-utils.h:25,
                     from /usr/include/pango-1.0/pango/pango.h:46,
                     from /usr/include/gtk-2.0/gdk/gdktypes.h:37,
                     from /usr/include/gtk-2.0/gdk/gdkscreen.h:32,
                     from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31,
                     from /usr/include/gtk-2.0/gdk/gdk.h:32,
                     from /usr/include/gtk-2.0/gtk/gtk.h:32,
                     from gui/changehw.c:22:
    In function ‘snprintf’,
        inlined from ‘changehw’ at gui/changehw.c:276:
    /usr/include/bits/stdio2.h:65: warning: call to __builtin___snprintf_chk will always overflow destination buffer
    gcc -g -O2  -O2 -c gui/menus.c -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
    gcc -g -O2  -O2 -c gui/commands.c -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
    gcc -g -O2  -O2 -c gui/linkset.c -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12   -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -I/usr/local/include/tilp2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  
    In file included from gui/linkset.c:30:
    gui/../core/dep/link.h:11: error: conflicting types for ‘CableOptions’
    /usr/local/include/tilp2/ticables.h:253: note: previous declaration of ‘CableOptions’ was here
    gui/linkset.c: In function ‘setuplink’:
    gui/linkset.c:61: warning: assignment discards qualifiers from pointer target type
    gui/linkset.c:64: warning: assignment discards qualifiers from pointer target type
    make[2]: *** [linkset.o] Error 1
    make[2]: Leaving directory `/home/richie/Downloads/tilem-0.973/src/tilem'
    make[1]: *** [xtilem] Error 2
    make[1]: Leaving directory `/home/richie/Downloads/tilem-0.973/src'
    make: *** [compile] Error 2
    AMD A4-3400 w/ Radeon HD 6410D, 8 GB Corsair Vengeance DDR3 1333Mhz, Kubuntu 14.04, SliTaz 4.0, Windows 8.1, Ubuntu 14.04 VM
    " ... Love your neighbor as you love yourself."

  7. #7
    Join Date
    Jan 2008
    Beans
    239

    Re: TiLem program won't "make"

    I think I managed to reproduce your error by having the packages
    Code:
    libticables-dev libticalcs-dev libticonv-dev
    installed, so you might want to try to uninstall them?

    Unless you absolutely need them, in which case http://sourceforge.net/projects/tile.../topic/3533313 has some (not very helpful) discussion regarding it.

    My guess is that if you uninstall them tilem will simply be compiled without support for link cables

    - arand

  8. #8
    Join Date
    Oct 2009
    Location
    New Hamsha
    Beans
    1,275
    Distro
    Kubuntu 13.04 Raring Ringtail

    Re: TiLem program won't "make"

    I tried to purge those three packages, and I ./configure'd it again, successfully, but it still did not make successfully!
    Thanks for the help so far. Really!
    AMD A4-3400 w/ Radeon HD 6410D, 8 GB Corsair Vengeance DDR3 1333Mhz, Kubuntu 14.04, SliTaz 4.0, Windows 8.1, Ubuntu 14.04 VM
    " ... Love your neighbor as you love yourself."

  9. #9
    Join Date
    Mar 2008
    Location
    /home/evan
    Beans
    532
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: TiLem program won't "make"

    If you're still need help, try getting the cvs version by typing:

    Code:
    cvs -d:pserver:anonymous@tilem.cvs.sourceforge.net:/cvsroot/tilem login
    
    cvs -z3 -d:pserver:anonymous@tilem.cvs.sourceforge.net:/cvsroot/tilem co -P TiLem
    Just leave the password blank. Then cd into the directory with the source and compile
    FX-4100, GA-970A-D3, CM Hyper 212+, 8GB G.Skill Ripjaws 1333, Kingston HyperX 3K 90GB SSD, 1TB Seagate 7200.12, nVidia GTX 480
    Windows 7 Pro (Ubuntu 12.04 VM), Ubuntu Server 12.04, Ubuntu User #31355
    Dropbox!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •