Same problem here with avifile 0.7.38. I seems that gcc 3.3.2 has an
exit function and the configure test program tries to implement it's own
version. I just hacked the configure program and removed the lines that
redefined the exit operations. 

Lines 10232 to 10235 that read
#ifdef __cplusplus
extern "C" void exit(int);
#endif

AviFile now compiles just fine.

On Sun, 2004-03-21 at 14:08, Hans Wurst wrote: 
> Hi,
> I have just tried in vain to install avifile-0.7-0.7.38
> See below for the result of ./configure.
> I am on a PC running redhat 9.
> LD_LIBRARY_PATH=/usr/lib/qt-3.1/lib
> gcc version: 3.2.2 (Red Hat Linux 3.2.2-5)
> Do you have a clou what might go wrong? Shall I stick with an elder version?
> I am using qt for development and have no problems with it (so far).
> Regards and thanks a lot
> Harald
> ---------
> ================================
> [EMAIL PROTECTED] avifile-0.7-0.7.38]$ ./configure
> creating cache ./config.cache
> avifile configure options:
> checking host system type... i686-pc-linux-gnu

<snip/>

> checking for DPMSQueryExtension in -lXdpms... no
> checking for main in -lqt-mt... no
> checking for Qt library (version >= 200)... no
> configure: warning:
> *** Could not run Qt test program, checking why...
> *** Configure discovered/uses these settings:
> *** Qt libraries: /usr/lib/qt-3.1/lib
> *** Qt headers: /usr/lib/qt-3.1/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=/usr/lib/qt-3.1/lib:$LD_LIBRARY_PATH

Roy Souther
Open Support Guild
Bringing Open concepts to IT support
www.OsGuild.com

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to