same problem with new autoconf as well

[EMAIL PROTECTED]:/x/avifile-0.7.38$ autoconf -V
autoconf (GNU Autoconf) 2.57
Written by David J. MacKenzie and Akim Demaille.

System Hardware:
    CPU Type: Intel(R) Pentium(R)
   CPU Speed: 2605.943 MHz
         Ram: 2021 MB
        Swap: 4095 MB

System Software:
   audiofile: 0.2.3
    autoconf: 2.57
    automake: 1.7.6
    binutils: 2.14
   e2fsprogs: 1.33
      esound: 0.2.29
         gcc: 3.3
     gettext: 0.12.1
       glibc: 2.3.1
        glib: 1.2.10
  gnome-libs: 1.4.1.7
         gtk: 1.2.10
       imlib: 1.9.14
      kernel: 2.4.21
     libtool: 1.5
    modutils: 2.4.22
     openssl: 0.9.7b
       orbit: 0.5.17
   orbit-idl: 0.6.8
        perl: 5.8.0
          qt: 3.1.2
         rpm: 4.0.2
         sdl: 1.2.5
  util-linux: 2.11z
     xfree86: 4.3.0
        xml2: 2.5.8
         xml: 1.8.17

Copyright 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
[EMAIL PROTECTED]:/x/avifile-0.7.38$

checking for DPMSQueryExtension in -lXdpms... no
checking for main in -lqt-mt... yes
checking for Qt library (version >= 200)... no
configure: warning:
*** Could not run Qt test program, checking why...
*** Configure discovered/uses these settings:
*** Qt libraries: /app/qt-3.1.2/lib
*** Qt headers: /app/qt-3.1.2/include
*** Note:
***    Compilation of Qt utilities also might be turned off (if not
wanted).
***    If you are experiencing problems which will not be described
***    bellow please report then on '[EMAIL PROTECTED]' mailing list
***    (i.e. some misdetection or omitted path)

configure: error:
*** Qt test program compiled, but did not run. This usually means
*** that the run-time linker is not finding Qt library or finding the
wrong
*** version of Qt. If it is not finding Qt, you will need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location  Also, make sure you have run ldconfig if
that
*** is required on your system.
***
*** If you have an old version installed, it is best to remove it,
although
*** you may also be able to get things to work by modifying
LD_LIBRARY_PATH
***
*** i.e. bash> export LD_LIBRARY_PATH=/app/qt-3.1.2/lib:$LD_LIBRARY_PATH
[EMAIL PROTECTED]:/x/avifile-0.7.38$

configure: failed program was:
#line 9906 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char DPMSQueryExtension();

int main() {
DPMSQueryExtension()
; return 0; }
configure:10103: checking for main in -lqt-mt
configure:10118: gcc -o conftest -g -O0 -mcpu=i686 -march=i686 -ffast-math
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -pipe  -Wall -Wno-unused  conftest.c -lqt-mt
-L/app/qt-3.1.2/lib -lnsl -ldl  -lpthread 1>&5
configure:10209: checking for Qt library (version >= 200)
configure:10255: c++ -o conftest -g -O0 -mcpu=i686 -march=i686 -ffast-math
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -pipe -I/app/qt-3.1.2/include  -Wall -Wno-unused  conftest.C
-L/app/qt-3.1.2/lib -lqt-mt  -L/usr/X11R6/lib  -lSM -lICE -lXinerama -lXv
-lXxf86vm -lXxf86dga -lXi  -lXext -lX11  -lnsl -ldl  -lpthread 1>&5
In file included from /vapp/include/c++/3.3/cstdlib:52,
                 from /vapp/include/c++/3.3/bits/stl_algobase.h:67,
                 from /vapp/include/c++/3.3/memory:54,
                 from /vapp/include/c++/3.3/string:48,
                 from /app/qt-3.1.2/include/qstring.h:46,
                 from configure:10238:
/usr/include/stdlib.h:610: error: declaration of `void exit(int) throw ()'
   throws different exceptions
configure:10233: error: than previous declaration `void exit(int)'
configure: failed program was:
#line 10231 "configure"
#include "confdefs.h"
#ifdef __cplusplus
extern "C" void exit(int);
#endif

            /*#include <qapplication.h>*/
            /*#include <qmovie.h>*/
            #include <qstring.h>
            #include <qglobal.h>
            #include <stdio.h>

            int main(int argc, char* argv[]) {
                /*QApplication a( argc, argv );*/
                /*QMovie m; int s = m.speed();*/
                QString qa("test");
                unsigned int v = QT_VERSION;
                FILE* f = fopen("conf.qttest", "w");
                if (v > 400) v = (((v >> 16) & 0xff) * 100) + (((v >> 8) &
0xff) * 10) + (v & 0xff);
                if (f) fprintf(f, "%d\n", v);
                return 0;
            }

configure:10288: c++ -o conftest -g -O0 -mcpu=i686 -march=i686 -ffast-math
-fomit-frame-pointer -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-D_GNU_SOURCE -pipe -I/app/qt-3.1.2/include  -Wall -Wno-unused  conftest.C
-L/app/qt-3.1.2/lib -lqt-mt  -L/usr/X11R6/lib  -lSM -lICE -lXinerama -lXv
-lXxf86vm -lXxf86dga -lXi  -lXext -lX11  -lnsl -ldl  -lpthread 1>&5



On Wed, 23 Jul 2003, Zdenek Kabelac wrote:

> On Tue, Jul 22, 2003 at 12:35:13PM -0400, Justin Piszcz wrote:
> > i think it is your test progrma does not work with GCC-3.3?
> >
>                   from configure:10238:
> > /usr/include/stdlib.h:610: error: declaration of `void exit(int) throw ()'
> >    throws different exceptions
> > configure:10233: error: than previous declaration `void exit(int)'
> > configure: failed program was:
> > #line 10231 "configure"
> > #include "confdefs.h"
> > #ifdef __cplusplus
> > extern "C" void exit(int);
> > #endif
> >
>
> Ahh - this is known issue of the problem with old autotools - are you using
> version autoconf2.13 ?
>
> there are three files in this tool:
>
> $ rgrep "extern \"C\" void exit(int)" .
> ./autoheader.m4f:extern "C" void exit(int);
> ./autoconf.m4f:extern "C" void exit(int);
> ./acgeneral.m4:extern "C" void exit(int);
>
> which do contain this wrong declaration - so you either should
> replace it with new definition (append throw() )
> or use newer  autoconf2.5x
>
> --
>   .''`.
>  : :' :    Zdenek Kabelac  [EMAIL PROTECTED], users.sf.net, fi.muni.cz}
>  `. `'           Debian GNU/Linux maintainer - www.debian.{org,cz}
>    `-
>
> _______________________________________________
> Avifile mailing list
> [EMAIL PROTECTED]
> http://prak.org/mailman/listinfo/avifile
>

_______________________________________________
Avifile mailing list
[EMAIL PROTECTED]
http://prak.org/mailman/listinfo/avifile

Reply via email to