Announcement

Collapse
No announcement yet.

kslide - GNAT error -new

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    kslide - GNAT error -new

    ok, change this whole thread.

    I seem to figure out by the error it needs GNAT. but how do you make with GNAT?

    here is the compile after ./configure went through with no error.

    michelle@krynn:~/kslide-1.0$ make
    make all-recursive
    make[1]: Entering directory `/home/michelle/kslide-1.0'
    Making all in kslide
    make[2]: Entering directory `/home/michelle/kslide-1.0/kslide'
    Making all in pics
    make[3]: Entering directory `/home/michelle/kslide-1.0/kslide/pics'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/michelle/kslide-1.0/kslide/pics'
    make[3]: Entering directory `/home/michelle/kslide-1.0/kslide'
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -fno-common -MT puz_app.o -MD -MP -MF ".deps/puz_app.Tpo" \
    -c -o puz_app.o `test -f 'puz_app.cpp' || echo './'`puz_app.cpp; \
    then mv ".deps/puz_app.Tpo" ".deps/puz_app.Po"; \
    else rm -f ".deps/puz_app.Tpo"; exit 1; \
    fi
    cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++
    puz_app.cpp:113: error: extra ‘;’
    puz_app.cpp:114: error: extra ‘;’
    puz_app.cpp:115: error: extra ‘;’
    puz_app.cpp:116: error: extra ‘;’
    puz_app.cpp:117: error: extra ‘;’
    puz_app.cpp:118: error: extra ‘;’
    puz_app.cpp:119: error: extra ‘;’
    puz_app.cpp:120: error: extra ‘;’
    puz_app.cpp:121: error: extra ‘;’
    puz_app.cpp:122: error: extra ‘;’
    puz_app.cpp: In member function ‘void KSlideApp::help()’:
    puz_app.cpp:154: warning: ‘invokeHTMLHelp’ is deprecated (declared at /usr/include/kde/kapplication.h:471)
    puz_app.cpp: At global scope:
    puz_app.cpp:157: warning: unused parameter ‘enable’
    make[3]: *** [puz_app.o] Error 1
    make[3]: Leaving directory `/home/michelle/kslide-1.0/kslide'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/michelle/kslide-1.0/kslide'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/michelle/kslide-1.0'
    make: *** [all] Error 2
    michelle@krynn:~/kslide-1.0$


    As you can see with this error
    "cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++" it needs ADA which from research says its GNAT.

    But how do I MAKE with GNAT GCC. I am lost.

    Anyone know the answer??

    #2
    Re: kslide - GNAT error -new

    Originally posted by michellembrodeur
    ok, change this whole thread.

    I seem to figure out by the error it needs GNAT. but how do you make with GNAT?

    here is the compile after ./configure went through with no error.

    michelle@krynn:~/kslide-1.0$ make
    make all-recursive
    make[1]: Entering directory `/home/michelle/kslide-1.0'
    Making all in kslide
    make[2]: Entering directory `/home/michelle/kslide-1.0/kslide'
    Making all in pics
    make[3]: Entering directory `/home/michelle/kslide-1.0/kslide/pics'
    make[3]: Nothing to be done for `all'.
    make[3]: Leaving directory `/home/michelle/kslide-1.0/kslide/pics'
    make[3]: Entering directory `/home/michelle/kslide-1.0/kslide'
    if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/kde -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -fno-exceptions -fno-check-new -fno-common -MT puz_app.o -MD -MP -MF ".deps/puz_app.Tpo" \
    -c -o puz_app.o `test -f 'puz_app.cpp' || echo './'`puz_app.cpp; \
    then mv ".deps/puz_app.Tpo" ".deps/puz_app.Po"; \
    else rm -f ".deps/puz_app.Tpo"; exit 1; \
    fi
    cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++
    puz_app.cpp:113: error: extra ‘;’
    puz_app.cpp:114: error: extra ‘;’
    puz_app.cpp:115: error: extra ‘;’
    puz_app.cpp:116: error: extra ‘;’
    puz_app.cpp:117: error: extra ‘;’
    puz_app.cpp:118: error: extra ‘;’
    puz_app.cpp:119: error: extra ‘;’
    puz_app.cpp:120: error: extra ‘;’
    puz_app.cpp:121: error: extra ‘;’
    puz_app.cpp:122: error: extra ‘;’
    puz_app.cpp: In member function ‘void KSlideApp::help()’:
    puz_app.cpp:154: warning: ‘invokeHTMLHelp’ is deprecated (declared at /usr/include/kde/kapplication.h:471)
    puz_app.cpp: At global scope:
    puz_app.cpp:157: warning: unused parameter ‘enable’
    make[3]: *** [puz_app.o] Error 1
    make[3]: Leaving directory `/home/michelle/kslide-1.0/kslide'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/michelle/kslide-1.0/kslide'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/michelle/kslide-1.0'
    make: *** [all] Error 2
    michelle@krynn:~/kslide-1.0$


    As you can see with this error
    "cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++" it needs ADA which from research says its GNAT.

    But how do I MAKE with GNAT GCC. I am lost.

    Anyone know the answer??
    anyone at all??

    Comment

    Working...
    X