Menu

loadusb make error

Help
Anonymous
2006-06-16
2012-09-14
  • Anonymous

    Anonymous - 2006-06-16

    Hello!

    I installed GXSM and SRanger on Ubuntu and everything was alright but when i run gxsm, after configure it, it shows a msg DSP magic error or something. I tried to find the same error in the forums but the only thing i found is that I have to compiled and run loadusb. Well, i run make in loadusb directory but i got this message:

    root@equuleus:~/SRanger/loadusb# make
    gcc -DHAVE_CONFIG_H -Wall pkg-config --cflags glib-2.0 -g -O2 -c loadusb.c
    loadusb.c:31:20: error: curses.h: No such file or directory
    In file included from loadusb.c:37:
    bcemu.h:29:21: error: ncurses.h: No such file or directory
    loadusb.c: In function ‘write_iyl’:
    loadusb.c:178: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
    loadusb.c:178: warning: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long int’
    loadusb.c: In function ‘mini_mem_debugger’:
    loadusb.c:533: warning: operation on ‘i’ may be undefined
    loadusb.c: In function ‘__clock’:
    loadusb.c:1192: error: ‘stdscr’ undeclared (first use in this function)
    loadusb.c:1192: error: (Each undeclared identifier is reported only once
    loadusb.c:1192: error: for each function it appears in.)
    loadusb.c:1195: warning: implicit declaration of function ‘mvaddstr’
    loadusb.c:1197: warning: implicit declaration of function ‘move’
    loadusb.c:1198: warning: implicit declaration of function ‘refresh’
    loadusb.c: In function ‘terminal’:
    loadusb.c:1256: warning: pointer targets in passing argument 1 of ‘swapshort’ differ in signedness
    loadusb.c:1265: warning: pointer targets in passing argument 1 of ‘swapshort’ differ in signedness
    loadusb.c:1271: warning: implicit declaration of function ‘initscr’
    loadusb.c:1274: warning: implicit declaration of function ‘cbreak’
    loadusb.c:1276: warning: implicit declaration of function ‘noecho’
    loadusb.c:1277: warning: implicit declaration of function ‘nonl’
    loadusb.c:1279: warning: implicit declaration of function ‘keypad’
    loadusb.c:1279: error: ‘stdscr’ undeclared (first use in this function)
    loadusb.c:1280: warning: implicit declaration of function ‘clear’
    loadusb.c:1283: warning: implicit declaration of function ‘printw’
    loadusb.c:1330: warning: implicit declaration of function ‘addch’
    loadusb.c:1340: warning: implicit declaration of function ‘endwin’
    loadusb.c: In function ‘control’:
    loadusb.c:1408: warning: implicit declaration of function ‘clrtoeol’
    loadusb.c:1430: warning: implicit declaration of function ‘addstr’
    loadusb.c:1434: error: ‘stdscr’ undeclared (first use in this function)
    loadusb.c:1475: warning: implicit declaration of function ‘nodelay’
    loadusb.c:1476: warning: implicit declaration of function ‘getch’
    loadusb.c:1476: error: ‘ERR’ undeclared (first use in this function)
    loadusb.c:1479: warning: implicit declaration of function ‘ungetch’
    make: *** [loadusb.o] Error 1

    I tried to install glib-2.0 but after that nothing happened... What should I do?

    Thanks

     
    • gwclark

      gwclark - 2007-05-15

      Hello again!

      Thanks for the help! I've installed ncurses-dev and that seemed to go fine. Now when i try "make loadusb" I get a shorter error list, but errors nonetheless. It looks like it needs glib, but there seem to be many glibs available (I tried installing bglibs-1.041, but it did not help).

      Here is the output:

      gwclark@ubuntu01:~/SRanger/loadusb$ make loadusb
      cc loadusb.c -o loadusb
      loadusb.c:33:18: error: glib.h: No such file or directory
      In file included from header.h:42,
      from loadusb.c:36:
      watch_sym.h:34: error: expected specifier-qualifier-list before ‘gchar’
      watch_sym.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
      watch_sym.h:43: error: expected ‘)’ before ‘
      ’ token
      loadusb.c: In function ‘run_mem_test’:
      loadusb.c:309: error: ‘GTimer’ undeclared (first use in this function)
      loadusb.c:309: error: (Each undeclared identifier is reported only once
      loadusb.c:309: error: for each function it appears in.)
      loadusb.c:309: error: ‘gtimer’ undeclared (first use in this function)
      loadusb.c:318: error: expected expression before ‘unsigned’
      loadusb.c:318: warning: assignment makes pointer from integer without a cast
      loadusb.c:319: error: expected expression before ‘unsigned’
      loadusb.c:319: warning: assignment makes pointer from integer without a cast
      loadusb.c:379: error: ‘gdouble’ undeclared (first use in this function)
      loadusb.c:379: error: expected ‘;’ before ‘dt’
      loadusb.c:381: error: ‘dt’ undeclared (first use in this function)
      loadusb.c: In function ‘main’:
      loadusb.c:602: error: ‘gchar’ undeclared (first use in this function)
      loadusb.c:602: error: ‘usr_prog_name’ undeclared (first use in this function)
      loadusb.c:603: error: ‘watch_file’ undeclared (first use in this function)
      loadusb.c:604: error: ‘GSList’ undeclared (first use in this function)
      loadusb.c:604: error: ‘watch_list’ undeclared (first use in this function)
      loadusb.c: At top level:
      loadusb.c:836: error: expected ‘)’ before ‘’ token
      loadusb.c: In function ‘mem_write’:
      loadusb.c:893: error: expected expression before ‘unsigned’
      loadusb.c:893: warning: assignment makes pointer from integer without a cast
      loadusb.c:1014: error: expected expression before ‘unsigned’
      loadusb.c:1014: warning: assignment makes pointer from integer without a cast
      loadusb.c:1057: error: expected expression before ‘unsigned’
      loadusb.c:1057: warning: assignment makes pointer from integer without a cast
      make:
      ** [loadusb] Error 1

      Any suggestions?

      Thanks,
      Greg

       
      • Percy Zahl

        Percy Zahl - 2007-05-15

        look for glib-dev and all dependencies

         
    • gwclark

      gwclark - 2007-05-15

      Thanks again for the suggestion. I've looked for a package of the name glib-dev with Synaptic and on the web, but had no luck finding any that were not for Win32. I searched my Filesystem and found glib.h in both of these directories: /usr/include/glib-1.2 and /usr/include/glib-2.0.

      I've tried using INCLUDE to insure that the paths to these directories are known, but with the same results. I still get the error messages as indicated earlier.

      I've installed (with Synaptic) all glib-dev packages I could find (libavahi-glib-dev, libnm-glib-dev, libpoppler-glib-dev, and libsofia-sip-ua-glib-dev >> All of these I'm sure have nothing to do with what I'm trying to do, but i thought I'd give it a shot!).

      I'm still a complete novice at Linux and fear that I may have missed an obvious step up to this point. I've followed the "generic GXSM with SRanger setup howto and quick start guide" to the letter, but if there were steps left out for smart Linux veterans, I would have missed them.

      Thanks for your help and patience!
      Greg

       
      • Percy Zahl

        Percy Zahl - 2007-05-15

        On my Ubuntu system I do have all this stuff below installed, cut and paste the following list and read it in with synaptic to set you selections -- you need to enable packages from "Universe" to find it all:

        xserver-xorg install
        python-plplot install
        popularity-contest install
        mcpp install
        mii-diag install
        xkeyboard-config install
        gnome-keyring install
        f-spot install
        ttf-bitstream-vera install
        libpopt-dev install
        libmpich1.0c2 install
        libpci2 install
        libgnomecupsui1.0-1c2a install
        gnuplot install
        aspell-en install
        libgtk2.0-common install
        libedit2 install
        libopenexr2c2a install
        gstreamer0.10-alsa install
        liborbit2-dev install
        mesa-utils install
        libsdl1.2debian install
        xgamma install
        netcdf-perl install
        xserver-xorg-video-rendition install
        xemacs21-support install
        libsm-dev install
        libatk1.0-0 install
        libsdl1.2debian-alsa install
        gcj-4.1-base install
        ttf-freefont install
        libpam0g install
        xclipboard install
        liblaunchpad-integration0 install
        libcamel1.2-8 install
        libgtkhtml3.8-15 install
        libopenobex-1.0-0 install
        libpopt0 install
        python-netcdf install
        gtk-doc-tools install
        libwpd8c2a install
        nano install
        libarts1c2a install
        libxmlsec1 install
        libstdc++5 install
        libstdc++6 install
        libusb-0.1-4 install
        hdparm install
        tomboy install
        xf86dga install
        libglib-perl install
        libxfixes3 install
        wamerican install
        bzip2 install
        evolution-webcal install
        gtranslator install
        ekiga install
        libglew1 install
        edgy-community-wallpapers install
        kdelibs4c2a install
        xlsfonts install
        libgnomeui-dev install
        openoffice.org-gnome install
        libartsc0 install
        shared-mime-info install
        gimp-print install
        python-gst0.10 install
        libncurses5 install
        ttf-devanagari-fonts install
        libmagick9 install
        xsltproc install
        console-terminus install
        libenchant1c2a install
        notification-daemon install
        libmono-security1.0-cil install
        libgnomevfs2-0 install
        gcalctool install
        libjaxp1.2-java install
        xfontsel install
        iproute install
        liblzo1 install
        pnm2ppa install
        gthumb install
        vim-common install
        oclock install
        xserver-xorg-input-evdev install
        cupsys-common install
        libice-dev install
        viewres install
        gstreamer0.10-x install
        xserver-xorg-video-newport install
        libisccc0 install
        libgail18 install
        openoffice.org-core install
        update-manager install
        automake1.9 install
        openoffice.org-writer install
        gs-esp install
        python-gnome2 install
        gnome-nettool install
        python-support install
        libparted1.7-1 install
        base-files install
        libgphoto2-port0 install
        gnome-media install
        libgcj7-0 install
        openoffice.org-style-default install
        x11proto-xext-dev install
        cpp-2.95 install
        libneon25 install
        liblcms1 install
        xserver-xorg-video-s3virge install
        metacity install
        gnome-desktop-data install
        nautilus install
        libtasn1-3-dev install
        libquicktime-dev install
        libgnome2-0 install
        cdparanoia install
        libdc1394-13 install
        bind9-host install
        libgksu1.2-1 install
        xfonts-scalable install
        libgail-gnome-module install
        libblkid1 install
        openoffice.org-impress install
        libmono0 install
        libglade2.0-cil install
        mime-support install
        procps install
        language-pack-en-base install
        gamin install
        libatk1.0-dev install
        libnetcdf++3 install
        libidn11 install
        libgtop2-common install
        libgstreamer0.10-0 install
        ubuntu-docs install
        libportaudio0 install
        ttf-punjabi-fonts install
        linux-headers-generic install
        aspell install
        kaffeine-xine install
        libnss3 install
        docbook-to-man install
        dhcp3-client install
        libsensors3 install
        wvdial install
        libsasl2 install
        python-at-spi install
        libwrap0 install
        xserver-xorg-video-all install
        xsane install
        libaudiofile-dev install
        libpam-modules install
        pkg-config install
        bluefish install
        gnome-core-devel install
        libgcj-bc install
        libraw1394-8 install
        telnet install
        ttf-indic-fonts install
        libbind9-0 install
        lshw install
        libdevhelp-1-0 install
        xserver-xorg-video-apm install
        intltool-debian install
        xserver-xorg-video-ark install
        libacl1 install
        libcomerr2 install
        libglib2.0-cil install
        libiec61883-0 install
        jed-common install
        xserver-xorg-video-ati install
        libdjvulibre15 install
        lsof install
        libwmf0.2-7 install
        x11proto-kb-dev install
        tangerine-icon-theme install
        libselinux1 install
        libglib2.0-dev install
        libmono-sharpzip0.84-cil install
        xwininfo install
        wireless-tools install
        ncompress install
        libicu34 install
        openoffice.org-draw install
        xprop install
        smbclient install
        tetex-base install
        whiptail install
        python-apport-utils install
        libgpg-error-dev install
        ttf-thai-tlwg install
        libgnome-mag2 install
        ttf-kochi-mincho install
        libvorbisfile3 install
        libperl5.8 install
        xserver-xorg-video-tdfx install
        ubuntu-standard install
        xcalc install
        python-gnome2-extras install
        libxmlsec1-openssl install
        libgnomeui-common install
        xcursorgen install
        iso-codes install
        doc-base install
        gucharmap install
        brltty-x11 install
        libg2c0-dev install
        python-gnomecanvas install
        edgy-session-splashes install
        iputils-tracepath install
        zenity install
        libbtctl4 install
        libgksuui1.0-1 install
        libglib1.2 install
        avahi-daemon install
        gnome-games install
        libgail-common install
        xserver-xorg-video-trident install
        libgnome-keyring0 install
        memtest86+ install
        cdrecord install
        xserver-xorg-video-glint install
        hwdb-client-gnome install
        xscreensaver-gl install
        gdebi install
        liburi-perl install
        libmono-sqlite1.0-cil install
        vnc-common install
        libxt-java install
        xbiff install
        ttf-mgopen install
        evolution-exchange install
        libgconf2.0-cil install
        libx11-data install
        openoffice.org-java-common install
        ncurses-base install
        libgnome-desktop-dev install
        liblocale-gettext-perl install
        grepmap install
        evolution install
        dnsutils install
        gcc-4.1-base install
        xbase-clients install
        libwxgtk2.6-0 install
        openoffice.org-gtk install
        quicktime-x11utils install
        libxml-perl install
        x11proto-xinerama-dev install
        fortunes-min install
        xserver-xorg-video-fbdev install
        fftw2 install
        xserver-xorg-input-wacom install
        fftw3 install
        libpango1.0-dev install
        libgbf-1-0 install
        libgnome-media0 install
        libart-2.0-2 install
        libsp1c2 install
        app-install-data install
        libmono-system-web1.0-cil install
        libwvstreams4.2-base install
        libbeagle0 install
        libbz2-1.0 install
        gnome-power-manager install
        libavahi-common-data install
        libdbus-1-3 install
        libpanel-applet2-dev install
        g++-4.1 install
        libsane install
        esound install
        xxdiff install
        glade-common install
        libexchange-storage1.2-2 install
        libopencdk8 install
        util-linux install
        xlsclients install
        unzip install
        perl install
        xdpyinfo install
        libopencdk8-dev install
        iputils-ping install
        linux-image-generic install
        resilience-theme install
        ttf-kannada-fonts install
        ttf-gentium install
        libdbus-glib-1-2 install
        cli-common install
        human-cursors-theme install
        gnome-screensaver install
        gnome-mag install
        libgtksourceview1.0-0 install
        rhythmbox install
        xserver-xorg-video-v4l install
        x11proto-render-dev install
        libxxf86vm1 install
        libgnomeprint2.2-dev install
        libglade2-dev install
        libcap1 install
        libglut3 install
        libpam-runtime install
        xterm install
        libconsole install
        libmono-corlib1.0-cil install
        alacarte install
        netcdf-bin install
        xserver-xorg-video-mga install
        libgcrypt11-dev install
        kdelibs-data install
        gedit install
        python-libxml2 install
        gnome-menus install
        liblircclient0 install
        bluez-cups install
        dbus-1-utils install
        readahead install
        glutg3-dev install
        scrollkeeper install
        hpijs install
        dvd+rw-tools install
        libplot2c2 install
        python-scientific install
        libgtksourceview-dev install
        docbook-xml install
        libklibc install
        python-numeric install
        libglu1-mesa install
        xserver-xorg-input-mouse install
        inputattach install
        brltty install
        libieee1284-3 install
        libstlport4.6c2 install
        logrotate install
        docbook-xsl install
        libdns21 install
        libglib1.2-dev install
        ubuntu-artwork install
        libpcap0.8 install
        openoffice.org-style-industrial install
        language-pack-gnome-en-base install
        screen install
        xserver-xorg-video-nsc install
        libhtml-parser-perl install
        gnome-control-center install
        libsasl2-modules install
        netcdfg-dev install
        libbonoboui2-common install
        libspeex1 install
        libapm1 install
        libpisock9 install
        bc install
        refblas3 install
        libxi-dev install
        xutils install
        hplip install
        acpi install
        m4 install
        dc install
        gconf2 install
        libbonoboui2-0 install
        at install
        strace install
        dosfstools install
        ed install
        xauth install
        libwnck-common install
        libapr0 install
        gnome-themes install
        libesd-alsa0 install
        libxmu-headers install
        libxslt1.1 install
        libglui2c2 install
        libxrender-dev install
        ubuntu-desktop install
        metacity-common install
        xrandr install
        xserver-xorg-video-vesa install
        libxmlsec1-nss install
        po-debconf install
        libgnome2-perl install
        perl-base install
        aptitude install
        liblualib50 install
        autoconf install
        libatspi-dev install
        libpcre3 install
        libpostproc0d install
        python-apt install
        anjuta-common install
        python-virtkey install
        gnome-pilot-conduits install
        gnome2-user-guide install
        xserver-xorg-video-siliconmotion install
        cupsys-bsd install
        libslp1 install
        ubuntu-sounds install
        groff-base install
        libcairo2-dev install
        mesa-common-dev install
        whois install
        esound-common install
        xserver-xorg-video-tga install
        thunderbird-locale-en-gb install
        libpt-plugins-v4l2 install
        xserver-xorg-video-sis install
        python-pyorbit install
        libgnome-keyring-dev install
        nedit install
        libnotify1 install
        libcairo2 install
        libfontconfig1 install
        xemacs21-bin install
        bash install
        libatm1 install
        sp install
        python-gconf install
        libgnutls13 install
        scim-modules-socket install
        fontconfig-config install
        gnome-pilot install
        dhcp3-common install
        libedata-cal1.2-6 install
        powernowd install
        libsqlite3-0 install
        module-init-tools install
        openoffice.org-l10n-common install
        libgpmg1 install
        klibc-utils install
        xserver-xorg-video-vga install
        beforelight install
        scim install
        fortune-mod install
        libdevmapper1.02 install
        update-notifier install
        xtrap install
        libxdmcp-dev install
        xserver-xorg-video-via install
        apport install
        xstdcmap install
        libvorbisenc2 install
        libsoup2.2-8 install
        xserver-xorg-video-s3 install
        psmisc install
        g++ install
        linux-libc-dev install
        xml-core install
        appres install
        edgy-gdm-themes install
        python2.4-minimal install
        libavahi-client-dev install
        login install
        gnome-media-common install
        libgpod0 install
        nautilus-data install
        libxmuu1 install
        libtext-charwidth-perl install
        libglui-dev install
        libpango1.0-common install
        libgnome-menu2 install
        python2.4 install
        libgail-dev install
        libscim8c2a install
        ttf-lao install
        xsetpointer install
        gstreamer0.10-plugins-good install
        libtasn1-3 install
        usplash-theme-ubuntu install
        lapack3 install
        xserver-xorg-video-nv install
        libgadu3 install
        gnome-terminal install
        libgd2-noxpm install
        libgphoto2-2 install
        foomatic-db-engine install
        python-minimal install
        libstartup-notification0-dev install
        xsetmode install
        xserver-xorg-core install
        language-support-en install
        mono-common install
        e2fsprogs install
        parted install
        libdvbpsi4 install
        libpng12-dev install
        gcc-3.4 install
        gcc-3.4-base install
        libxml-parser-perl install
        f2c install
        g77 install
        hicolor-icon-theme install
        libsmbclient install
        libavformat0d install
        libfribidi0 install
        libexpat1 install
        gcc-4.1 install
        linux-restricted-modules-2.6.17-10-generic install
        libmdbtools install
        toshset install
        ttf-kochi-gothic install
        libkrb53 install
        system-tools-backends install
        binutils-static install
        festlex-cmu install
        xserver-xorg-video-tseng install
        libcdio6 install
        util-linux-locales install
        libstdc++6-4.1-dev install
        upstart-compat-sysv install
        pppconfig install
        apt-utils install
        libxosd2 install
        tcpd install
        libxxf86misc1 install
        tcpdump install
        libfontconfig1-dev install
        libgamin0 install
        mtr-tiny install
        libpanel-applet2-0 install
        xdriinfo install
        initramfs-tools install
        vim-tiny install
        libelfg0 install
        gaim-data install
        gij-4.1 install
        x11proto-record-dev install
        libsvn0 install
        openssh-client install
        tango-icon-theme-common install
        linux-image-2.6.17-10-generic install
        libpoppler1-glib install
        libeel2-data install
        libgnome2.0-cil install
        apmd install
        tango-icon-theme install
        xtrans-dev install
        xkb-data install
        intltool install
        fontconfig install
        python-gtkhtml2 install
        foomatic-db-hpijs install
        kaffeine install
        x11perf install
        gxine install
        libwnck18 install
        xfonts-75dpi install
        libtool install
        reiserfsprogs install
        scim-gtk2-immodule install
        guile-1.6-libs install
        libcompfaceg1 install
        libsexy2 install
        gedit-common install
        gnome-utils install
        vbetool install
        industrialtango-theme install
        ethtool install
        libc6-i686 install
        libgutenprintui2-1 install
        libbonoboui2-dev install
        dash install
        tasksel-data install
        libxfont1 install
        xvidtune install
        xserver-xorg-video-savage install
        libdmx1 install
        librecode0 install
        libgconf2-4 install
        libgnome-pilot2 install
        coreutils install
        libgcc1 install
        libvlc0 install
        libxres1 install
        anjuta install
        human-theme install
        acpid install
        gnome-btdownload install
        readline-common install
        emacsen-common install
        dbus install
        udev install
        finger install
        libvolumeid0 install
        x11proto-core-dev install
        bluez-utils install
        libatspi1.0-0 install
        libxcursor-dev install
        gettext install
        libxevie1 install
        passwd install
        diveintopython install
        libmusicbrainz4c2a install
        gnome-orca install
        libnet-dbus-perl install
        libf2c2-dev install
        nvidia-kernel-common install
        time install
        python-numpy install
        apt install
        firefox install
        xbitmaps install
        laptop-mode-tools install
        libdrm2 install
        xclock install
        ttf-gujarati-fonts install
        libgtkglext1-dev install
        devhelp-common install
        locales install
        xvncviewer install
        libgnome2-common install
        powermgmt-base install
        libbonobo2-dev install
        bsh install
        gnome-about install
        libstartup-notification0 install
        hwdb-client-common install
        libxau6 install
        gnome-volume-manager install
        nautilus-cd-burner install
        libxxf86dga1 install
        openoffice.org-evolution install
        libxaw7 install
        fstobdf install
        gtk2-engines install
        libgnomeprint2.2-data install
        cpp install
        libpango1.0-0 install
        libmono-system1.0-cil install
        netcat install
        libkpathsea4 install
        libpt-plugins-v4l install
        xserver-xorg-input-all install
        openoffice.org-math install
        libgdbm3 install
        gs-common install
        diff install
        libt1-5 install
        vlc-nox install
        libdv4-dev install
        gcc install
        netbase install
        gdb install
        libhal1 install
        edgy-wallpapers install
        libglu1-mesa-dev install
        gnuplot-x11 install
        cvs install
        libcurl3 install
        listres install
        eog install
        gdm install
        xfonts-base install
        screensaver-default-images install
        libavc1394-0 install
        libgnutls-dev install
        libsigc++-2.0-0c2a install
        hal install
        capplets-data install
        libgnome2-vfs-perl install
        libavahi-qt3-1 install
        libgcj-common install
        gij install
        gnome-common install
        libgnomecanvas2-0 install
        libgnome-menu-dev install
        openoffice.org-common install
        python-glade2 install
        python-uno install
        x11proto-randr-dev install
        libgmime-2.0-2 install
        libegroupwise1.2-12 install
        python install
        ico install
        ifupdown install
        gtk2-engines-ubuntulooks install
        bsdutils install
        libisccfg1 install
        cpio install
        libdbus-1-cil install
        xeyes install
        libgtk2.0-bin install
        sudo install
        ubuntu-keyring install
        ftp install
        python-xdg install
        ttf-telugu-fonts install
        libxft2 install
        libxml-grove-perl install
        xmessage install
        pciutils install
        libdbus-1-dev install
        libxslt1-dev install
        gnome-spell install
        jed install
        bug-buddy install
        libwxbase2.6-0 install
        freeglut3-dev install
        console-tools install
        base-passwd install
        autotools-dev install
        ttf-tamil-fonts install
        launchpad-integration install
        libgtk2.0-cil install
        libbrlapi1 install
        dictionaries-common install
        mono-gac install
        libgutenprint2 install
        python-vte install
        unattended-upgrades install
        bittorrent install
        xserver-xorg-input-elographics install
        libxt-dev install
        stow install
        libgtk2.0-dev install
        language-selector install
        libvte9 install
        libgsf-1-common install
        libgnomeui-0 install
        startup-tasks install
        gnome-doc-utils install
        libxmu-dev install
        libxine-main1 install
        alsa-utils install
        python-xml install
        openoffice.org install
        ttf-opensymbol install
        libgtk2-perl install
        libcroco3 install
        libpam-foreground install
        libxext-dev install
        libecal1.2-7 install
        linux-restricted-modules-common install
        gnuplot-nox install
        festlex-poslex install
        python-central install
        libjpeg62-dev install
        cron install
        xemacs21 install
        at-spi install
        libpoppler1 install
        xmhtml1 install
        libtheora0 install
        libice6 install
        xserver-xorg-video-vmware install
        libaa1 install
        tsclient install
        ca-certificates install
        rdesktop install
        libxdmcp6 install
        w3m install
        libmono1.0-cil install
        libgcrypt11 install
        xserver-xorg-input-kbd install
        makedev install
        xconsole install
        libdirectfb-0.9-24 install
        ssl-cert install
        gaim install
        libgtksourceview-common install
        dpkg install
        libhal-storage1 install
        rsync install
        vino install
        libjline-java install
        python-dbus install
        findutils install
        gnome-keyring-manager install
        gnome-devel install
        gnome-system-monitor install
        cupsys-driver-gutenprint install
        libidl0 install
        manpages install
        xemacs21-basesupport install
        xpmutils install
        anacron install
        libxml2 install
        xemacs21-mule install
        python-gnupginterface install
        libxerces2-java install
        mmv install
        libmono-data-tds1.0-cil install
        firefox-gnome-support install
        libao2 install
        ubuntu-minimal install
        wget install
        mono-jit install
        libbonobo2-0 install
        libglade2-0 install
        libdb3 install
        xemacs21-mulesupport install
        doc-gnome-hig install
        human-icon-theme install
        python-problem-report install
        evince install
        ttf-arphic-uming install
        libqthreads-12 install
        libstdc++2.10-glibc2.2 install
        libbluetooth2 install
        python-gnuplot install
        zlib1g-dev install
        gnome-games-data install
        lesstif2 install
        festvox-kallpc16k install
        libraw1394-dev install
        libxmu6 install
        libxtrap6 install
        powermanagement-interface install
        libcdparanoia0 install
        libgbf-1-common install
        xhost install
        debianutils install
        volumeid install
        file install
        libxml2-dev install
        x11proto-input-dev install
        gnome-app-install install
        libasound2 install
        libidl-dev install
        libmono-system-data1.0-cil install
        libfreetype6-dev install
        net-tools install
        libart-2.0-dev install
        bsdmainutils install
        libesd0-dev install
        libflac7 install
        libxpm4 install
        libgpg-error0 install
        ppp install
        fping install
        x11proto-fixes-dev install
        g77-3.4 install
        sed install
        adduser install
        libxrender1 install
        xinit install
        iputils-arping install
        ttf-malayalam-fonts install
        smproxy install
        libgnomecanvas2-dev install
        libgtkhtml2-0 install
        libebook1.2-9 install
        xlibmesa-gl-dev install
        lsb-base install
        evolution-plugins install
        openoffice.org-thesaurus-en-us install
        libnspr4 install
        tar install
        libcroco3-dev install
        libaudiofile0 install
        sessreg install
        libgnomecanvas2-common install
        libshout3 install
        libgsm1 install
        sgml-base install
        libdv4 install
        libdvdnav4 install
        system-services install
        libxau-dev install
        ucf install
        landscape-client install
        gtkhtml3.8 install
        libedataserverui1.2-8 install
        totem-gstreamer install
        contact-lookup-applet install
        libtext-iconv-perl install
        pcmciautils install
        libdbus-glib-1-dev install
        libiso9660-4 install
        libxalan2-java install
        libgnome-window-settings1 install
        libcsiro0 install
        libmetacity0 install
        libfs6 install
        libdvdread3 install
        python-launchpad-integration install
        libedata-book1.2-2 install
        e2fslibs install
        evolution-data-server install
        gettext-base install
        zlib1g install
        ssh install
        xfonts-100dpi install
        cdrdao install
        liblwres9 install
        xcursor-themes install
        tasksel install
        libgnomevfs2-bin install
        libxss1 install
        libiw28 install
        gray-theme install
        libgnomevfs2-extra install
        acpi-support install
        gconf2-common install
        liblzo-dev install
        human-gtk-theme install
        glade-gnome install
        gimp install
        xjed install
        python-numeric-ext install
        xsetroot install
        libgnome-speech3 install
        liblpint-bonobo0 install
        vlc install
        outdoors-theme install
        libtiff4 install
        libmath-derivative-perl install
        libfontenc1 install
        foo2zjs install
        perl-modules install
        xsane-common install
        ttf-arphic-ukai install
        libgnomevfs2-dev install
        libgnomeprintui2.2-dev install
        libedataserver1.2-7 install
        xmodmap install
        xfd install
        libgtop2-7 install
        libpng12-0 install
        xgc install
        upstart-logd install
        xkill install
        libgimp2.0 install
        ttf-dejavu install
        xserver-xorg-video-i128 install
        libjpeg62 install
        xev install
        libtext-wrapi18n-perl install
        libgsf-1-dev install
        xserver-xorg-video-neomagic install
        yelp install
        xfonts-utils install
        mono-runtime install
        libgl1-mesa-dev install
        xserver-xorg-video-chips install
        xmag install
        xserver-xorg-video-voodoo install
        console-setup install
        libnewt0.52 install
        xman install
        wpasupplicant install
        synaptic install
        gstreamer0.10-esd install
        libsepol1 install
        laptop-detect install
        gksu install
        libwvstreams4.2-extras install
        libdaemon0 install
        libfreetype6 install
        gnome-icon-theme install
        libxtst6 install
        libxrandr-dev install
        libpng3-dev install
        usbutils install
        myspell-en-gb install
        smartdimmer install
        libxvmc1 install
        libeel2-2 install
        belocs-locales-bin install
        libuuid1 install
        xsm install
        zip install
        python-gdbm install
        libgl1-mesa-dri install
        gnome-mime-data install
        libexpat1-dev install
        xwd install
        libavahi-client3 install
        alsa-base install
        libc6-dev install
        jade install
        gnome-netstatus-applet install
        libglib2.0-0 install
        tzdata install
        liborbit2 install
        libcupsimage2 install
        libpt-plugins-alsa install
        libxplc0.3.13 install
        language-selector-common install
        libjasper-1.701-1 install
        libtag1c2a install
        librsvg2-2 install
        pppoeconf install
        libxklavier11 install
        libgda2-3 install
        ttf-oriya-fonts install
        hal-device-manager install
        libavcodec0d install
        x11-common install
        foomatic-filters install
        libgconf2-dev install
        libbonobo2-common install
        gnome-terminal-data install
        libgl1-mesa-glx install
        liboobs-1-2 install
        libgucharmap5 install
        onboard install
        libmeanwhile1 install
        grace6 install
        libgksu2-0 install
        gnome-applets install
        poppler-utils install
        python-numpy-ext install
        sgml-data install
        libssl0.9.8 install
        slocate install
        libmad0 install
        gstreamer0.10-plugins-base-apps install
        libdb4.3 install
        libdb4.4 install
        grep install
        myspell-en-us install
        libsnmp-base install
        libsysfs2 install
        xine-ui install
        libselinux1-dev install
        libx11-6 install
        xserver-xorg-video-i740 install
        xrdb install
        xorg install
        foomatic-db install
        xserver-xorg-video-i810 install
        ntpdate install
        festival install
        ttf-baekmuk install
        xrgb install
        rss-glx install
        libmyspell3c2 install
        openoffice.org-l10n-en-gb install
        libeel2-dev install
        librsvg2-dev install
        python-gmenu install
        libhsqldb-java install
        libopal-2.2.0 install
        debconf install
        libf2c2 install
        linux-headers-2.6.17-10 install
        man-db install
        libid3tag0 install
        pmount install
        cpp-3.4 install
        libsnmp9 install
        xset install
        xload install
        libmodplug0c2 install
        gconf-editor install
        radeontool install
        grub install
        openssl install
        samba-common install
        libncursesw5 install
        libtotem-plparser1 install
        gnome-system-tools install
        cpp-4.1 install
        libsm6 install
        linux-restricted-modules-generic install
        libgnomebt0 install
        libxft-dev install
        mount install
        ttf-arabeyes install
        libhtml-tree-perl install
        libx11-dev install
        linux-sound-base install
        liboil0.3 install
        libuniconf4.2 install
        libgc1c2 install
        cupsys-client install
        libavahi-glib1 install
        fdutils install
        xserver-xorg-video-cyrix install
        libtar install
        libservlet2.3-java install
        libplplot9 install
        libss2 install
        xlogo install
        libgtkspell0 install
        libgmime2.2-cil install
        libqt3-mt install
        libxdamage1 install
        openoffice.org-base install
        libxml2-utils install
        python-scipy install
        xlsatoms install
        ltrace install
        patch install
        fftw3-dev install
        gnome-panel install
        xserver-xorg-video-dummy install
        mktemp install
        openoffice.org-l10n-en-za install
        docbook-dsssl install
        libufsparse install
        libcairo-perl install
        libwww-perl install
        sysvutils install
        wbritish install
        language-pack-en install
        quicktime-utils install
        hotkey-setup install
        liblua50 install
        libisc11 install
        info install
        libvisual-0.4-0 install
        libxfixes-dev install
        libexif12 install
        libgda2-common install
        libg2c0 install
        upstart install
        sysv-rc install
        sysklogd install
        debconf-i18n install
        mozilla-firefox-locale-en-gb install
        libstdc++2.10-dev install
        legacyhuman-theme install
        busybox-initramfs install
        libgnome2-dev install
        mkisofs install
        libxi6 install
        libquicktime0 install
        gstreamer0.10-gnomevfs install
        gcc-2.95 install
        libcupsys2 install
        libvorbis0a install
        libavahi-glib-dev install
        cupsys install
        totem install
        libavahi-common-dev install
        gnome-accessibility-themes install
        binfmt-support install
        openoffice.org-calc install
        gcc-3.3-base install
        deskbar-applet install
        ttf-bengali-fonts install
        libnautilus-burn4 install
        python-gnome2-desktop install
        libnautilus-extension1 install
        xserver-xorg-input-synaptics install
        libc6 install
        evolution-data-server-common install
        libattr1 install
        editres install
        libxp6 install
        libaudio2 install
        gimp-data install
        gzip install
        libxcursor1 install
        xwud install
        xfonts-encodings install
        libavahi-common3 install
        openoffice.org-help-en-us install
        binutils install
        gnome-applets-data install
        libgnomeprint2.2-0 install
        libxinerama-dev install
        libxt6 install
        min12xxw install
        gstreamer0.10-plugins-base install
        libhtml-tagset-perl install
        desktop-file-utils install
        libxinerama1 install
        libxv1 install
        libpt-1.10.0 install
        libsepol1-dev install
        libvcdinfo0 install
        openssh-server install
        libslang2 install
        libvte-common install
        apport-gtk install
        libxext6 install
        libgstreamer-plugins-base0.10-0 install
        libguile-ltdl-1 install
        xserver-xorg-video-sisusb install
        gnome-session install
        libgnome-desktop-2 install
        initscripts install
        libqhull5 install
        defoma install
        bitmap install
        libgtkglext1 install
        linux-generic install
        libreadline5 install
        xmore install
        libestools1.2 install
        libmpcdec3 install
        libmono-cairo1.0-cil install
        g++-2.95 install
        iptables install
        libscrollkeeper0 install
        eject install
        libxrandr2 install
        tex-common install
        xkbutils install
        silicon-theme install
        libxtst-dev install
        libavahi-core4 install
        gstreamer0.10-tools install
        librsvg2-common install
        lsb-release install
        python-gtk2 install
        xscreensaver-data install
        freeglut3 install
        libgail-gnome-dev install
        x-ttcidfont-conf install
        libsndfile1 install
        libgnomeprintui2.2-0 install
        libaspell15 install
        xserver-xorg-video-imstt install
        grace install
        dmidecode install
        language-pack-gnome-en install
        totem-mozilla install
        devhelp install
        libmng1 install
        python-cairo install
        libgtk2.0-0 install
        make install
        libgdl-1-0 install
        bluez-pin install
        libgnome2-canvas-perl install
        klogd install
        xrefresh install
        libgnomeprintui2.2-common install
        example-content install
        libgsf-1-114 install
        ncurses-bin install
        docbook install
        libmpeg2-4 install
        iceauth install
        gimp-python install
        gsfonts install
        xvinfo install
        libbz2-dev install
        libxkbfile1 install
        file-roller install
        serpentine install
        hostname install
        usplash install
        app-install-data-commercial install
        libltdl3 install
        less install
        nautilus-sendto install
        libpaper1 install
        gkrellm install
        gnome-cups-manager install
        libmagic1 install
        plplot9-driver-gnome2 install
        dselect install
        gnome-panel-data install
        ssh-askpass-gnome install
        xserver-xorg-video-cirrus install
        linux-headers-2.6.17-10-generic install
        sound-juicer install
        libgnomecups1.0-1 install
        libpisync0 install
        gnupg install
        hplip-data install
        python-gobject install
        libnetcdf3 install
        lftp install
        libsdl-image1.2 install
        libgnomevfs2-common install
        libnautilus-extension-dev install
        libgdl-1-common install
        mawk install
        libogg0 install
        libldap2 install
        liba52-0.7.4 install
        xditview install
        libxine1 install
        xutils-dev install

         
    • gwclark

      gwclark - 2007-05-24

      That seems to have fixed my problems. The SR is scanning away beautifully now with GXSM. Next step will be the piezo amps. Thanks a million for your help!

       
    • Percy Zahl

      Percy Zahl - 2006-06-16

      you need the "ncurses" development package installed

       
      • Anonymous

        Anonymous - 2006-06-16

        Ok, thanks but where can I find it?

        I think I looked for this package once but I wasn´t able to download it.

         
    • gwclark

      gwclark - 2007-05-05

      Hello All,

      I'm wondering if I might get some help. I am an absolute Newbie to Linux but am determined to get GSXM running with my SR board on an Ubuntu system. I have made my way through much of the process: fxload, insmod usb-sranger.ko, and chmod a+rw /dev/sranger0. My SRanger shows up under DMESG fine and the LED is amber (yellow). When I try to do the make of loadusb, I get similar error messages to the previous poster. I've used Synaptic Package Manger to check that ncurses is loaded (I've reloaded it) and that glib is loaded (it is). Here's the message when I try to run make (it's the same if I do "make loadusb") without sudo and without the "./"

      gwclark@ubuntu01:~/SRanger/loadusb$ sudo make ./loadusb
      cc loadusb.c -o loadusb
      loadusb.c:31:20: error: curses.h: No such file or directory
      loadusb.c:33:18: error: glib.h: No such file or directory
      In file included from header.h:42,
      from loadusb.c:36:
      watch_sym.h:34: error: expected specifier-qualifier-list before ‘gchar’
      watch_sym.h:42: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘’ token
      watch_sym.h:43: error: expected ‘)’ before ‘
      ’ token
      In file included from loadusb.c:37:
      bcemu.h:29:21: error: ncurses.h: No such file or directory
      loadusb.c: In function ‘run_mem_test’:
      loadusb.c:309: error: ‘GTimer’ undeclared (first use in this function)
      loadusb.c:309: error: (Each undeclared identifier is reported only once
      loadusb.c:309: error: for each function it appears in.)
      loadusb.c:309: error: ‘gtimer’ undeclared (first use in this function)
      loadusb.c:318: error: expected expression before ‘unsigned’
      loadusb.c:318: warning: assignment makes pointer from integer without a cast
      loadusb.c:319: error: expected expression before ‘unsigned’
      loadusb.c:319: warning: assignment makes pointer from integer without a cast
      loadusb.c:379: error: ‘gdouble’ undeclared (first use in this function)
      loadusb.c:379: error: expected ‘;’ before ‘dt’
      loadusb.c:381: error: ‘dt’ undeclared (first use in this function)
      loadusb.c: In function ‘main’:
      loadusb.c:602: error: ‘gchar’ undeclared (first use in this function)
      loadusb.c:602: error: ‘usr_prog_name’ undeclared (first use in this function)
      loadusb.c:603: error: ‘watch_file’ undeclared (first use in this function)
      loadusb.c:604: error: ‘GSList’ undeclared (first use in this function)
      loadusb.c:604: error: ‘watch_list’ undeclared (first use in this function)
      loadusb.c:606: error: ‘TRUE’ undeclared (first use in this function)
      loadusb.c: At top level:
      loadusb.c:836: error: expected ‘)’ before ‘’ token
      loadusb.c: In function ‘mem_write’:
      loadusb.c:893: error: expected expression before ‘unsigned’
      loadusb.c:893: warning: assignment makes pointer from integer without a cast
      loadusb.c:1014: error: expected expression before ‘unsigned’
      loadusb.c:1014: warning: assignment makes pointer from integer without a cast
      loadusb.c:1057: error: expected expression before ‘unsigned’
      loadusb.c:1057: warning: assignment makes pointer from integer without a cast
      loadusb.c: In function ‘__clock’:
      loadusb.c:1192: error: ‘stdscr’ undeclared (first use in this function)
      loadusb.c: In function ‘terminal’:
      loadusb.c:1279: error: ‘stdscr’ undeclared (first use in this function)
      loadusb.c:1279: error: ‘TRUE’ undeclared (first use in this function)
      loadusb.c: In function ‘control’:
      loadusb.c:1434: error: ‘stdscr’ undeclared (first use in this function)
      loadusb.c:1476: error: ‘ERR’ undeclared (first use in this function)
      make:
      ** [loadusb] Error 1

      Any suggestions?

      Thanks!
      GWClark

       
      • Percy Zahl

        Percy Zahl - 2007-05-08

        Hi!
        please make sure you do also have the ncurses-dev (or alike) package installed. The -dev (development) packages are containing the missing header files.

        -PZ

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.