Menu

error compiling on amd64

Help
fresneda
2005-11-04
2013-03-08
  • fresneda

    fresneda - 2005-11-04

    Hi, I just tried to compile gacxtool-0.1.0 on a debian sarge on an amd64 architecture, but compilation exits with
    cd . \   && CONFIG_FILES= CONFIG_HEADERS=config.h \      /bin/sh ./config.status
    config.status: creating config.h
    config.status: config.h is unchanged
    config.status: executing default-1 commands
    config.status: executing default-2 commands
    make  all-recursive
    make[1]: Entering directory `/home/fresneda/gacxtool-0.1.0'
    Making all in src
    make[2]: Entering directory `/home/fresneda/gacxtool-0.1.0/src'
    source='main.c' object='main.o' libtool=no \ depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DGACXTOOL_MAJOR=0 -DGACXTOOL_MINOR=1 -DGACXTOOL_MICRO=0 -DXTHREADS -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include      -g -O2 -c `test -f main.c || echo './'`main.c
    main.c: In function `main':
    main.c:83: error: `optreset' undeclared (first use in this function)
    main.c:83: error: (Each undeclared identifier is reported only once
    main.c:83: error: for each function it appears in.)
    make[2]: *** [main.o] Error 1
    make[2]: Leaving directory `/home/fresneda/gacxtool-0.1.0/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/fresneda/gacxtool-0.1.0'
    make: *** [all] Error 2

    The kernel version is 2.6.13.
    Hope it helps.

     
    • Leonid Zolotarev

      Hi,

      You, probably, need CVS version to be able to compile on linux. I've added some linux support while ago but it is still limited.

      Regards,
      Leonid.

       

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.